Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaListServingConfigsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaListServingConfigsResponse

Returns a new instance of GoogleCloudRetailV2betaListServingConfigsResponse.



4916
4917
4918
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4916

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)


4909
4910
4911
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4909

def next_page_token
  @next_page_token
end

#serving_configsArray<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaServingConfig>

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



4914
4915
4916
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4914

def serving_configs
  @serving_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4921
4922
4923
4924
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4921

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