Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaListServingConfigsResponse
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaListServingConfigsResponse
- 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
-
#next_page_token ⇒ String
Pagination token, if not returned indicates the last page.
-
#serving_configs ⇒ Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaServingConfig>
All the ServingConfigs for a given catalog.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaListServingConfigsResponse
constructor
A new instance of GoogleCloudRetailV2alphaListServingConfigsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaListServingConfigsResponse
Returns a new instance of GoogleCloudRetailV2alphaListServingConfigsResponse.
4056 4057 4058 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4056 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Pagination token, if not returned indicates the last page.
Corresponds to the JSON property nextPageToken
4049 4050 4051 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4049 def next_page_token @next_page_token end |
#serving_configs ⇒ Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaServingConfig>
All the ServingConfigs for a given catalog.
Corresponds to the JSON property servingConfigs
4054 4055 4056 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4054 def serving_configs @serving_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4061 4062 4063 4064 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4061 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 |