Class: Google::Apis::RetailV2::GoogleCloudRetailV2ExperimentInfo
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2::GoogleCloudRetailV2ExperimentInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2/classes.rb,
lib/google/apis/retail_v2/representations.rb,
lib/google/apis/retail_v2/representations.rb
Overview
Metadata for active A/B testing Experiments.
Instance Attribute Summary collapse
-
#experiment_name ⇒ String
The fully qualified resource name of the experiment that provides the serving config under test, should an active experiment exist.
-
#serving_config_experiment ⇒ Google::Apis::RetailV2::GoogleCloudRetailV2ExperimentInfoServingConfigExperiment
Metadata for active serving config A/B tests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2ExperimentInfo
constructor
A new instance of GoogleCloudRetailV2ExperimentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2ExperimentInfo
Returns a new instance of GoogleCloudRetailV2ExperimentInfo.
1290 1291 1292 |
# File 'lib/google/apis/retail_v2/classes.rb', line 1290 def initialize(**args) update!(**args) end |
Instance Attribute Details
#experiment_name ⇒ String
The fully qualified resource name of the experiment that provides the serving
config under test, should an active experiment exist. For example: projects/*/
locations/global/catalogs/default_catalog/experiments/experiment_id
Corresponds to the JSON property experimentName
1283 1284 1285 |
# File 'lib/google/apis/retail_v2/classes.rb', line 1283 def experiment_name @experiment_name end |
#serving_config_experiment ⇒ Google::Apis::RetailV2::GoogleCloudRetailV2ExperimentInfoServingConfigExperiment
Metadata for active serving config A/B tests.
Corresponds to the JSON property servingConfigExperiment
1288 1289 1290 |
# File 'lib/google/apis/retail_v2/classes.rb', line 1288 def serving_config_experiment @serving_config_experiment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1295 1296 1297 1298 |
# File 'lib/google/apis/retail_v2/classes.rb', line 1295 def update!(**args) @experiment_name = args[:experiment_name] if args.key?(:experiment_name) @serving_config_experiment = args[:serving_config_experiment] if args.key?(:serving_config_experiment) end |