Class: Google::Cloud::StorageBatchOperations::V1::OperationMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations.rb

Overview

Represents the metadata of the long-running operation.

Instance Attribute Summary collapse

Instance Attribute Details

#api_version::String (readonly)

Returns Output only. API version used to start the operation.

Returns:

  • (::String)

    Output only. API version used to start the operation.



161
162
163
164
# File 'proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations.rb', line 161

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time the operation was created.

Returns:



161
162
163
164
# File 'proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations.rb', line 161

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#end_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time the operation finished running.

Returns:



161
162
163
164
# File 'proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations.rb', line 161

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#job::Google::Cloud::StorageBatchOperations::V1::Job (readonly)

Returns Output only. The Job associated with the operation.

Returns:



161
162
163
164
# File 'proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations.rb', line 161

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#operation::String (readonly)

Returns Output only. The unique operation resource name. Format: projects/{project}/locations/global/operations/{operation}.

Returns:

  • (::String)

    Output only. The unique operation resource name. Format: projects/{project}/locations/global/operations/{operation}.



161
162
163
164
# File 'proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations.rb', line 161

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#requested_cancellation::Boolean (readonly)

Returns 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][google.rpc.Code.CANCELLED].

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][google.rpc.Code.CANCELLED].



161
162
163
164
# File 'proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations.rb', line 161

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end