Class: Google::Apis::CloudsupportV2::ListAttachmentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2::ListAttachmentsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2/classes.rb,
lib/google/apis/cloudsupport_v2/representations.rb,
lib/google/apis/cloudsupport_v2/representations.rb
Overview
The response message for the ListAttachments endpoint.
Instance Attribute Summary collapse
-
#attachments ⇒ Array<Google::Apis::CloudsupportV2::Attachment>
The list of attachments associated with a 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.
781 782 783 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 781 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attachments ⇒ Array<Google::Apis::CloudsupportV2::Attachment>
The list of attachments associated with a case.
Corresponds to the JSON property attachments
772 773 774 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 772 def @attachments end |
#next_page_token ⇒ String
A token to retrieve the next page of results. Set this 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
779 780 781 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 779 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
786 787 788 789 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 786 def update!(**args) @attachments = args[:attachments] if args.key?(:attachments) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |