Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolFunctionTool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolFunctionTool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#input_schema ⇒ Hash<String,Object>
Corresponds to the JSON property
inputSchema. -
#method_type ⇒ String
Corresponds to the JSON property
methodType. -
#output_schema ⇒ Hash<String,Object>
Corresponds to the JSON property
outputSchema.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolFunctionTool
constructor
A new instance of GoogleCloudDialogflowV2beta1ToolFunctionTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolFunctionTool
Returns a new instance of GoogleCloudDialogflowV2beta1ToolFunctionTool.
21580 21581 21582 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21580 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_schema ⇒ Hash<String,Object>
Corresponds to the JSON property inputSchema
21568 21569 21570 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21568 def input_schema @input_schema end |
#method_type ⇒ String
Corresponds to the JSON property methodType
21573 21574 21575 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21573 def method_type @method_type end |
#output_schema ⇒ Hash<String,Object>
Corresponds to the JSON property outputSchema
21578 21579 21580 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21578 def output_schema @output_schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21585 21586 21587 21588 21589 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21585 def update!(**args) @input_schema = args[:input_schema] if args.key?(:input_schema) @method_type = args[:method_type] if args.key?(:method_type) @output_schema = args[:output_schema] if args.key?(:output_schema) end |