Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExperimentInfo
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExperimentInfo
- 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 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::RetailV2alpha::GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment
Metadata for active serving config A/B tests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaExperimentInfo
constructor
A new instance of GoogleCloudRetailV2alphaExperimentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaExperimentInfo
Returns a new instance of GoogleCloudRetailV2alphaExperimentInfo.
2856 2857 2858 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2856 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
2849 2850 2851 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2849 def experiment @experiment end |
#serving_config_experiment ⇒ Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment
Metadata for active serving config A/B tests.
Corresponds to the JSON property servingConfigExperiment
2854 2855 2856 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2854 def serving_config_experiment @serving_config_experiment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2861 2862 2863 2864 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2861 def update!(**args) @experiment = args[:experiment] if args.key?(:experiment) @serving_config_experiment = args[:serving_config_experiment] if args.key?(:serving_config_experiment) end |