Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionParameter
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionParameter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Parameter associated with action.
Instance Attribute Summary collapse
-
#name ⇒ String
Required.
-
#value ⇒ Object
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ActionParameter
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ActionParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ActionParameter
Returns a new instance of GoogleCloudDialogflowCxV3beta1ActionParameter.
3814 3815 3816 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3814 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. Name of the parameter.
Corresponds to the JSON property name
3807 3808 3809 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3807 def name @name end |
#value ⇒ Object
Required. Value of the parameter.
Corresponds to the JSON property value
3812 3813 3814 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3812 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3819 3820 3821 3822 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3819 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |