Sha256: 7a018fbd2f701d84fe1404e2c31ae04a75ddb861cdc3f7d8c5eca6327b88a62a

Contents?: true

Size: 1.87 KB

Versions: 9

Compression:

Stored size: 1.87 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.
          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

9 entries across 9 versions & 1 rubygems

Version Path
google-apps-chat-v1-0.6.0 proto_docs/google/chat/v1/deletion_metadata.rb
google-apps-chat-v1-0.5.1 proto_docs/google/chat/v1/deletion_metadata.rb
google-apps-chat-v1-0.5.0 proto_docs/google/chat/v1/deletion_metadata.rb
google-apps-chat-v1-0.4.0 proto_docs/google/chat/v1/deletion_metadata.rb
google-apps-chat-v1-0.3.1 proto_docs/google/chat/v1/deletion_metadata.rb
google-apps-chat-v1-0.3.0 proto_docs/google/chat/v1/deletion_metadata.rb
google-apps-chat-v1-0.2.0 proto_docs/google/chat/v1/deletion_metadata.rb
google-apps-chat-v1-0.1.2 proto_docs/google/chat/v1/deletion_metadata.rb
google-apps-chat-v1-0.1.0 proto_docs/google/chat/v1/deletion_metadata.rb