Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaListServingConfigsResponse
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaListServingConfigsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/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::RetailV2beta::GoogleCloudRetailV2betaServingConfig>
All the ServingConfigs for a given catalog.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaListServingConfigsResponse
constructor
A new instance of GoogleCloudRetailV2betaListServingConfigsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaListServingConfigsResponse
Returns a new instance of GoogleCloudRetailV2betaListServingConfigsResponse.
2845 2846 2847 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2845 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
2838 2839 2840 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2838 def next_page_token @next_page_token end |
#serving_configs ⇒ Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaServingConfig>
All the ServingConfigs for a given catalog.
Corresponds to the JSON property servingConfigs
2843 2844 2845 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2843 def serving_configs @serving_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2850 2851 2852 2853 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2850 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 |