Cloud AutoML V1 Client - Class OperationMetadata (2.0.0)

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 Google\Cloud\AutoMl\V1\DeleteOperationMetadata

Details of a Delete operation.

↳ deploy_model_details Google\Cloud\AutoMl\V1\DeployModelOperationMetadata

Details of a DeployModel operation.

↳ undeploy_model_details Google\Cloud\AutoMl\V1\UndeployModelOperationMetadata

Details of an UndeployModel operation.

↳ create_model_details Google\Cloud\AutoMl\V1\CreateModelOperationMetadata

Details of CreateModel operation.

↳ create_dataset_details Google\Cloud\AutoMl\V1\CreateDatasetOperationMetadata

Details of CreateDataset operation.

↳ import_data_details Google\Cloud\AutoMl\V1\ImportDataOperationMetadata

Details of ImportData operation.

↳ batch_predict_details Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata

Details of BatchPredict operation.

↳ export_data_details Google\Cloud\AutoMl\V1\ExportDataOperationMetadata

Details of ExportData operation.

↳ export_model_details Google\Cloud\AutoMl\V1\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
Google\Cloud\AutoMl\V1\DeleteOperationMetadata|null

hasDeleteDetails

setDeleteDetails

Details of a Delete operation.

Parameter
Name Description
var Google\Cloud\AutoMl\V1\DeleteOperationMetadata
Returns
Type Description
$this

getDeployModelDetails

Details of a DeployModel operation.

Returns
Type Description
Google\Cloud\AutoMl\V1\DeployModelOperationMetadata|null

hasDeployModelDetails

setDeployModelDetails

Details of a DeployModel operation.

Parameter
Name Description
var Google\Cloud\AutoMl\V1\DeployModelOperationMetadata
Returns
Type Description
$this

getUndeployModelDetails

Details of an UndeployModel operation.

Returns
Type Description
Google\Cloud\AutoMl\V1\UndeployModelOperationMetadata|null

hasUndeployModelDetails

setUndeployModelDetails

Details of an UndeployModel operation.

Parameter
Name Description
var Google\Cloud\AutoMl\V1\UndeployModelOperationMetadata
Returns
Type Description
$this

getCreateModelDetails

Details of CreateModel operation.

Returns
Type Description
Google\Cloud\AutoMl\V1\CreateModelOperationMetadata|null

hasCreateModelDetails

setCreateModelDetails

Details of CreateModel operation.

Parameter
Name Description
var Google\Cloud\AutoMl\V1\CreateModelOperationMetadata
Returns
Type Description
$this

getCreateDatasetDetails

Details of CreateDataset operation.

Returns
Type Description
Google\Cloud\AutoMl\V1\CreateDatasetOperationMetadata|null

hasCreateDatasetDetails

setCreateDatasetDetails

Details of CreateDataset operation.

Parameter
Name Description
var Google\Cloud\AutoMl\V1\CreateDatasetOperationMetadata
Returns
Type Description
$this

getImportDataDetails

Details of ImportData operation.

Returns
Type Description
Google\Cloud\AutoMl\V1\ImportDataOperationMetadata|null

hasImportDataDetails

setImportDataDetails

Details of ImportData operation.

Parameter
Name Description
var Google\Cloud\AutoMl\V1\ImportDataOperationMetadata
Returns
Type Description
$this

getBatchPredictDetails

Details of BatchPredict operation.

Returns
Type Description
Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata|null

hasBatchPredictDetails

setBatchPredictDetails

Details of BatchPredict operation.

Parameter
Name Description
var Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata
Returns
Type Description
$this

getExportDataDetails

Details of ExportData operation.

Returns
Type Description
Google\Cloud\AutoMl\V1\ExportDataOperationMetadata|null

hasExportDataDetails

setExportDataDetails

Details of ExportData operation.

Parameter
Name Description
var Google\Cloud\AutoMl\V1\ExportDataOperationMetadata
Returns
Type Description
$this

getExportModelDetails

Details of ExportModel operation.

Returns
Type Description
Google\Cloud\AutoMl\V1\ExportModelOperationMetadata|null

hasExportModelDetails

setExportModelDetails

Details of ExportModel operation.

Parameter
Name Description
var Google\Cloud\AutoMl\V1\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