Class: Google::Apis::FirestoreV1beta1::FieldReference
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FirestoreV1beta1::FieldReference
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firestore_v1beta1/classes.rb,
 generated/google/apis/firestore_v1beta1/representations.rb,
 generated/google/apis/firestore_v1beta1/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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FieldReference
Returns a new instance of FieldReference
| 649 650 651 | # File 'generated/google/apis/firestore_v1beta1/classes.rb', line 649 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#field_path ⇒ String
Corresponds to the JSON property fieldPath
| 647 648 649 | # File 'generated/google/apis/firestore_v1beta1/classes.rb', line 647 def field_path @field_path end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 654 655 656 | # File 'generated/google/apis/firestore_v1beta1/classes.rb', line 654 def update!(**args) @field_path = args[:field_path] if args.key?(:field_path) end |