Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint

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) ⇒ GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint

Returns a new instance of GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint.



881
882
883
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 881

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#attribute_valueString

Corresponds to the JSON property attributeValue

Returns:

  • (String)


874
875
876
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 874

def attribute_value
  @attribute_value
end

#boost_amountFloat

Corresponds to the JSON property boostAmount

Returns:

  • (Float)


879
880
881
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 879

def boost_amount
  @boost_amount
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



886
887
888
889
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 886

def update!(**args)
  @attribute_value = args[:attribute_value] if args.key?(:attribute_value)
  @boost_amount = args[:boost_amount] if args.key?(:boost_amount)
end