generated/google/apis/firestore_v1/classes.rb in google-api-client-0.37.3 vs generated/google/apis/firestore_v1/classes.rb in google-api-client-0.38.0

- old
+ new

@@ -66,11 +66,11 @@ # Corresponds to the JSON property `newTransaction` # @return [Google::Apis::FirestoreV1::TransactionOptions] attr_accessor :new_transaction # Reads documents as they were at the given time. - # This may not be older than 60 seconds. + # This may not be older than 270 seconds. # Corresponds to the JSON property `readTime` # @return [String] attr_accessor :read_time # Reads documents in a transaction. @@ -1939,11 +1939,11 @@ # Corresponds to the JSON property `newTransaction` # @return [Google::Apis::FirestoreV1::TransactionOptions] attr_accessor :new_transaction # Reads documents as they were at the given time. - # This may not be older than 60 seconds. + # This may not be older than 270 seconds. # Corresponds to the JSON property `readTime` # @return [String] attr_accessor :read_time # A Firestore query. @@ -2425,10 +2425,18 @@ # Document, and takes in account the dynamic nature of Value. # Corresponds to the JSON property `updateMask` # @return [Google::Apis::FirestoreV1::DocumentMask] attr_accessor :update_mask + # The transforms to perform after update. + # This field can be set only when the operation is `update`. If present, this + # write is equivalent to performing `update` and `transform` to the same + # document atomically and in order. + # Corresponds to the JSON property `updateTransforms` + # @return [Array<Google::Apis::FirestoreV1::FieldTransform>] + attr_accessor :update_transforms + def initialize(**args) update!(**args) end # Update properties of this object @@ -2436,9 +2444,10 @@ @current_document = args[:current_document] if args.key?(:current_document) @delete = args[:delete] if args.key?(:delete) @transform = args[:transform] if args.key?(:transform) @update = args[:update] if args.key?(:update) @update_mask = args[:update_mask] if args.key?(:update_mask) + @update_transforms = args[:update_transforms] if args.key?(:update_transforms) end end # The request for Firestore.Write. # The first request creates a stream, or resumes an existing one from a token.