Class: Google::Apis::ContentV2_1::ListCollectionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ListCollectionsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Response message for the ListCollections method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_tokento retrieve the next page. -
#resources ⇒ Array<Google::Apis::ContentV2_1::Collection>
The collections listed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListCollectionsResponse
constructor
A new instance of ListCollectionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListCollectionsResponse
Returns a new instance of ListCollectionsResponse.
4146 4147 4148 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4146 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
4139 4140 4141 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4139 def next_page_token @next_page_token end |
#resources ⇒ Array<Google::Apis::ContentV2_1::Collection>
The collections listed.
Corresponds to the JSON property resources
4144 4145 4146 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4144 def resources @resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4151 4152 4153 4154 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4151 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @resources = args[:resources] if args.key?(:resources) end |