Class: Google::Apis::RetailV2::GoogleCloudRetailV2ConditionQueryTerm
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::RetailV2::GoogleCloudRetailV2ConditionQueryTerm
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2/classes.rb,
 lib/google/apis/retail_v2/representations.rb,
 lib/google/apis/retail_v2/representations.rb
Overview
Query terms that we want to match on.
Instance Attribute Summary collapse
- 
  
    
      #full_match  ⇒ Boolean 
    
    
      (also: #full_match?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether this is supposed to be a full or partial match. 
- 
  
    
      #value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The value of the term to match on. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudRetailV2ConditionQueryTerm 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudRetailV2ConditionQueryTerm. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2ConditionQueryTerm
Returns a new instance of GoogleCloudRetailV2ConditionQueryTerm.
| 1364 1365 1366 | # File 'lib/google/apis/retail_v2/classes.rb', line 1364 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#full_match ⇒ Boolean Also known as: full_match?
Whether this is supposed to be a full or partial match.
Corresponds to the JSON property fullMatch
| 1353 1354 1355 | # File 'lib/google/apis/retail_v2/classes.rb', line 1353 def full_match @full_match end | 
#value ⇒ String
The value of the term to match on. Value cannot be empty. Value can have at
most 3 terms if specified as a partial match. Each space separated string is
considered as one term. For example, "a b c" is 3 terms and allowed, but " a b
c d" is 4 terms and not allowed for a partial match.
Corresponds to the JSON property value
| 1362 1363 1364 | # File 'lib/google/apis/retail_v2/classes.rb', line 1362 def value @value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1369 1370 1371 1372 | # File 'lib/google/apis/retail_v2/classes.rb', line 1369 def update!(**args) @full_match = args[:full_match] if args.key?(:full_match) @value = args[:value] if args.key?(:value) end |