class Google::Apis::FirestoreV1beta1::WriteResult

The result of applying a write.

Attributes

transform_results[RW]

The results of applying each DocumentTransform.FieldTransform, in the same order. Corresponds to the JSON property `transformResults` @return [Array<Google::Apis::FirestoreV1beta1::Value>]

update_time[RW]

The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous update_time. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firestore_v1beta1/classes.rb, line 2289
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_v1beta1/classes.rb, line 2294
def update!(**args)
  @transform_results = args[:transform_results] if args.key?(:transform_results)
  @update_time = args[:update_time] if args.key?(:update_time)
end