Class: Google::Apis::DatastoreV1beta3::PropertyFilter
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatastoreV1beta3::PropertyFilter
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datastore_v1beta3/classes.rb,
 generated/google/apis/datastore_v1beta3/representations.rb,
 generated/google/apis/datastore_v1beta3/representations.rb
Overview
A filter on a specific property.
Instance Attribute Summary collapse
- 
  
    
      #op  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The operator to filter by. 
- 
  
    
      #property  ⇒ Google::Apis::DatastoreV1beta3::PropertyReference 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A reference to a property relative to the kind expressions. 
- 
  
    
      #value  ⇒ Google::Apis::DatastoreV1beta3::Value 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A message that can hold any of the supported value types and associated metadata. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PropertyFilter 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PropertyFilter. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PropertyFilter
Returns a new instance of PropertyFilter
| 1296 1297 1298 | # File 'generated/google/apis/datastore_v1beta3/classes.rb', line 1296 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#op ⇒ String
The operator to filter by.
Corresponds to the JSON property op
| 1283 1284 1285 | # File 'generated/google/apis/datastore_v1beta3/classes.rb', line 1283 def op @op end | 
#property ⇒ Google::Apis::DatastoreV1beta3::PropertyReference
A reference to a property relative to the kind expressions.
Corresponds to the JSON property property
| 1288 1289 1290 | # File 'generated/google/apis/datastore_v1beta3/classes.rb', line 1288 def property @property end | 
#value ⇒ Google::Apis::DatastoreV1beta3::Value
A message that can hold any of the supported value types and associated
metadata.
Corresponds to the JSON property value
| 1294 1295 1296 | # File 'generated/google/apis/datastore_v1beta3/classes.rb', line 1294 def value @value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1301 1302 1303 1304 1305 | # File 'generated/google/apis/datastore_v1beta3/classes.rb', line 1301 def update!(**args) @op = args[:op] if args.key?(:op) @property = args[:property] if args.key?(:property) @value = args[:value] if args.key?(:value) end |