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.
5774 5775 5776 |
# File 'lib/google/apis/chat_v1/classes.rb', line 5774 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
5772 5773 5774 |
# File 'lib/google/apis/chat_v1/classes.rb', line 5772 def @attachment_data_ref end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5779 5780 5781 |
# File 'lib/google/apis/chat_v1/classes.rb', line 5779 def update!(**args) @attachment_data_ref = args[:attachment_data_ref] if args.key?(:attachment_data_ref) end |