# AI Platform Notebooks V1beta1 API - Class Google::Cloud::Notebooks::V1beta1::OperationMetadata (v0.17.0)

0.17.0 (latest) 0.16.0 0.15.1 0.14.0 0.13.0 0.12.1 0.11.0 0.10.1 0.9.2 0.8.0 0.7.1 0.6.1 0.5.0 0.4.5 Reference documentation and code samples for the AI Platform Notebooks V1beta1 API class Google::Cloud::Notebooks::V1beta1::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) --- API version used to start the operation.

### #api_version=

    def api_version=(value) -> ::String

**Parameter**

- **value** (::String) --- API version used to start the operation.
**Returns**

- (::String) --- 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-notebooks-v1beta1/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-notebooks-v1beta1/latest/Google-Protobuf-Timestamp)) --- The time the operation was created.
**Returns**

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

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

### #endpoint

    def endpoint() -> ::String

**Returns**

- (::String) --- API endpoint name of this operation.

### #endpoint=

    def endpoint=(value) -> ::String

**Parameter**

- **value** (::String) --- API endpoint name of this operation.
**Returns**

- (::String) --- API endpoint name of this operation.

### #requested_cancellation

    def requested_cancellation() -> ::Boolean

**Returns**

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

### #requested_cancellation=

    def requested_cancellation=(value) -> ::Boolean

**Parameter**

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

- (::Boolean) --- Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have \[Operation.error\]\[\] value with a [google.rpc.Status.code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1beta1/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) --- Human-readable status of the operation, if any.

### #status_message=

    def status_message=(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) --- Server-defined resource path for the target of the operation.

### #target=

    def target=(value) -> ::String

**Parameter**

- **value** (::String) --- Server-defined resource path for the target of the operation.
**Returns**

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

### #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.