Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#boost ⇒ Float
Corresponds to the JSON property
boost. -
#boost_control_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec
Corresponds to the JSON property
boostControlSpec. -
#condition ⇒ String
Corresponds to the JSON property
condition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec
constructor
A new instance of GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec
Returns a new instance of GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec.
4521 4522 4523 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4521 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boost ⇒ Float
Corresponds to the JSON property boost
4509 4510 4511 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4509 def boost @boost end |
#boost_control_spec ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec
Corresponds to the JSON property boostControlSpec
4514 4515 4516 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4514 def boost_control_spec @boost_control_spec end |
#condition ⇒ String
Corresponds to the JSON property condition
4519 4520 4521 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4519 def condition @condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4526 4527 4528 4529 4530 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4526 def update!(**args) @boost = args[:boost] if args.key?(:boost) @boost_control_spec = args[:boost_control_spec] if args.key?(:boost_control_spec) @condition = args[:condition] if args.key?(:condition) end |