Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCondition
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCondition
- 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
Defines circumstances to be checked before allowing a behavior
Instance Attribute Summary collapse
-
#active_time_range ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaConditionTimeRange>
Range of time(s) specifying when condition is active.
-
#query_terms ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaConditionQueryTerm>
Search only A list of terms to match the query on.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaCondition
constructor
A new instance of GoogleCloudDiscoveryengineV1betaCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaCondition
Returns a new instance of GoogleCloudDiscoveryengineV1betaCondition.
12149 12150 12151 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12149 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_time_range ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaConditionTimeRange>
Range of time(s) specifying when condition is active. Maximum of 10 time
ranges.
Corresponds to the JSON property activeTimeRange
12142 12143 12144 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12142 def active_time_range @active_time_range end |
#query_terms ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaConditionQueryTerm>
Search only A list of terms to match the query on. Maximum of 10 query terms.
Corresponds to the JSON property queryTerms
12147 12148 12149 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12147 def query_terms @query_terms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12154 12155 12156 12157 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12154 def update!(**args) @active_time_range = args[:active_time_range] if args.key?(:active_time_range) @query_terms = args[:query_terms] if args.key?(:query_terms) end |