Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#boostFloat

Corresponds to the JSON property boost

Returns:

  • (Float)


4509
4510
4511
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4509

def boost
  @boost
end

#boost_control_specGoogle::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

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


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