Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ParameterDefinition
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ParameterDefinition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#description ⇒ String
Corresponds to the JSON property
description. -
#name ⇒ String
Corresponds to the JSON property
name. -
#type ⇒ String
Corresponds to the JSON property
type. -
#type_schema ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TypeSchema
Corresponds to the JSON property
typeSchema.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ParameterDefinition
constructor
A new instance of GoogleCloudDialogflowCxV3ParameterDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ParameterDefinition
Returns a new instance of GoogleCloudDialogflowCxV3ParameterDefinition.
5730 5731 5732 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5730 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
5713 5714 5715 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5713 def description @description end |
#name ⇒ String
Corresponds to the JSON property name
5718 5719 5720 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5718 def name @name end |
#type ⇒ String
Corresponds to the JSON property type
5723 5724 5725 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5723 def type @type end |
#type_schema ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TypeSchema
Corresponds to the JSON property typeSchema
5728 5729 5730 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5728 def type_schema @type_schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5735 5736 5737 5738 5739 5740 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5735 def update!(**args) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) @type_schema = args[:type_schema] if args.key?(:type_schema) end |