Google Cloud Retail V2 Client - Class ServingConfigExperiment (1.7.0)

Reference documentation and code samples for the Google Cloud Retail V2 Client class ServingConfigExperiment.

Metadata for active serving config A/B tests.

Generated from protobuf message google.cloud.retail.v2.ExperimentInfo.ServingConfigExperiment

Namespace

Google \ Cloud \ Retail \ V2 \ ExperimentInfo

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ original_serving_config string

The fully qualified resource name of the original SearchRequest.placement in the search request prior to reassignment by experiment API. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

↳ experiment_serving_config string

The fully qualified resource name of the serving config Experiment.VariantArm.serving_config_id responsible for generating the search response. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

getOriginalServingConfig

The fully qualified resource name of the original SearchRequest.placement in the search request prior to reassignment by experiment API. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

Returns
Type Description
string

setOriginalServingConfig

The fully qualified resource name of the original SearchRequest.placement in the search request prior to reassignment by experiment API. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getExperimentServingConfig

The fully qualified resource name of the serving config Experiment.VariantArm.serving_config_id responsible for generating the search response. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

Returns
Type Description
string

setExperimentServingConfig

The fully qualified resource name of the serving config Experiment.VariantArm.serving_config_id responsible for generating the search response. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

Parameter
Name Description
var string
Returns
Type Description
$this