class Google::Apis::FirestoreV1::DocumentTransform
A transformation of a document.
Attributes
document[RW]
The name of the document to transform. Corresponds to the JSON property `document` @return [String]
field_transforms[RW]
The list of transformations to apply to the fields of the document, in order. This must not be empty. Corresponds to the JSON property `fieldTransforms` @return [Array<Google::Apis::FirestoreV1::FieldTransform>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firestore_v1/classes.rb, line 565 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 570 def update!(**args) @document = args[:document] if args.key?(:document) @field_transforms = args[:field_transforms] if args.key?(:field_transforms) end