Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExperimentInfo
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExperimentInfo
- 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
Metadata for active A/B testing Experiment.
Instance Attribute Summary collapse
-
#experiment ⇒ 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::RetailV2beta::GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment
Metadata for active serving config A/B tests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaExperimentInfo
constructor
A new instance of GoogleCloudRetailV2betaExperimentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaExperimentInfo
Returns a new instance of GoogleCloudRetailV2betaExperimentInfo.
3268 3269 3270 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3268 def initialize(**args) update!(**args) end |
Instance Attribute Details
#experiment ⇒ 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 experiment
3261 3262 3263 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3261 def experiment @experiment end |
#serving_config_experiment ⇒ Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment
Metadata for active serving config A/B tests.
Corresponds to the JSON property servingConfigExperiment
3266 3267 3268 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3266 def serving_config_experiment @serving_config_experiment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3273 3274 3275 3276 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3273 def update!(**args) @experiment = args[:experiment] if args.key?(:experiment) @serving_config_experiment = args[:serving_config_experiment] if args.key?(:serving_config_experiment) end |