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
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::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema
Corresponds to the JSON property
typeSchema.
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.
10131 10132 10133 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10131 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
10114 10115 10116 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10114 def description @description end |
#name ⇒ String
Corresponds to the JSON property name
10119 10120 10121 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10119 def name @name end |
#type ⇒ String
Corresponds to the JSON property type
10124 10125 10126 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10124 def type @type end |
#type_schema ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema
Corresponds to the JSON property typeSchema
10129 10130 10131 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10129 def type_schema @type_schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10136 10137 10138 10139 10140 10141 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10136 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 |