Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v3/classes.rb,
generated/google/apis/dialogflow_v3/representations.rb,
generated/google/apis/dialogflow_v3/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.
5272 5273 5274 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 5272 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parameter ⇒ String
Display name of the parameter.
Corresponds to the JSON property parameter
5265 5266 5267 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 5265 def parameter @parameter end |
#value ⇒ Object
The new value of the parameter. A null value clears the parameter.
Corresponds to the JSON property value
5270 5271 5272 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 5270 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5277 5278 5279 5280 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 5277 def update!(**args) @parameter = args[:parameter] if args.key?(:parameter) @value = args[:value] if args.key?(:value) end |