Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolFunctionTool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolFunctionTool
- 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
A Function tool describes the functions to be invoked on the client side.
Instance Attribute Summary collapse
-
#input_schema ⇒ Hash<String,Object>
Optional.
-
#output_schema ⇒ Hash<String,Object>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolFunctionTool
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolFunctionTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolFunctionTool
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolFunctionTool.
13023 13024 13025 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13023 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_schema ⇒ Hash<String,Object>
Optional. The JSON schema is encapsulated in a google.protobuf.Struct to
describe the input of the function. This input is a JSON object that contains
the function's parameters as properties of the object.
Corresponds to the JSON property inputSchema
13014 13015 13016 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13014 def input_schema @input_schema end |
#output_schema ⇒ Hash<String,Object>
Optional. The JSON schema is encapsulated in a google.protobuf.Struct to
describe the output of the function. This output is a JSON object that
contains the function's parameters as properties of the object.
Corresponds to the JSON property outputSchema
13021 13022 13023 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13021 def output_schema @output_schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13028 13029 13030 13031 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13028 def update!(**args) @input_schema = args[:input_schema] if args.key?(:input_schema) @output_schema = args[:output_schema] if args.key?(:output_schema) end |