Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#boost ⇒ Float
Corresponds to the JSON property
boost. -
#boost_control_spec ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec
Corresponds to the JSON property
boostControlSpec. -
#condition ⇒ String
Corresponds to the JSON property
condition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec
constructor
A new instance of GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec
Returns a new instance of GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec.
818 819 820 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 818 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boost ⇒ Float
Corresponds to the JSON property boost
806 807 808 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 806 def boost @boost end |
#boost_control_spec ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec
Corresponds to the JSON property boostControlSpec
811 812 813 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 811 def boost_control_spec @boost_control_spec end |
#condition ⇒ String
Corresponds to the JSON property condition
816 817 818 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 816 def condition @condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
823 824 825 826 827 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 823 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 |