Google Cloud Retail V2 Client - Class ExperimentInfo (2.3.0)

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 \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ serving_config_experiment
ExperimentInfo\ServingConfigExperiment

A/B test between existing Cloud Retail Search ServingConfig s.

↳ 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

getServingConfigExperiment

A/B test between existing Cloud Retail Search ServingConfig s.

Returns
Type
Description

hasServingConfigExperiment

setServingConfigExperiment

A/B test between existing Cloud Retail Search ServingConfig s.

Parameter
Name
Description
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
Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: