Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListDataStoresResponse

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

Overview

Response message for DataStoreService.ListDataStores method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListDataStoresResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaListDataStoresResponse.



2461
2462
2463
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2461

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

Instance Attribute Details

#data_storesArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataStore>

All the customer's DataStores. Corresponds to the JSON property dataStores



2453
2454
2455
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2453

def data_stores
  @data_stores
end

#next_page_tokenString

A token that can be sent as ListDataStoresRequest.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)


2459
2460
2461
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2459

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2466
2467
2468
2469
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2466

def update!(**args)
  @data_stores = args[:data_stores] if args.key?(:data_stores)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end