Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Setting a parameter value.
Instance Attribute Summary collapse
-
#parameter ⇒ String
Display name of the parameter.
-
#value ⇒ Object
The new value of the parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FulfillmentSetParameterAction
constructor
A new instance of GoogleCloudDialogflowCxV3FulfillmentSetParameterAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FulfillmentSetParameterAction
Returns a new instance of GoogleCloudDialogflowCxV3FulfillmentSetParameterAction.
1415 1416 1417 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1415 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parameter ⇒ String
Display name of the parameter.
Corresponds to the JSON property parameter
1408 1409 1410 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1408 def parameter @parameter end |
#value ⇒ Object
The new value of the parameter. A null value clears the parameter.
Corresponds to the JSON property value
1413 1414 1415 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1413 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1420 1421 1422 1423 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1420 def update!(**args) @parameter = args[:parameter] if args.key?(:parameter) @value = args[:value] if args.key?(:value) end |