class Google::Apis::FirestoreV1beta1::FieldReference

A reference to a field, such as `max(messages.time) as max_time`.

Attributes

field_path[RW]

Corresponds to the JSON property `fieldPath` @return [String]

Public Class Methods

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