class Google::Apis::FirestoreV1::BatchWriteResponse
The response from Firestore.BatchWrite.
Attributes
status[RW]
The status of applying the writes. This i-th write status corresponds to the i- th write in the request. Corresponds to the JSON property `status` @return [Array<Google::Apis::FirestoreV1::Status>]
write_results[RW]
The result of applying the writes. This i-th write result corresponds to the i- th write in the request. Corresponds to the JSON property `writeResults` @return [Array<Google::Apis::FirestoreV1::WriteResult>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firestore_v1/classes.rb, line 181 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/firestore_v1/classes.rb, line 186 def update!(**args) @status = args[:status] if args.key?(:status) @write_results = args[:write_results] if args.key?(:write_results) end