Reference documentation and code samples for the Firestore in Datastore mode Admin V1 API class Google::Cloud::Datastore::Admin::V1::CommonMetadata.
Metadata common to all Datastore Admin operations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time the operation ended, either successfully or otherwise.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time the operation ended, either successfully or otherwise.
Returns
- (::Google::Protobuf::Timestamp) — The time the operation ended, either successfully or otherwise.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — The client-assigned labels which were provided when the operation was created. May also include additional labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — The client-assigned labels which were provided when the operation was created. May also include additional labels.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — The client-assigned labels which were provided when the operation was created. May also include additional labels.
#operation_type
def operation_type() -> ::Google::Cloud::Datastore::Admin::V1::OperationType
Returns
- (::Google::Cloud::Datastore::Admin::V1::OperationType) — The type of the operation. Can be used as a filter in ListOperationsRequest.
#operation_type=
def operation_type=(value) -> ::Google::Cloud::Datastore::Admin::V1::OperationType
Parameter
- value (::Google::Cloud::Datastore::Admin::V1::OperationType) — The type of the operation. Can be used as a filter in ListOperationsRequest.
Returns
- (::Google::Cloud::Datastore::Admin::V1::OperationType) — The type of the operation. Can be used as a filter in ListOperationsRequest.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time that work began on the operation.
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time that work began on the operation.
Returns
- (::Google::Protobuf::Timestamp) — The time that work began on the operation.
#state
def state() -> ::Google::Cloud::Datastore::Admin::V1::CommonMetadata::State
Returns
- (::Google::Cloud::Datastore::Admin::V1::CommonMetadata::State) — The current state of the Operation.
#state=
def state=(value) -> ::Google::Cloud::Datastore::Admin::V1::CommonMetadata::State
Parameter
- value (::Google::Cloud::Datastore::Admin::V1::CommonMetadata::State) — The current state of the Operation.
Returns
- (::Google::Cloud::Datastore::Admin::V1::CommonMetadata::State) — The current state of the Operation.