class Google::Apis::DatastoreV1::CommitResponse
The response for Datastore.Commit.
Attributes
index_updates[RW]
The number of index entries updated during the commit, or zero if none were updated. Corresponds to the JSON property `indexUpdates` @return [Fixnum]
mutation_results[RW]
The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request. Corresponds to the JSON property `mutationResults` @return [Array<Google::Apis::DatastoreV1::MutationResult>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datastore_v1/classes.rb, line 180 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datastore_v1/classes.rb, line 185 def update!(**args) @index_updates = args[:index_updates] if args.key?(:index_updates) @mutation_results = args[:mutation_results] if args.key?(:mutation_results) end