Cloud AutoML V1beta1 Client - Class OperationMetadata (1.6.0)

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

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

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

Namespace

Google \ Cloud \ AutoMl \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ delete_details Google\Cloud\AutoMl\V1beta1\DeleteOperationMetadata

Details of a Delete operation.

↳ deploy_model_details Google\Cloud\AutoMl\V1beta1\DeployModelOperationMetadata

Details of a DeployModel operation.

↳ undeploy_model_details Google\Cloud\AutoMl\V1beta1\UndeployModelOperationMetadata

Details of an UndeployModel operation.

↳ create_model_details Google\Cloud\AutoMl\V1beta1\CreateModelOperationMetadata

Details of CreateModel operation.

↳ import_data_details Google\Cloud\AutoMl\V1beta1\ImportDataOperationMetadata

Details of ImportData operation.

↳ batch_predict_details Google\Cloud\AutoMl\V1beta1\BatchPredictOperationMetadata

Details of BatchPredict operation.

↳ export_data_details Google\Cloud\AutoMl\V1beta1\ExportDataOperationMetadata

Details of ExportData operation.

↳ export_model_details Google\Cloud\AutoMl\V1beta1\ExportModelOperationMetadata

Details of ExportModel operation.

↳ export_evaluated_examples_details Google\Cloud\AutoMl\V1beta1\ExportEvaluatedExamplesOperationMetadata

Details of ExportEvaluatedExamples 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\V1beta1\DeleteOperationMetadata|null

hasDeleteDetails

setDeleteDetails

Details of a Delete operation.

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

getDeployModelDetails

Details of a DeployModel operation.

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

hasDeployModelDetails

setDeployModelDetails

Details of a DeployModel operation.

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

getUndeployModelDetails

Details of an UndeployModel operation.

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

hasUndeployModelDetails

setUndeployModelDetails

Details of an UndeployModel operation.

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

getCreateModelDetails

Details of CreateModel operation.

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

hasCreateModelDetails

setCreateModelDetails

Details of CreateModel operation.

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

getImportDataDetails

Details of ImportData operation.

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

hasImportDataDetails

setImportDataDetails

Details of ImportData operation.

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

getBatchPredictDetails

Details of BatchPredict operation.

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

hasBatchPredictDetails

setBatchPredictDetails

Details of BatchPredict operation.

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

getExportDataDetails

Details of ExportData operation.

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

hasExportDataDetails

setExportDataDetails

Details of ExportData operation.

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

getExportModelDetails

Details of ExportModel operation.

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

hasExportModelDetails

setExportModelDetails

Details of ExportModel operation.

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

getExportEvaluatedExamplesDetails

Details of ExportEvaluatedExamples operation.

Returns
TypeDescription
Google\Cloud\AutoMl\V1beta1\ExportEvaluatedExamplesOperationMetadata|null

hasExportEvaluatedExamplesDetails

setExportEvaluatedExamplesDetails

Details of ExportEvaluatedExamples operation.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1beta1\ExportEvaluatedExamplesOperationMetadata
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