Class Service (0.1.0)

Service(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a user-defined Service.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
agent_spec google.cloud.agentregistry_v1.types.Service.AgentSpec
Optional. The spec of the Agent. When agent_spec is set, the type of the service is Agent. This field is a member of oneof_ spec.
mcp_server_spec google.cloud.agentregistry_v1.types.Service.McpServerSpec
Optional. The spec of the MCP Server. When mcp_server_spec is set, the type of the service is MCP Server. This field is a member of oneof_ spec.
endpoint_spec google.cloud.agentregistry_v1.types.Service.EndpointSpec
Optional. The spec of the Endpoint. When endpoint_spec is set, the type of the service is Endpoint. This field is a member of oneof_ spec.
name str
Identifier. The resource name of the Service. Format: projects/{project}/locations/{location}/services/{service}.
display_name str
Optional. User-defined display name for the Service. Can have a maximum length of 63 characters.
description str
Optional. User-defined description of an Service. Can have a maximum length of 2048 characters.
interfaces MutableSequence[google.cloud.agentregistry_v1.types.Interface]
Optional. The connection details for the Service.
registry_resource str
Output only. The resource name of the resulting Agent, MCP Server, or Endpoint. Format: - projects/{project}/locations/{location}/mcpServers/{mcp_server} - projects/{project}/locations/{location}/agents/{agent} - projects/{project}/locations/{location}/endpoints/{endpoint}
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Create time.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Update time.

Classes

AgentSpec

AgentSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The spec of the agent.

EndpointSpec

EndpointSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The spec of the endpoint.

McpServerSpec

McpServerSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The spec of the MCP Server.