2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.2 2.5.0 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the API Gateway V1 API class Google::Cloud::ApiGateway::V1::OperationMetadata.

Represents the metadata of the long-running operation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #api_version

    def api_version() -> ::String

**Returns**

- (::String) --- Output only. API version used to start the operation.

### #create_time

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

**Returns**

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

### #diagnostics

    def diagnostics() -> ::Array<::Google::Cloud::ApiGateway::V1::OperationMetadata::Diagnostic>

**Returns**

- (::Array\<[::Google::Cloud::ApiGateway::V1::OperationMetadata::Diagnostic](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_gateway-v1/latest/Google-Cloud-ApiGateway-V1-OperationMetadata-Diagnostic)\>) --- Output only. Diagnostics generated during processing of configuration source files.

### #end_time

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

**Returns**

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

### #requested_cancellation

    def requested_cancellation() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_gateway-v1/latest/Google-Longrunning-Operation#Google__Longrunning__Operation_error_instance_ "Google::Longrunning::Operation#error (method)") value with a [google.rpc.Status.code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_gateway-v1/latest/Google-Rpc-Status#Google__Rpc__Status_code_instance_ "Google::Rpc::Status#code (method)") of 1, corresponding to `Code.CANCELLED`.

### #status_message

    def status_message() -> ::String

**Returns**

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

### #target

    def target() -> ::String

**Returns**

- (::String) --- Output only. Server-defined resource path for the target of the operation.

### #verb

    def verb() -> ::String

**Returns**

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