Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class CustomTuningModel.
Metadata that describes a custom tuned model.
Generated from protobuf message google.cloud.discoveryengine.v1.CustomTuningModel
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The fully qualified resource name of the model. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}
. Model must be an alpha-numerical string with limit of 40 characters.
↳ display_name
string
The display name of the model.
↳ model_version
int|string
The version of the model.
↳ model_state
int
The state that the model is in (e.g. TRAINING
or TRAINING_FAILED
).
↳ create_time
↳ training_start_time
↳ metrics
↳ error_message
string
Currently this is only populated if the model state is INPUT_VALIDATION_FAILED
.
getName
Required. The fully qualified resource name of the model.
Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}
.
Model must be an alpha-numerical string with limit of 40 characters.
string
setName
Required. The fully qualified resource name of the model.
Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}
.
Model must be an alpha-numerical string with limit of 40 characters.
var
string
$this
getDisplayName
The display name of the model.
string
setDisplayName
The display name of the model.
var
string
$this
getModelVersion
The version of the model.
int|string
setModelVersion
The version of the model.
var
int|string
$this
getModelState
The state that the model is in (e.g. TRAINING
or TRAINING_FAILED
).
int
setModelState
The state that the model is in (e.g. TRAINING
or TRAINING_FAILED
).
var
int
$this
getCreateTime
Deprecated: Timestamp the Model was created at.
hasCreateTime
clearCreateTime
setCreateTime
Deprecated: Timestamp the Model was created at.
$this
getTrainingStartTime
Timestamp the model training was initiated.
hasTrainingStartTime
clearTrainingStartTime
setTrainingStartTime
Timestamp the model training was initiated.
$this
getMetrics
The metrics of the trained model.
setMetrics
The metrics of the trained model.
$this
getErrorMessage
Currently this is only populated if the model state is INPUT_VALIDATION_FAILED
.
string
setErrorMessage
Currently this is only populated if the model state is INPUT_VALIDATION_FAILED
.
var
string
$this