Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec

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

Instance Method Summary collapse

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

#boostFloat

Corresponds to the JSON property boost

Returns:

  • (Float)


806
807
808
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 806

def boost
  @boost
end

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

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


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