Sha256: 31d91bcf569524ab323301267454732bd6c66a97a532f76e1fd569be252d4259

Contents?: true

Size: 1.92 KB

Versions: 4

Compression:

Stored size: 1.92 KB

Contents

# frozen_string_literal: true

# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Auto-generated by gapic-generator-ruby. DO NOT EDIT!


module Google
  module Apps
    module Chat
      module V1
        # Information about a deleted message. A message is deleted when `delete_time`
        # is set.
        # @!attribute [rw] deletion_type
        #   @return [::Google::Apps::Chat::V1::DeletionMetadata::DeletionType]
        #     Indicates who deleted the message.
        class DeletionMetadata
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods

          # Who deleted the message and how it was deleted. More values may be added in
          # the future.
          module DeletionType
            # This value is unused.
            DELETION_TYPE_UNSPECIFIED = 0

            # User deleted their own message.
            CREATOR = 1

            # The space owner deleted the message.
            SPACE_OWNER = 2

            # A Google Workspace admin deleted the message.
            ADMIN = 3

            # A Chat app deleted its own message when it expired.
            APP_MESSAGE_EXPIRY = 4

            # A Chat app deleted the message on behalf of the user.
            CREATOR_VIA_APP = 5

            # A Chat app deleted the message on behalf of the space owner.
            SPACE_OWNER_VIA_APP = 6
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
google-apps-chat-v1-0.9.1 proto_docs/google/chat/v1/deletion_metadata.rb
google-apps-chat-v1-0.9.0 proto_docs/google/chat/v1/deletion_metadata.rb
google-apps-chat-v1-0.8.0 proto_docs/google/chat/v1/deletion_metadata.rb
google-apps-chat-v1-0.7.0 proto_docs/google/chat/v1/deletion_metadata.rb