Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition
- 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
Defines the properties of a parameter. Used to define parameters used in the agent and the input / output parameters for each fulfillment.
Instance Attribute Summary collapse
-
#description ⇒ String
Human-readable description of the parameter.
-
#name ⇒ String
Required.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ParameterDefinition
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ParameterDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ParameterDefinition
Returns a new instance of GoogleCloudDialogflowCxV3beta1ParameterDefinition.
10422 10423 10424 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10422 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Human-readable description of the parameter. Limited to 300 characters.
Corresponds to the JSON property description
10410 10411 10412 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10410 def description @description end |
#name ⇒ String
Required. Name of parameter.
Corresponds to the JSON property name
10415 10416 10417 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10415 def name @name end |
#type ⇒ String
Required. Type of parameter.
Corresponds to the JSON property type
10420 10421 10422 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10420 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10427 10428 10429 10430 10431 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10427 def update!(**args) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end |