# Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::OperationMetadata (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.1 0.4.8 Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::OperationMetadata.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #batch_predict_details

    def batch_predict_details() -> ::Google::Cloud::AutoML::V1::BatchPredictOperationMetadata

**Returns**

- ([::Google::Cloud::AutoML::V1::BatchPredictOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-BatchPredictOperationMetadata)) --- Details of BatchPredict operation.


  Note: The following fields are mutually exclusive: `batch_predict_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #batch_predict_details=

    def batch_predict_details=(value) -> ::Google::Cloud::AutoML::V1::BatchPredictOperationMetadata

**Parameter**

- **value** ([::Google::Cloud::AutoML::V1::BatchPredictOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-BatchPredictOperationMetadata)) --- Details of BatchPredict operation.


  Note: The following fields are mutually exclusive: `batch_predict_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::AutoML::V1::BatchPredictOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-BatchPredictOperationMetadata)) --- Details of BatchPredict operation.


  Note: The following fields are mutually exclusive: `batch_predict_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #create_dataset_details

    def create_dataset_details() -> ::Google::Cloud::AutoML::V1::CreateDatasetOperationMetadata

**Returns**

- ([::Google::Cloud::AutoML::V1::CreateDatasetOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-CreateDatasetOperationMetadata)) --- Details of CreateDataset operation.


  Note: The following fields are mutually exclusive: `create_dataset_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #create_dataset_details=

    def create_dataset_details=(value) -> ::Google::Cloud::AutoML::V1::CreateDatasetOperationMetadata

**Parameter**

- **value** ([::Google::Cloud::AutoML::V1::CreateDatasetOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-CreateDatasetOperationMetadata)) --- Details of CreateDataset operation.


  Note: The following fields are mutually exclusive: `create_dataset_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::AutoML::V1::CreateDatasetOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-CreateDatasetOperationMetadata)) --- Details of CreateDataset operation.


  Note: The following fields are mutually exclusive: `create_dataset_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #create_model_details

    def create_model_details() -> ::Google::Cloud::AutoML::V1::CreateModelOperationMetadata

**Returns**

- ([::Google::Cloud::AutoML::V1::CreateModelOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-CreateModelOperationMetadata)) --- Details of CreateModel operation.


  Note: The following fields are mutually exclusive: `create_model_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #create_model_details=

    def create_model_details=(value) -> ::Google::Cloud::AutoML::V1::CreateModelOperationMetadata

**Parameter**

- **value** ([::Google::Cloud::AutoML::V1::CreateModelOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-CreateModelOperationMetadata)) --- Details of CreateModel operation.


  Note: The following fields are mutually exclusive: `create_model_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::AutoML::V1::CreateModelOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-CreateModelOperationMetadata)) --- Details of CreateModel operation.


  Note: The following fields are mutually exclusive: `create_model_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time when the operation was created.

### #create_time=

    def create_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time when the operation was created.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time when the operation was created.

### #delete_details

    def delete_details() -> ::Google::Cloud::AutoML::V1::DeleteOperationMetadata

**Returns**

- ([::Google::Cloud::AutoML::V1::DeleteOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-DeleteOperationMetadata)) --- Details of a Delete operation.


  Note: The following fields are mutually exclusive: `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #delete_details=

    def delete_details=(value) -> ::Google::Cloud::AutoML::V1::DeleteOperationMetadata

**Parameter**

- **value** ([::Google::Cloud::AutoML::V1::DeleteOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-DeleteOperationMetadata)) --- Details of a Delete operation.


  Note: The following fields are mutually exclusive: `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::AutoML::V1::DeleteOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-DeleteOperationMetadata)) --- Details of a Delete operation.


  Note: The following fields are mutually exclusive: `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #deploy_model_details

    def deploy_model_details() -> ::Google::Cloud::AutoML::V1::DeployModelOperationMetadata

**Returns**

- ([::Google::Cloud::AutoML::V1::DeployModelOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-DeployModelOperationMetadata)) --- Details of a DeployModel operation.


  Note: The following fields are mutually exclusive: `deploy_model_details`, `delete_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #deploy_model_details=

    def deploy_model_details=(value) -> ::Google::Cloud::AutoML::V1::DeployModelOperationMetadata

**Parameter**

- **value** ([::Google::Cloud::AutoML::V1::DeployModelOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-DeployModelOperationMetadata)) --- Details of a DeployModel operation.


  Note: The following fields are mutually exclusive: `deploy_model_details`, `delete_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::AutoML::V1::DeployModelOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-DeployModelOperationMetadata)) --- Details of a DeployModel operation.


  Note: The following fields are mutually exclusive: `deploy_model_details`, `delete_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #export_data_details

    def export_data_details() -> ::Google::Cloud::AutoML::V1::ExportDataOperationMetadata

**Returns**

- ([::Google::Cloud::AutoML::V1::ExportDataOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ExportDataOperationMetadata)) --- Details of ExportData operation.


  Note: The following fields are mutually exclusive: `export_data_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #export_data_details=

    def export_data_details=(value) -> ::Google::Cloud::AutoML::V1::ExportDataOperationMetadata

**Parameter**

- **value** ([::Google::Cloud::AutoML::V1::ExportDataOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ExportDataOperationMetadata)) --- Details of ExportData operation.


  Note: The following fields are mutually exclusive: `export_data_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::AutoML::V1::ExportDataOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ExportDataOperationMetadata)) --- Details of ExportData operation.


  Note: The following fields are mutually exclusive: `export_data_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #export_model_details

    def export_model_details() -> ::Google::Cloud::AutoML::V1::ExportModelOperationMetadata

**Returns**

- ([::Google::Cloud::AutoML::V1::ExportModelOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ExportModelOperationMetadata)) --- Details of ExportModel operation.


  Note: The following fields are mutually exclusive: `export_model_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #export_model_details=

    def export_model_details=(value) -> ::Google::Cloud::AutoML::V1::ExportModelOperationMetadata

**Parameter**

- **value** ([::Google::Cloud::AutoML::V1::ExportModelOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ExportModelOperationMetadata)) --- Details of ExportModel operation.


  Note: The following fields are mutually exclusive: `export_model_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::AutoML::V1::ExportModelOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ExportModelOperationMetadata)) --- Details of ExportModel operation.


  Note: The following fields are mutually exclusive: `export_model_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #import_data_details

    def import_data_details() -> ::Google::Cloud::AutoML::V1::ImportDataOperationMetadata

**Returns**

- ([::Google::Cloud::AutoML::V1::ImportDataOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ImportDataOperationMetadata)) --- Details of ImportData operation.


  Note: The following fields are mutually exclusive: `import_data_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #import_data_details=

    def import_data_details=(value) -> ::Google::Cloud::AutoML::V1::ImportDataOperationMetadata

**Parameter**

- **value** ([::Google::Cloud::AutoML::V1::ImportDataOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ImportDataOperationMetadata)) --- Details of ImportData operation.


  Note: The following fields are mutually exclusive: `import_data_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::AutoML::V1::ImportDataOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ImportDataOperationMetadata)) --- Details of ImportData operation.


  Note: The following fields are mutually exclusive: `import_data_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #partial_failures

    def partial_failures() -> ::Array<::Google::Rpc::Status>

**Returns**

- (::Array\<[::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/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.

### #partial_failures=

    def partial_failures=(value) -> ::Array<::Google::Rpc::Status>

**Parameter**

- **value** (::Array\<[::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/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.
**Returns**

- (::Array\<[::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/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.

### #progress_percent

    def progress_percent() -> ::Integer

**Returns**

- (::Integer) --- Output only. Progress of operation. Range: \[0, 100\]. Not used currently.

### #progress_percent=

    def progress_percent=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Output only. Progress of operation. Range: \[0, 100\]. Not used currently.
**Returns**

- (::Integer) --- Output only. Progress of operation. Range: \[0, 100\]. Not used currently.

### #undeploy_model_details

    def undeploy_model_details() -> ::Google::Cloud::AutoML::V1::UndeployModelOperationMetadata

**Returns**

- ([::Google::Cloud::AutoML::V1::UndeployModelOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-UndeployModelOperationMetadata)) --- Details of an UndeployModel operation.


  Note: The following fields are mutually exclusive: `undeploy_model_details`, `delete_details`, `deploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #undeploy_model_details=

    def undeploy_model_details=(value) -> ::Google::Cloud::AutoML::V1::UndeployModelOperationMetadata

**Parameter**

- **value** ([::Google::Cloud::AutoML::V1::UndeployModelOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-UndeployModelOperationMetadata)) --- Details of an UndeployModel operation.


  Note: The following fields are mutually exclusive: `undeploy_model_details`, `delete_details`, `deploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::AutoML::V1::UndeployModelOperationMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-UndeployModelOperationMetadata)) --- Details of an UndeployModel operation.


  Note: The following fields are mutually exclusive: `undeploy_model_details`, `delete_details`, `deploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time when the operation was updated for the last time.

### #update_time=

    def update_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time when the operation was updated for the last time.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time when the operation was updated for the last time.