Reference documentation and code samples for the Storage Batch Operations V1 API class Google::Cloud::StorageBatchOperations::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) — Output only. The time the operation was created.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time the operation finished running.
#job
def job() -> ::Google::Cloud::StorageBatchOperations::V1::Job
Returns
- (::Google::Cloud::StorageBatchOperations::V1::Job) — Output only. The Job associated with the operation.
#operation
def operation() -> ::String
Returns
- (::String) — Output only. The unique operation resource name. Format: projects/{project}/locations/{location}/operations/{operation}.
#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
value with a google.rpc.Status.code of 1,
corresponding to
Code.CANCELLED
.