Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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) ⇒ GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
constructor
A new instance of GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
Returns a new instance of GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction.
4146 4147 4148 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4146 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parameter ⇒ String
Display name of the parameter.
Corresponds to the JSON property parameter
4139 4140 4141 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4139 def parameter @parameter end |
#value ⇒ Object
The new value of the parameter. A null value clears the parameter.
Corresponds to the JSON property value
4144 4145 4146 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4144 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4151 4152 4153 4154 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4151 def update!(**args) @parameter = args[:parameter] if args.key?(:parameter) @value = args[:value] if args.key?(:value) end |