Google Cloud Ces V1 Client - Class RemoteAgentTool (0.3.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class RemoteAgentTool.

Represents a tool that allows the agent to call another remote agent.

Generated from protobuf message google.cloud.ces.v1.RemoteAgentTool

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the tool.

↳ description string

Required. The description of the tool.

↳ agent_card AgentCard

Required. The agent card of the remote agent that this tool invokes.

getName

Required. The name of the tool.

Returns
Type Description
string

setName

Required. The name of the tool.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Required. The description of the tool.

Returns
Type Description
string

setDescription

Required. The description of the tool.

Parameter
Name Description
var string
Returns
Type Description
$this

getAgentCard

Required. The agent card of the remote agent that this tool invokes.

Returns
Type Description
AgentCard|null

hasAgentCard

clearAgentCard

setAgentCard

Required. The agent card of the remote agent that this tool invokes.

Parameter
Name Description
var AgentCard
Returns
Type Description
$this