# Cloud Monitoring Metrics Scopes V1 API - Class Google::Cloud::Monitoring::MetricsScope::V1::OperationMetadata (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.6.0 0.5.2 0.4.0 0.3.1 0.2.0 0.1.3 Reference documentation and code samples for the Cloud Monitoring Metrics Scopes V1 API class Google::Cloud::Monitoring::MetricsScope::V1::OperationMetadata.

Contains metadata for longrunning operation for the edit Metrics Scope
endpoints.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-metrics_scope-v1/latest/Google-Protobuf-Timestamp)) --- The time when the batch request was received.

### #create_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-metrics_scope-v1/latest/Google-Protobuf-Timestamp)) --- The time when the batch request was received.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-metrics_scope-v1/latest/Google-Protobuf-Timestamp)) --- The time when the batch request was received.

### #state

    def state() -> ::Google::Cloud::Monitoring::MetricsScope::V1::OperationMetadata::State

**Returns**

- ([::Google::Cloud::Monitoring::MetricsScope::V1::OperationMetadata::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-metrics_scope-v1/latest/Google-Cloud-Monitoring-MetricsScope-V1-OperationMetadata-State)) --- Current state of the batch operation.

### #state=

    def state=(value) -> ::Google::Cloud::Monitoring::MetricsScope::V1::OperationMetadata::State

**Parameter**

- **value** ([::Google::Cloud::Monitoring::MetricsScope::V1::OperationMetadata::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-metrics_scope-v1/latest/Google-Cloud-Monitoring-MetricsScope-V1-OperationMetadata-State)) --- Current state of the batch operation.
**Returns**

- ([::Google::Cloud::Monitoring::MetricsScope::V1::OperationMetadata::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-metrics_scope-v1/latest/Google-Cloud-Monitoring-MetricsScope-V1-OperationMetadata-State)) --- Current state of the batch operation.

### #update_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-metrics_scope-v1/latest/Google-Protobuf-Timestamp)) --- The time when the operation result was last updated.

### #update_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-metrics_scope-v1/latest/Google-Protobuf-Timestamp)) --- The time when the operation result was last updated.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-metrics_scope-v1/latest/Google-Protobuf-Timestamp)) --- The time when the operation result was last updated.