Reference documentation and code samples for the Google Cloud Retail V2 Client class ExperimentInfo.
Metadata for active A/B testing Experiment.
Generated from protobuf message google.cloud.retail.v2.ExperimentInfo
Namespace
Google \ Cloud \ Retail \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ serving_config_experiment |
Google\Cloud\Retail\V2\ExperimentInfo\ServingConfigExperiment
A/B test between existing Cloud Retail Search ServingConfigs. |
↳ experiment |
string
The fully qualified resource name of the experiment that provides the serving config under test, should an active experiment exist. For example: |
getServingConfigExperiment
A/B test between existing Cloud Retail Search ServingConfigs.
Returns | |
---|---|
Type | Description |
Google\Cloud\Retail\V2\ExperimentInfo\ServingConfigExperiment|null |
hasServingConfigExperiment
setServingConfigExperiment
A/B test between existing Cloud Retail Search ServingConfigs.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Retail\V2\ExperimentInfo\ServingConfigExperiment
|
Returns | |
---|---|
Type | Description |
$this |
getExperiment
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
Returns | |
---|---|
Type | Description |
string |
setExperiment
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
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getExperimentMetadata
Returns | |
---|---|
Type | Description |
string |