Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListCollectionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListCollectionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb more...
Overview
Response message for CollectionService.ListCollections method.
Instance Attribute Summary collapse
-
#collections ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCollection>
The Collections.
-
#next_page_token ⇒ String
A token that can be sent as ListCollectionsRequest.page_token to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListCollectionsResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaListCollectionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListCollectionsResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaListCollectionsResponse.
11991 11992 11993 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11991 def initialize(**args) update!(**args) end |
Instance Attribute Details
#collections ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCollection>
The Collections.
Corresponds to the JSON property collections
11983 11984 11985 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11983 def collections @collections end |
#next_page_token ⇒ String
A token that can be sent as ListCollectionsRequest.page_token to retrieve the
next page. If this field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
11989 11990 11991 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11989 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11996 11997 11998 11999 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11996 def update!(**args) @collections = args[:collections] if args.key?(:collections) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |