Google Cloud Retail V2 Client - Class PeriodicTuningState (2.1.1)

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

Describes whether periodic tuning is enabled for this model or not. Periodic tuning is scheduled at most every three months. You can start a tuning process manually by using the TuneModel method, which starts a tuning process immediately and resets the quarterly schedule. Enabling or disabling periodic tuning does not affect any current tuning processes.

Protobuf type google.cloud.retail.v2.Model.PeriodicTuningState

Namespace

Google \ Cloud \ Retail \ V2 \ Model

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

PERIODIC_TUNING_STATE_UNSPECIFIED

Value: 0

Unspecified default value, should never be explicitly set.

Generated from protobuf enum PERIODIC_TUNING_STATE_UNSPECIFIED = 0;

PERIODIC_TUNING_DISABLED

Value: 1

The model has periodic tuning disabled. Tuning can be reenabled by calling the EnableModelPeriodicTuning method or by calling the TuneModel method.

Generated from protobuf enum PERIODIC_TUNING_DISABLED = 1;

ALL_TUNING_DISABLED

Value: 3

The model cannot be tuned with periodic tuning OR the TuneModel method. Hide the options in customer UI and reject any requests through the backend self serve API.

Generated from protobuf enum ALL_TUNING_DISABLED = 3;

PERIODIC_TUNING_ENABLED

Value: 2

The model has periodic tuning enabled. Tuning can be disabled by calling the DisableModelPeriodicTuning method.

Generated from protobuf enum PERIODIC_TUNING_ENABLED = 2;