Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListCollectionsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListCollectionsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaListCollectionsResponse.

[View source]

11991
11992
11993
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11991

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#collectionsArray<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_tokenString

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

Returns:

  • (String)

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

[View source]

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