Class: Google::Apis::CloudsupportV2beta::ListAttachmentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2beta::ListAttachmentsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2beta/classes.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb
Overview
The response message for the ListAttachments endpoint.
Instance Attribute Summary collapse
-
#attachments ⇒ Array<Google::Apis::CloudsupportV2beta::Attachment>
The list of attachments associated with the given case.
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAttachmentsResponse
constructor
A new instance of ListAttachmentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAttachmentsResponse
Returns a new instance of ListAttachmentsResponse.
751 752 753 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 751 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attachments ⇒ Array<Google::Apis::CloudsupportV2beta::Attachment>
The list of attachments associated with the given case.
Corresponds to the JSON property attachments
742 743 744 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 742 def @attachments end |
#next_page_token ⇒ String
A token to retrieve the next page of results. This should be set in the
page_token
field of subsequent cases.attachments.list
requests. If
unspecified, there are no more results to retrieve.
Corresponds to the JSON property nextPageToken
749 750 751 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 749 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
756 757 758 759 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 756 def update!(**args) @attachments = args[:attachments] if args.key?(:attachments) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |