class Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2IndexField

A field in an index. The field_path describes which field is indexed, the value_mode describes how the field value is indexed.

Attributes

array_config[RW]

Indicates that this field supports operations on `array_value`s. Corresponds to the JSON property `arrayConfig` @return [String]

field_path[RW]

Can be __name__. For single field indexes, this must match the name of the field or may be omitted. Corresponds to the JSON property `fieldPath` @return [String]

order[RW]

Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=. Corresponds to the JSON property `order` @return [String]

Public Class Methods

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