Cloud TPU V1 API - Class Google::Cloud::Tpu::V1::OperationMetadata (v0.2.0)

Reference documentation and code samples for the Cloud TPU V1 API class Google::Cloud::Tpu::V1::OperationMetadata.

Metadata describing an Operation

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

#create_time=

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

#end_time

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

#end_time=

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

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