Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ToolCall
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ToolCall
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb
Overview
A tool call from the agent.
Instance Attribute Summary collapse
-
#input ⇒ Hash<String,Object>
Output only.
-
#tool_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ToolCall
constructor
A new instance of GoogleCloudContactcenterinsightsV1ToolCall.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ToolCall
Returns a new instance of GoogleCloudContactcenterinsightsV1ToolCall.
11173 11174 11175 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11173 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input ⇒ Hash<String,Object>
Output only. The input arguments to the tool.
Corresponds to the JSON property input
11166 11167 11168 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11166 def input @input end |
#tool_name ⇒ String
Output only. The name of the tool being called.
Corresponds to the JSON property toolName
11171 11172 11173 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11171 def tool_name @tool_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11178 11179 11180 11181 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11178 def update!(**args) @input = args[:input] if args.key?(:input) @tool_name = args[:tool_name] if args.key?(:tool_name) end |