Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolFunctionTool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolFunctionTool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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) ⇒ GoogleCloudDialogflowV2ToolFunctionTool
constructor
A new instance of GoogleCloudDialogflowV2ToolFunctionTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolFunctionTool
Returns a new instance of GoogleCloudDialogflowV2ToolFunctionTool.
17714 17715 17716 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17714 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_schema ⇒ Hash<String,Object>
Corresponds to the JSON property inputSchema
17702 17703 17704 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17702 def input_schema @input_schema end |
#method_type ⇒ String
Corresponds to the JSON property methodType
17707 17708 17709 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17707 def method_type @method_type end |
#output_schema ⇒ Hash<String,Object>
Corresponds to the JSON property outputSchema
17712 17713 17714 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17712 def output_schema @output_schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17719 17720 17721 17722 17723 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17719 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 |