# Agent Registry V1 API - Class Google::Cloud::AgentRegistry::V1::OperationMetadata (v0.1.0)

Reference documentation and code samples for the Agent Registry V1 API class Google::Cloud::AgentRegistry::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-agent_registry-v1/latest/Google-Protobuf-Timestamp)) --- Output only. 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-agent_registry-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 been cancelled successfully have [google.longrunning.Operation.error](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-agent_registry-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-agent_registry-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.