Cloud Build V2 API - Class Google::Cloud::Build::V2::OperationMetadata (v0.5.2)

Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::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

#end_time

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

#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 [Operation.error][] value with a google.rpc.Status.code 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.