class Google::Apis::FirestoreV1beta1::DocumentMask

A set of field paths on a document. Used to restrict a get or update operation on a document to a subset of its fields. This is different from standard field masks, as this is always scoped to a Document, and takes in account the dynamic nature of Value.

Attributes

field_paths[RW]

The list of field paths in the mask. See Document.fields for a field path syntax reference. Corresponds to the JSON property `fieldPaths` @return [Array<String>]

Public Class Methods

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