# Cloud TPU V1 API - Class Google::Cloud::Tpu::V1::OperationMetadata (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Cloud TPU V1 API class Google::Cloud::Tpu::V1::OperationMetadata.

Metadata describing an [Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tpu-v1/latest/Google-Longrunning-Operation "Google::Longrunning::Operation (class)")

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #api_version

    def api_version() -> ::String

**Returns**

- (::String) --- API version.

### #api_version=

    def api_version=(value) -> ::String

**Parameter**

- **value** (::String) --- API version.
**Returns**

- (::String) --- API version.

### #cancel_requested

    def cancel_requested() -> ::Boolean

**Returns**

- (::Boolean) --- Specifies if cancellation was requested for the operation.

### #cancel_requested=

    def cancel_requested=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Specifies if cancellation was requested for the operation.
**Returns**

- (::Boolean) --- Specifies if cancellation was requested for the operation.

### #create_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tpu-v1/latest/Google-Protobuf-Timestamp)) --- The time 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-tpu-v1/latest/Google-Protobuf-Timestamp)) --- The time the operation was created.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tpu-v1/latest/Google-Protobuf-Timestamp)) --- The time the operation was created.

### #end_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tpu-v1/latest/Google-Protobuf-Timestamp)) --- The time the operation finished running.

### #end_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tpu-v1/latest/Google-Protobuf-Timestamp)) --- The time the operation finished running.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tpu-v1/latest/Google-Protobuf-Timestamp)) --- The time the operation finished running.

### #status_detail

    def status_detail() -> ::String

**Returns**

- (::String) --- Human-readable status of the operation, if any.

### #status_detail=

    def status_detail=(value) -> ::String

**Parameter**

- **value** (::String) --- Human-readable status of the operation, if any.
**Returns**

- (::String) --- Human-readable status of the operation, if any.

### #target

    def target() -> ::String

**Returns**

- (::String) --- Target of the operation - for example projects/project-1/connectivityTests/test-1

### #target=

    def target=(value) -> ::String

**Parameter**

- **value** (::String) --- Target of the operation - for example projects/project-1/connectivityTests/test-1
**Returns**

- (::String) --- Target of the operation - for example projects/project-1/connectivityTests/test-1

### #verb

    def verb() -> ::String

**Returns**

- (::String) --- Name of the verb executed by the operation.

### #verb=

    def verb=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the verb executed by the operation.
**Returns**

- (::String) --- Name of the verb executed by the operation.