Reference documentation and code samples for the Google Cloud Ces V1 Client class AgentCard.
AgentCard conveys key information about a remote agent.
It is a trimmed version of the AgentCard defined in the A2A protocol https://a2a-protocol.org/dev/specification/#441-agentcard
Generated from protobuf message google.cloud.ces.v1.AgentCard
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. A human-readable name for the agent. |
↳ description |
string
Required. A description of the agent's domain of action/solution space. |
↳ supported_interfaces |
array<AgentInterface>
Required. Ordered list of supported interfaces. The first entry is preferred. |
↳ version |
string
Required. The version of the agent. |
↳ skills |
array<AgentSkill>
Required. Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at. |
getName
Required. A human-readable name for the agent.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. A human-readable name for the agent.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Required. A description of the agent's domain of action/solution space.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Required. A description of the agent's domain of action/solution space.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSupportedInterfaces
Required. Ordered list of supported interfaces. The first entry is preferred.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<AgentInterface> |
|
setSupportedInterfaces
Required. Ordered list of supported interfaces. The first entry is preferred.
| Parameter | |
|---|---|
| Name | Description |
var |
array<AgentInterface>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersion
Required. The version of the agent.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersion
Required. The version of the agent.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSkills
Required. Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<AgentSkill> |
|
setSkills
Required. Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at.
| Parameter | |
|---|---|
| Name | Description |
var |
array<AgentSkill>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|