Skip to main content

v1_card

Creates, updates, deletes, gets or lists a v1_card resource.

Overview

Namev1_card
TypeResource
Idgoogle.discoveryengine.v1_card

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringA human readable name for the agent. Example: "Recipe Agent"
additionalInterfacesarrayAnnouncement of additional supported transports. Client can use any of the supported transports.
capabilitiesobjectA2A Capability set supported by the agent. (id: A2aV1AgentCapabilities)
defaultInputModesarrayprotolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills. This can be overridden per skill. Defined as mime types.
defaultOutputModesarrayThe mime types supported as outputs from this agent.
descriptionstringA description of the agent's domain of action/solution space. Example: "Agent that helps users with recipes and cooking."
documentationUrlstringA url to provide additional documentation about the agent.
iconUrlstringAn optional URL to an icon for the agent.
preferredTransportstringThe transport of the preferred endpoint. If empty, defaults to JSONRPC.
protocolVersionstringThe version of the A2A protocol this agent supports.
providerobjectThe service provider of the agent. (id: A2aV1AgentProvider)
securityarrayprotolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent. This list can be seen as an OR of ANDs. Each object in the list describes one possible set of security requirements that must be present on a request. This allows specifying, for example, "callers must either use OAuth OR an API Key AND mTLS." Example: security { schemes { key: "oauth" value { list: ["read"] } } } security { schemes { key: "api-key" } schemes { key: "mtls" } }
securitySchemesobjectThe security scheme details used for authenticating with this agent.
signaturesarrayJSON Web Signatures computed for this AgentCard.
skillsarraySkills 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.
supportsAuthenticatedExtendedCardbooleanWhether the agent supports providing an extended agent card when the user is authenticated, i.e. is the card from .well-known different than the card from GetAgentCard.
urlstringA URL to the address the agent is hosted at. This represents the preferred endpoint as declared by the agent.
versionstringThe version of the agent. Example: "1.0.0"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_collections_engines_assistants_agents_a2a_v1_get_cardselectprojectsId, locationsId, collectionsId, enginesId, assistantsId, agentsIdGetAgentCard returns the agent card for the agent.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
agentsIdstring
assistantsIdstring
collectionsIdstring
enginesIdstring
locationsIdstring
projectsIdstring

SELECT examples

GetAgentCard returns the agent card for the agent.

SELECT
name,
additionalInterfaces,
capabilities,
defaultInputModes,
defaultOutputModes,
description,
documentationUrl,
iconUrl,
preferredTransport,
protocolVersion,
provider,
security,
securitySchemes,
signatures,
skills,
supportsAuthenticatedExtendedCard,
url,
version
FROM google.discoveryengine.v1_card
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND collectionsId = '{{ collectionsId }}' -- required
AND enginesId = '{{ enginesId }}' -- required
AND assistantsId = '{{ assistantsId }}' -- required
AND agentsId = '{{ agentsId }}' -- required
;