Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ConditionQueryTerm
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ConditionQueryTerm
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Matcher for search request query
Instance Attribute Summary collapse
-
#full_match ⇒ Boolean
(also: #full_match?)
Whether the search query needs to exactly match the query term.
-
#value ⇒ String
The specific query value to match against Must be lowercase, must be UTF-8.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ConditionQueryTerm
constructor
A new instance of GoogleCloudDiscoveryengineV1ConditionQueryTerm.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ConditionQueryTerm
Returns a new instance of GoogleCloudDiscoveryengineV1ConditionQueryTerm.
723 724 725 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 723 def initialize(**args) update!(**args) end |
Instance Attribute Details
#full_match ⇒ Boolean Also known as: full_match?
Whether the search query needs to exactly match the query term.
Corresponds to the JSON property fullMatch
713 714 715 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 713 def full_match @full_match end |
#value ⇒ String
The specific query value to match against Must be lowercase, must be UTF-8.
Can have at most 3 space separated terms if full_match is true. Cannot be an
empty string. Maximum length of 5000 characters.
Corresponds to the JSON property value
721 722 723 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 721 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
728 729 730 731 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 728 def update!(**args) @full_match = args[:full_match] if args.key?(:full_match) @value = args[:value] if args.key?(:value) end |