Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ToolCall

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1ToolCall

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1ToolCall.



17333
17334
17335
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17333

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#inputHash<String,Object>

Output only. The input arguments to the tool. Corresponds to the JSON property input

Returns:

  • (Hash<String,Object>)


17326
17327
17328
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17326

def input
  @input
end

#tool_nameString

Output only. The name of the tool being called. Corresponds to the JSON property toolName

Returns:

  • (String)


17331
17332
17333
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17331

def tool_name
  @tool_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17338
17339
17340
17341
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17338

def update!(**args)
  @input = args[:input] if args.key?(:input)
  @tool_name = args[:tool_name] if args.key?(:tool_name)
end