Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding
- 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
Specifies a multi-level threshold to apply to apply to a metric_bindings
in
the condition
CEL expression.
Instance Attribute Summary collapse
-
#description ⇒ String
Human readable description of the corresponding threshold and sub-requirement.
-
#threshold_values ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRequirementThresholdBindingThresholdValue>
The values of the threshold.
-
#variable_id ⇒ String
The variable id to be referenced in
condition
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding
Returns a new instance of GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding.
14232 14233 14234 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14232 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Human readable description of the corresponding threshold and sub-requirement.
Corresponds to the JSON property description
14218 14219 14220 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14218 def description @description end |
#threshold_values ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRequirementThresholdBindingThresholdValue>
The values of the threshold. The values should be ordered from the most strict
to the least strict.
Corresponds to the JSON property thresholdValues
14224 14225 14226 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14224 def threshold_values @threshold_values end |
#variable_id ⇒ String
The variable id to be referenced in condition
. Must be unique across all
metric_bindings
and threshold_bindings
.
Corresponds to the JSON property variableId
14230 14231 14232 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14230 def variable_id @variable_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14237 14238 14239 14240 14241 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14237 def update!(**args) @description = args[:description] if args.key?(:description) @threshold_values = args[:threshold_values] if args.key?(:threshold_values) @variable_id = args[:variable_id] if args.key?(:variable_id) end |