Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment
- 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
Metadata for active serving config A/B tests.
Instance Attribute Summary collapse
-
#experiment_serving_config ⇒ String
The fully qualified resource name of the serving config Experiment.VariantArm.
-
#original_serving_config ⇒ String
The fully qualified resource name of the original SearchRequest.placement in the search request prior to reassignment by experiment API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment
constructor
A new instance of GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment
Returns a new instance of GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment.
2885 2886 2887 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2885 def initialize(**args) update!(**args) end |
Instance Attribute Details
#experiment_serving_config ⇒ String
The fully qualified resource name of the serving config Experiment.VariantArm.
serving_config_id responsible for generating the search response. For example:
projects/*/locations/*/catalogs/*/servingConfigs/*
.
Corresponds to the JSON property experimentServingConfig
2876 2877 2878 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2876 def experiment_serving_config @experiment_serving_config end |
#original_serving_config ⇒ String
The fully qualified resource name of the original SearchRequest.placement in
the search request prior to reassignment by experiment API. For example:
projects/*/locations/*/catalogs/*/servingConfigs/*
.
Corresponds to the JSON property originalServingConfig
2883 2884 2885 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2883 def original_serving_config @original_serving_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2890 2891 2892 2893 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2890 def update!(**args) @experiment_serving_config = args[:experiment_serving_config] if args.key?(:experiment_serving_config) @original_serving_config = args[:original_serving_config] if args.key?(:original_serving_config) end |