Class: Google::Apis::FirestoreV1::FieldReference
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1::FieldReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firestore_v1/classes.rb,
generated/google/apis/firestore_v1/representations.rb,
generated/google/apis/firestore_v1/representations.rb
Overview
A reference to a field, such as max(messages.time) as max_time
.
Instance Attribute Summary collapse
-
#field_path ⇒ String
Corresponds to the JSON property
fieldPath
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FieldReference
constructor
A new instance of FieldReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FieldReference
Returns a new instance of FieldReference.
682 683 684 |
# File 'generated/google/apis/firestore_v1/classes.rb', line 682 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_path ⇒ String
Corresponds to the JSON property fieldPath
680 681 682 |
# File 'generated/google/apis/firestore_v1/classes.rb', line 680 def field_path @field_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
687 688 689 |
# File 'generated/google/apis/firestore_v1/classes.rb', line 687 def update!(**args) @field_path = args[:field_path] if args.key?(:field_path) end |