Reference documentation and code samples for the Google Cloud Agent Registry V1 Client class Card.
Full Agent Card payload, often obtained from the A2A Agent Card.
Generated from protobuf message google.cloud.agentregistry.v1.Agent.Card
Namespace
Google \ Cloud \ AgentRegistry \ V1 \ AgentMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
int
Output only. The type of agent card. |
↳ content |
Google\Protobuf\Struct
Output only. The content of the agent card. |
getType
Output only. The type of agent card.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Type. |
setType
Output only. The type of agent card.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Type. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getContent
Output only. The content of the agent card.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasContent
clearContent
setContent
Output only. The content of the agent card.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|