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
Instance Attribute Summary collapse
-
#input_schema ⇒ Hash<String,Object>
Corresponds to the JSON property
inputSchema. -
#output_schema ⇒ Hash<String,Object>
Corresponds to the JSON property
outputSchema.
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.
12979 12980 12981 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12979 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_schema ⇒ Hash<String,Object>
Corresponds to the JSON property inputSchema
12972 12973 12974 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12972 def input_schema @input_schema end |
#output_schema ⇒ Hash<String,Object>
Corresponds to the JSON property outputSchema
12977 12978 12979 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12977 def output_schema @output_schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12984 12985 12986 12987 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12984 def update!(**args) @input_schema = args[:input_schema] if args.key?(:input_schema) @output_schema = args[:output_schema] if args.key?(:output_schema) end |