Cloud AutoML V1 Client - Class OperationMetadata (2.0.3)

Reference documentation and code samples for the Cloud AutoML V1 Client class OperationMetadata.

Metadata used across all long running operations returned by AutoML API.

Generated from protobuf message google.cloud.automl.v1.OperationMetadata

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ delete_details DeleteOperationMetadata

Details of a Delete operation.

↳ deploy_model_details DeployModelOperationMetadata

Details of a DeployModel operation.

↳ undeploy_model_details UndeployModelOperationMetadata

Details of an UndeployModel operation.

↳ create_model_details CreateModelOperationMetadata

Details of CreateModel operation.

↳ create_dataset_details CreateDatasetOperationMetadata

Details of CreateDataset operation.

↳ import_data_details ImportDataOperationMetadata

Details of ImportData operation.

↳ batch_predict_details BatchPredictOperationMetadata

Details of BatchPredict operation.

↳ export_data_details ExportDataOperationMetadata

Details of ExportData operation.

↳ export_model_details ExportModelOperationMetadata

Details of ExportModel operation.

↳ progress_percent int

Output only. Progress of operation. Range: [0, 100]. Not used currently.

↳ partial_failures array<Google\Rpc\Status>

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

↳ create_time Google\Protobuf\Timestamp

Output only. Time when the operation was created.

↳ update_time Google\Protobuf\Timestamp

Output only. Time when the operation was updated for the last time.

getDeleteDetails

Details of a Delete operation.

Returns
Type Description
DeleteOperationMetadata|null

hasDeleteDetails

setDeleteDetails

Details of a Delete operation.

Parameter
Name Description
var DeleteOperationMetadata
Returns
Type Description
$this

getDeployModelDetails

Details of a DeployModel operation.

Returns
Type Description
DeployModelOperationMetadata|null

hasDeployModelDetails

setDeployModelDetails

Details of a DeployModel operation.

Parameter
Name Description
var DeployModelOperationMetadata
Returns
Type Description
$this

getUndeployModelDetails

Details of an UndeployModel operation.

Returns
Type Description
UndeployModelOperationMetadata|null

hasUndeployModelDetails

setUndeployModelDetails

Details of an UndeployModel operation.

Parameter
Name Description
var UndeployModelOperationMetadata
Returns
Type Description
$this

getCreateModelDetails

Details of CreateModel operation.

Returns
Type Description
CreateModelOperationMetadata|null

hasCreateModelDetails

setCreateModelDetails

Details of CreateModel operation.

Parameter
Name Description
var CreateModelOperationMetadata
Returns
Type Description
$this

getCreateDatasetDetails

Details of CreateDataset operation.

Returns
Type Description
CreateDatasetOperationMetadata|null

hasCreateDatasetDetails

setCreateDatasetDetails

Details of CreateDataset operation.

Parameter
Name Description
var CreateDatasetOperationMetadata
Returns
Type Description
$this

getImportDataDetails

Details of ImportData operation.

Returns
Type Description
ImportDataOperationMetadata|null

hasImportDataDetails

setImportDataDetails

Details of ImportData operation.

Parameter
Name Description
var ImportDataOperationMetadata
Returns
Type Description
$this

getBatchPredictDetails

Details of BatchPredict operation.

Returns
Type Description
BatchPredictOperationMetadata|null

hasBatchPredictDetails

setBatchPredictDetails

Details of BatchPredict operation.

Parameter
Name Description
var BatchPredictOperationMetadata
Returns
Type Description
$this

getExportDataDetails

Details of ExportData operation.

Returns
Type Description
ExportDataOperationMetadata|null

hasExportDataDetails

setExportDataDetails

Details of ExportData operation.

Parameter
Name Description
var ExportDataOperationMetadata
Returns
Type Description
$this

getExportModelDetails

Details of ExportModel operation.

Returns
Type Description
ExportModelOperationMetadata|null

hasExportModelDetails

setExportModelDetails

Details of ExportModel operation.

Parameter
Name Description
var ExportModelOperationMetadata
Returns
Type Description
$this

getProgressPercent

Output only. Progress of operation. Range: [0, 100].

Not used currently.

Returns
Type Description
int

setProgressPercent

Output only. Progress of operation. Range: [0, 100].

Not used currently.

Parameter
Name Description
var int
Returns
Type Description
$this

getPartialFailures

Output only. Partial failures encountered.

E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPartialFailures

Output only. Partial failures encountered.

E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

Parameter
Name Description
var array<Google\Rpc\Status>
Returns
Type Description
$this

getCreateTime

Output only. Time when the operation was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time when the operation was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. Time when the operation was updated for the last time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Time when the operation was updated for the last time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getDetails

Returns
Type Description
string