class Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1IndexField

A field of an index.

Attributes

field_path[RW]

The path of the field. Must match the field path specification described by google.firestore.v1beta1.Document.fields. Special field path `__name__` may be used by itself or at the end of a path. `__type__` may be used only at the end of path. Corresponds to the JSON property `fieldPath` @return [String]

mode[RW]

The field's mode. Corresponds to the JSON property `mode` @return [String]

Public Class Methods

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