Class: Google::Apis::ChatV1::UploadAttachmentResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb

Overview

Response of uploading an attachment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UploadAttachmentResponse

Returns a new instance of UploadAttachmentResponse.



5509
5510
5511
# File 'lib/google/apis/chat_v1/classes.rb', line 5509

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#attachment_data_refGoogle::Apis::ChatV1::AttachmentDataRef

A reference to the attachment data. Corresponds to the JSON property attachmentDataRef



5507
5508
5509
# File 'lib/google/apis/chat_v1/classes.rb', line 5507

def attachment_data_ref
  @attachment_data_ref
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5514
5515
5516
# File 'lib/google/apis/chat_v1/classes.rb', line 5514

def update!(**args)
  @attachment_data_ref = args[:attachment_data_ref] if args.key?(:attachment_data_ref)
end