Resource: Service
Represents a user-defined Service.
| JSON representation |
|---|
{ "name": string, "displayName": string, "description": string, "interfaces": [ { object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the Service. Format: |
displayName |
Optional. User-defined display name for the Service. Can have a maximum length of |
description |
Optional. User-defined description of an Service. Can have a maximum length of |
interfaces[] |
Optional. The connection details for the Service. |
registryResource |
Output only. The resource name of the resulting Agent, MCP Server, or Endpoint. Format:
|
createTime |
Output only. Create time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Update time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field spec. The spec of the service. At least one of the specs must be set. spec can be only one of the following: |
|
agentSpec |
Optional. The spec of the Agent. When |
mcpServerSpec |
Optional. The spec of the MCP Server. When |
endpointSpec |
Optional. The spec of the Endpoint. When |
AgentSpec
The spec of the agent.
| JSON representation |
|---|
{
"type": enum ( |
| Fields | |
|---|---|
type |
Required. The type of the agent spec content. |
content |
Optional. The content of the Agent spec in the JSON format. This payload is validated against the schema for the specified type. The content size is limited to |
Type
The type of the agent spec.
| Enums | |
|---|---|
TYPE_UNSPECIFIED |
Unspecified type. |
NO_SPEC |
There is no spec for the Agent. The content field must be empty. |
A2A_AGENT_CARD |
The content is an A2A Agent Card following the A2A specification. The interfaces field must be empty. |
McpServerSpec
The spec of the MCP Server.
| JSON representation |
|---|
{
"type": enum ( |
| Fields | |
|---|---|
type |
Required. The type of the MCP Server spec content. |
content |
Optional. The content of the MCP Server spec. This payload is validated against the schema for the specified type. The content size is limited to |
Type
The type of the MCP Server spec.
| Enums | |
|---|---|
TYPE_UNSPECIFIED |
Unspecified type. |
NO_SPEC |
There is no spec for the MCP Server. The content field must be empty. |
TOOL_SPEC |
The content is a MCP Tool Spec following the One MCP specification. The payload is the same as the tools/list response. |
EndpointSpec
The spec of the endpoint.
| JSON representation |
|---|
{
"type": enum ( |
| Fields | |
|---|---|
type |
Required. The type of the endpoint spec content. |
content |
Optional. The content of the endpoint spec. Reserved for future use. |
Type
The type of the endpoint spec.
| Enums | |
|---|---|
TYPE_UNSPECIFIED |
Unspecified type. |
NO_SPEC |
There is no spec for the Endpoint. The content field must be empty. |
Methods |
|
|---|---|
|
Creates a new Service in a given project and location. |
|
Deletes a single Service. |
|
Gets details of a single Service. |
|
Lists Services in a given project and location. |
|
Updates the parameters of a single Service. |