Class: Google::Apis::ChatV1::UploadAttachmentResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::UploadAttachmentResponse
- 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
-
#attachment_data_ref ⇒ Google::Apis::ChatV1::AttachmentDataRef
A reference to the attachment data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UploadAttachmentResponse
constructor
A new instance of UploadAttachmentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UploadAttachmentResponse
Returns a new instance of UploadAttachmentResponse.
5393 5394 5395 |
# File 'lib/google/apis/chat_v1/classes.rb', line 5393 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attachment_data_ref ⇒ Google::Apis::ChatV1::AttachmentDataRef
A reference to the attachment data.
Corresponds to the JSON property attachmentDataRef
5391 5392 5393 |
# File 'lib/google/apis/chat_v1/classes.rb', line 5391 def @attachment_data_ref end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5398 5399 5400 |
# File 'lib/google/apis/chat_v1/classes.rb', line 5398 def update!(**args) @attachment_data_ref = args[:attachment_data_ref] if args.key?(:attachment_data_ref) end |