Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::CommitResponse.
The response for Datastore.Commit.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#index_updates
def index_updates() -> ::Integer
Returns
- (::Integer) — The number of index entries updated during the commit, or zero if none were updated.
#index_updates=
def index_updates=(value) -> ::Integer
Parameter
- value (::Integer) — The number of index entries updated during the commit, or zero if none were updated.
Returns
- (::Integer) — The number of index entries updated during the commit, or zero if none were updated.
#mutation_results
def mutation_results() -> ::Array<::Google::Cloud::Datastore::V1::MutationResult>
Returns
- (::Array<::Google::Cloud::Datastore::V1::MutationResult>) — The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request.
#mutation_results=
def mutation_results=(value) -> ::Array<::Google::Cloud::Datastore::V1::MutationResult>
Parameter
- value (::Array<::Google::Cloud::Datastore::V1::MutationResult>) — The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request.
Returns
- (::Array<::Google::Cloud::Datastore::V1::MutationResult>) — The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request.