Cloud AutoML V1 Client - Class OperationMetadata (1.4.17)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Cloud\AutoMl\V1\DeleteOperationMetadata|null

hasDeleteDetails

setDeleteDetails

Details of a Delete operation.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\DeleteOperationMetadata
Returns
TypeDescription
$this

getDeployModelDetails

Details of a DeployModel operation.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\DeployModelOperationMetadata|null

hasDeployModelDetails

setDeployModelDetails

Details of a DeployModel operation.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\DeployModelOperationMetadata
Returns
TypeDescription
$this

getUndeployModelDetails

Details of an UndeployModel operation.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\UndeployModelOperationMetadata|null

hasUndeployModelDetails

setUndeployModelDetails

Details of an UndeployModel operation.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\UndeployModelOperationMetadata
Returns
TypeDescription
$this

getCreateModelDetails

Details of CreateModel operation.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\CreateModelOperationMetadata|null

hasCreateModelDetails

setCreateModelDetails

Details of CreateModel operation.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\CreateModelOperationMetadata
Returns
TypeDescription
$this

getCreateDatasetDetails

Details of CreateDataset operation.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\CreateDatasetOperationMetadata|null

hasCreateDatasetDetails

setCreateDatasetDetails

Details of CreateDataset operation.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\CreateDatasetOperationMetadata
Returns
TypeDescription
$this

getImportDataDetails

Details of ImportData operation.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\ImportDataOperationMetadata|null

hasImportDataDetails

setImportDataDetails

Details of ImportData operation.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\ImportDataOperationMetadata
Returns
TypeDescription
$this

getBatchPredictDetails

Details of BatchPredict operation.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata|null

hasBatchPredictDetails

setBatchPredictDetails

Details of BatchPredict operation.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata
Returns
TypeDescription
$this

getExportDataDetails

Details of ExportData operation.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\ExportDataOperationMetadata|null

hasExportDataDetails

setExportDataDetails

Details of ExportData operation.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\ExportDataOperationMetadata
Returns
TypeDescription
$this

getExportModelDetails

Details of ExportModel operation.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\ExportModelOperationMetadata|null

hasExportModelDetails

setExportModelDetails

Details of ExportModel operation.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\ExportModelOperationMetadata
Returns
TypeDescription
$this

getProgressPercent

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

Not used currently.

Returns
TypeDescription
int

setProgressPercent

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

Not used currently.

Parameter
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array<Google\Rpc\Status>
Returns
TypeDescription
$this

getCreateTime

Output only. Time when the operation was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time when the operation was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getDetails

Returns
TypeDescription
string