Google Cloud Retail V2 Client - Class ServingConfigExperiment (1.3.1)

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
NameDescription
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 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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getExperimentServingConfig

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

Returns
TypeDescription
string

setExperimentServingConfig

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this