Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListServingConfigsResponse

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 for ListServingConfigs method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListServingConfigsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaListServingConfigsResponse.



4208
4209
4210
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4208

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

Instance Attribute Details

#next_page_tokenString

Pagination token, if not returned indicates the last page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4201
4202
4203
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4201

def next_page_token
  @next_page_token
end

#serving_configsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig>

All the ServingConfigs for a given dataStore. Corresponds to the JSON property servingConfigs



4206
4207
4208
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4206

def serving_configs
  @serving_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4213
4214
4215
4216
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4213

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