Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaListServingConfigsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb

Overview

Response for ListServingConfigs method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaListServingConfigsResponse

Returns a new instance of GoogleCloudRetailV2alphaListServingConfigsResponse.



2907
2908
2909
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2907

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)


2900
2901
2902
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2900

def next_page_token
  @next_page_token
end

#serving_configsArray<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaServingConfig>

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



2905
2906
2907
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2905

def serving_configs
  @serving_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2912
2913
2914
2915
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2912

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