# Cloud Composer V1 API - Class Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.4 1.2.0 1.1.0 1.0.1 0.11.0 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.1 0.2.0 0.1.2 Reference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata.

Metadata describing an operation.

## 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-orchestration-airflow-service-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time the operation was submitted to the server.

### #create_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time the operation was submitted to the server.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time the operation was submitted to the server.

### #end_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.

### #end_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.

### #operation_type

    def operation_type() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata::Type

**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-OperationMetadata-Type)) --- Output only. The type of operation being performed.

### #operation_type=

    def operation_type=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata::Type

**Parameter**

- **value** ([::Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-OperationMetadata-Type)) --- Output only. The type of operation being performed.
**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-OperationMetadata-Type)) --- Output only. The type of operation being performed.

### #resource

    def resource() -> ::String

**Returns**

- (::String) --- Output only. The resource being operated on, as a [relative resource name](https://docs.cloud.google.com/apis/design/resource_names#relative_resource_name).

### #resource=

    def resource=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The resource being operated on, as a [relative resource name](https://docs.cloud.google.com/apis/design/resource_names#relative_resource_name).
**Returns**

- (::String) --- Output only. The resource being operated on, as a [relative resource name](https://docs.cloud.google.com/apis/design/resource_names#relative_resource_name).

### #resource_uuid

    def resource_uuid() -> ::String

**Returns**

- (::String) --- Output only. The UUID of the resource being operated on.

### #resource_uuid=

    def resource_uuid=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The UUID of the resource being operated on.
**Returns**

- (::String) --- Output only. The UUID of the resource being operated on.

### #state

    def state() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata::State

**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-OperationMetadata-State)) --- Output only. The current operation state.

### #state=

    def state=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata::State

**Parameter**

- **value** ([::Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-OperationMetadata-State)) --- Output only. The current operation state.
**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-OperationMetadata-State)) --- Output only. The current operation state.