Constants
AgentRegistry_ListAgents_FullMethodName, AgentRegistry_SearchAgents_FullMethodName, AgentRegistry_GetAgent_FullMethodName, AgentRegistry_ListEndpoints_FullMethodName, AgentRegistry_GetEndpoint_FullMethodName, AgentRegistry_ListMcpServers_FullMethodName, AgentRegistry_SearchMcpServers_FullMethodName, AgentRegistry_GetMcpServer_FullMethodName, AgentRegistry_ListServices_FullMethodName, AgentRegistry_GetService_FullMethodName, AgentRegistry_CreateService_FullMethodName, AgentRegistry_UpdateService_FullMethodName, AgentRegistry_DeleteService_FullMethodName, AgentRegistry_ListBindings_FullMethodName, AgentRegistry_GetBinding_FullMethodName, AgentRegistry_CreateBinding_FullMethodName, AgentRegistry_UpdateBinding_FullMethodName, AgentRegistry_DeleteBinding_FullMethodName, AgentRegistry_FetchAvailableBindings_FullMethodName
const (
AgentRegistry_ListAgents_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/ListAgents"
AgentRegistry_SearchAgents_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/SearchAgents"
AgentRegistry_GetAgent_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/GetAgent"
AgentRegistry_ListEndpoints_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/ListEndpoints"
AgentRegistry_GetEndpoint_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/GetEndpoint"
AgentRegistry_ListMcpServers_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/ListMcpServers"
AgentRegistry_SearchMcpServers_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/SearchMcpServers"
AgentRegistry_GetMcpServer_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/GetMcpServer"
AgentRegistry_ListServices_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/ListServices"
AgentRegistry_GetService_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/GetService"
AgentRegistry_CreateService_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/CreateService"
AgentRegistry_UpdateService_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/UpdateService"
AgentRegistry_DeleteService_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/DeleteService"
AgentRegistry_ListBindings_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/ListBindings"
AgentRegistry_GetBinding_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/GetBinding"
AgentRegistry_CreateBinding_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/CreateBinding"
AgentRegistry_UpdateBinding_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/UpdateBinding"
AgentRegistry_DeleteBinding_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/DeleteBinding"
AgentRegistry_FetchAvailableBindings_FullMethodName = "/google.cloud.agentregistry.v1.AgentRegistry/FetchAvailableBindings"
)Variables
Agent_Protocol_Type_name, Agent_Protocol_Type_value
var (
Agent_Protocol_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "A2A_AGENT",
2: "CUSTOM",
}
Agent_Protocol_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"A2A_AGENT": 1,
"CUSTOM": 2,
}
)Enum value maps for Agent_Protocol_Type.
Agent_Card_Type_name, Agent_Card_Type_value
var (
Agent_Card_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "A2A_AGENT_CARD",
}
Agent_Card_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"A2A_AGENT_CARD": 1,
}
)Enum value maps for Agent_Card_Type.
Interface_ProtocolBinding_name, Interface_ProtocolBinding_value
var (
Interface_ProtocolBinding_name = map[int32]string{
0: "PROTOCOL_BINDING_UNSPECIFIED",
1: "JSONRPC",
2: "GRPC",
3: "HTTP_JSON",
}
Interface_ProtocolBinding_value = map[string]int32{
"PROTOCOL_BINDING_UNSPECIFIED": 0,
"JSONRPC": 1,
"GRPC": 2,
"HTTP_JSON": 3,
}
)Enum value maps for Interface_ProtocolBinding.
Service_AgentSpec_Type_name, Service_AgentSpec_Type_value
var (
Service_AgentSpec_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "NO_SPEC",
2: "A2A_AGENT_CARD",
}
Service_AgentSpec_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"NO_SPEC": 1,
"A2A_AGENT_CARD": 2,
}
)Enum value maps for Service_AgentSpec_Type.
Service_McpServerSpec_Type_name, Service_McpServerSpec_Type_value
var (
Service_McpServerSpec_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "NO_SPEC",
2: "TOOL_SPEC",
}
Service_McpServerSpec_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"NO_SPEC": 1,
"TOOL_SPEC": 2,
}
)Enum value maps for Service_McpServerSpec_Type.
Service_EndpointSpec_Type_name, Service_EndpointSpec_Type_value
var (
Service_EndpointSpec_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "NO_SPEC",
}
Service_EndpointSpec_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"NO_SPEC": 1,
}
)Enum value maps for Service_EndpointSpec_Type.
AgentRegistry_ServiceDesc
var AgentRegistry_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.agentregistry.v1.AgentRegistry",
HandlerType: (*AgentRegistryServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListAgents",
Handler: _AgentRegistry_ListAgents_Handler,
},
{
MethodName: "SearchAgents",
Handler: _AgentRegistry_SearchAgents_Handler,
},
{
MethodName: "GetAgent",
Handler: _AgentRegistry_GetAgent_Handler,
},
{
MethodName: "ListEndpoints",
Handler: _AgentRegistry_ListEndpoints_Handler,
},
{
MethodName: "GetEndpoint",
Handler: _AgentRegistry_GetEndpoint_Handler,
},
{
MethodName: "ListMcpServers",
Handler: _AgentRegistry_ListMcpServers_Handler,
},
{
MethodName: "SearchMcpServers",
Handler: _AgentRegistry_SearchMcpServers_Handler,
},
{
MethodName: "GetMcpServer",
Handler: _AgentRegistry_GetMcpServer_Handler,
},
{
MethodName: "ListServices",
Handler: _AgentRegistry_ListServices_Handler,
},
{
MethodName: "GetService",
Handler: _AgentRegistry_GetService_Handler,
},
{
MethodName: "CreateService",
Handler: _AgentRegistry_CreateService_Handler,
},
{
MethodName: "UpdateService",
Handler: _AgentRegistry_UpdateService_Handler,
},
{
MethodName: "DeleteService",
Handler: _AgentRegistry_DeleteService_Handler,
},
{
MethodName: "ListBindings",
Handler: _AgentRegistry_ListBindings_Handler,
},
{
MethodName: "GetBinding",
Handler: _AgentRegistry_GetBinding_Handler,
},
{
MethodName: "CreateBinding",
Handler: _AgentRegistry_CreateBinding_Handler,
},
{
MethodName: "UpdateBinding",
Handler: _AgentRegistry_UpdateBinding_Handler,
},
{
MethodName: "DeleteBinding",
Handler: _AgentRegistry_DeleteBinding_Handler,
},
{
MethodName: "FetchAvailableBindings",
Handler: _AgentRegistry_FetchAvailableBindings_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/agentregistry/v1/agentregistry_service.proto",
}AgentRegistry_ServiceDesc is the grpc.ServiceDesc for AgentRegistry service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_agentregistry_v1_agent_proto
var File_google_cloud_agentregistry_v1_agent_proto protoreflect.FileDescriptorFile_google_cloud_agentregistry_v1_agentregistry_service_proto
var File_google_cloud_agentregistry_v1_agentregistry_service_proto protoreflect.FileDescriptorFile_google_cloud_agentregistry_v1_binding_proto
var File_google_cloud_agentregistry_v1_binding_proto protoreflect.FileDescriptorFile_google_cloud_agentregistry_v1_endpoint_proto
var File_google_cloud_agentregistry_v1_endpoint_proto protoreflect.FileDescriptorFile_google_cloud_agentregistry_v1_mcp_server_proto
var File_google_cloud_agentregistry_v1_mcp_server_proto protoreflect.FileDescriptorFile_google_cloud_agentregistry_v1_properties_proto
var File_google_cloud_agentregistry_v1_properties_proto protoreflect.FileDescriptorFile_google_cloud_agentregistry_v1_service_proto
var File_google_cloud_agentregistry_v1_service_proto protoreflect.FileDescriptorFunctions
func RegisterAgentRegistryServer
func RegisterAgentRegistryServer(s grpc.ServiceRegistrar, srv AgentRegistryServer)Agent
type Agent struct {
// Identifier. The resource name of an Agent.
// Format: `projects/{project}/locations/{location}/agents/{agent}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. A stable, globally unique identifier for agents.
AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
// Output only. The location where agent is hosted. The value is defined by
// the hosting environment (i.e. cloud provider).
Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
// Output only. The display name of the agent, often obtained from the A2A
// Agent Card.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The description of the Agent, often obtained from the A2A
// Agent Card. Empty if Agent Card has no description.
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The version of the Agent, often obtained from the A2A Agent
// Card. Empty if Agent Card has no version or agent is not an A2A Agent.
Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
// Output only. The connection details for the Agent.
Protocols []*Agent_Protocol `protobuf:"bytes,8,rep,name=protocols,proto3" json:"protocols,omitempty"`
// Output only. Skills the agent possesses, often obtained from the A2A Agent
// Card.
Skills []*Agent_Skill `protobuf:"bytes,9,rep,name=skills,proto3" json:"skills,omitempty"`
// Output only. A universally unique identifier for the Agent.
Uid string `protobuf:"bytes,10,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. Create time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Update time.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Attributes of the Agent.
// Valid values:
//
// - `agentregistry.googleapis.com/system/Framework`: {"framework":
// "google-adk"} - the agent framework used to develop the Agent. Example
// values: "google-adk", "langchain", "custom".
// - `agentregistry.googleapis.com/system/RuntimeIdentity`: {"principal":
// "principal://..."} - the runtime identity associated with the Agent.
// - `agentregistry.googleapis.com/system/RuntimeReference`: {"uri": "//..."}
// - the URI of the underlying resource hosting the Agent, for
// example, the Reasoning Engine URI.
Attributes map[string]*structpb.Struct `protobuf:"bytes,13,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. Full Agent Card payload, when available.
Card *Agent_Card `protobuf:"bytes,14,opt,name=card,proto3" json:"card,omitempty"`
// contains filtered or unexported fields
}Represents an Agent. "A2A" below refers to the Agent-to-Agent protocol.
func (*Agent) Descriptor
Deprecated: Use Agent.ProtoReflect.Descriptor instead.
func (*Agent) GetAgentId
func (*Agent) GetAttributes
func (*Agent) GetCard
func (x *Agent) GetCard() *Agent_Cardfunc (*Agent) GetCreateTime
func (x *Agent) GetCreateTime() *timestamppb.Timestampfunc (*Agent) GetDescription
func (*Agent) GetDisplayName
func (*Agent) GetLocation
func (*Agent) GetName
func (*Agent) GetProtocols
func (x *Agent) GetProtocols() []*Agent_Protocolfunc (*Agent) GetSkills
func (x *Agent) GetSkills() []*Agent_Skillfunc (*Agent) GetUid
func (*Agent) GetUpdateTime
func (x *Agent) GetUpdateTime() *timestamppb.Timestampfunc (*Agent) GetVersion
func (*Agent) ProtoMessage
func (*Agent) ProtoMessage()func (*Agent) ProtoReflect
func (x *Agent) ProtoReflect() protoreflect.Messagefunc (*Agent) Reset
func (x *Agent) Reset()func (*Agent) String
AgentRegistryClient
type AgentRegistryClient interface {
// Lists Agents in a given project and location.
ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResponse, error)
// Searches Agents in a given project and location.
SearchAgents(ctx context.Context, in *SearchAgentsRequest, opts ...grpc.CallOption) (*SearchAgentsResponse, error)
// Gets details of a single Agent.
GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error)
// Lists Endpoints in a given project and location.
ListEndpoints(ctx context.Context, in *ListEndpointsRequest, opts ...grpc.CallOption) (*ListEndpointsResponse, error)
// Gets details of a single Endpoint.
GetEndpoint(ctx context.Context, in *GetEndpointRequest, opts ...grpc.CallOption) (*Endpoint, error)
// Lists McpServers in a given project and location.
ListMcpServers(ctx context.Context, in *ListMcpServersRequest, opts ...grpc.CallOption) (*ListMcpServersResponse, error)
// Searches McpServers in a given project and location.
SearchMcpServers(ctx context.Context, in *SearchMcpServersRequest, opts ...grpc.CallOption) (*SearchMcpServersResponse, error)
// Gets details of a single McpServer.
GetMcpServer(ctx context.Context, in *GetMcpServerRequest, opts ...grpc.CallOption) (*McpServer, error)
// Lists Services in a given project and location.
ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
// Gets details of a single Service.
GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error)
// Creates a new Service in a given project and location.
CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Service.
UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Service.
DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Bindings in a given project and location.
ListBindings(ctx context.Context, in *ListBindingsRequest, opts ...grpc.CallOption) (*ListBindingsResponse, error)
// Gets details of a single Binding.
GetBinding(ctx context.Context, in *GetBindingRequest, opts ...grpc.CallOption) (*Binding, error)
// Creates a new Binding in a given project and location.
CreateBinding(ctx context.Context, in *CreateBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Binding.
UpdateBinding(ctx context.Context, in *UpdateBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Binding.
DeleteBinding(ctx context.Context, in *DeleteBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Fetches available Bindings.
FetchAvailableBindings(ctx context.Context, in *FetchAvailableBindingsRequest, opts ...grpc.CallOption) (*FetchAvailableBindingsResponse, error)
}AgentRegistryClient is the client API for AgentRegistry service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAgentRegistryClient
func NewAgentRegistryClient(cc grpc.ClientConnInterface) AgentRegistryClientAgentRegistryServer
type AgentRegistryServer interface {
// Lists Agents in a given project and location.
ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error)
// Searches Agents in a given project and location.
SearchAgents(context.Context, *SearchAgentsRequest) (*SearchAgentsResponse, error)
// Gets details of a single Agent.
GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
// Lists Endpoints in a given project and location.
ListEndpoints(context.Context, *ListEndpointsRequest) (*ListEndpointsResponse, error)
// Gets details of a single Endpoint.
GetEndpoint(context.Context, *GetEndpointRequest) (*Endpoint, error)
// Lists McpServers in a given project and location.
ListMcpServers(context.Context, *ListMcpServersRequest) (*ListMcpServersResponse, error)
// Searches McpServers in a given project and location.
SearchMcpServers(context.Context, *SearchMcpServersRequest) (*SearchMcpServersResponse, error)
// Gets details of a single McpServer.
GetMcpServer(context.Context, *GetMcpServerRequest) (*McpServer, error)
// Lists Services in a given project and location.
ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
// Gets details of a single Service.
GetService(context.Context, *GetServiceRequest) (*Service, error)
// Creates a new Service in a given project and location.
CreateService(context.Context, *CreateServiceRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Service.
UpdateService(context.Context, *UpdateServiceRequest) (*longrunningpb.Operation, error)
// Deletes a single Service.
DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error)
// Lists Bindings in a given project and location.
ListBindings(context.Context, *ListBindingsRequest) (*ListBindingsResponse, error)
// Gets details of a single Binding.
GetBinding(context.Context, *GetBindingRequest) (*Binding, error)
// Creates a new Binding in a given project and location.
CreateBinding(context.Context, *CreateBindingRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Binding.
UpdateBinding(context.Context, *UpdateBindingRequest) (*longrunningpb.Operation, error)
// Deletes a single Binding.
DeleteBinding(context.Context, *DeleteBindingRequest) (*longrunningpb.Operation, error)
// Fetches available Bindings.
FetchAvailableBindings(context.Context, *FetchAvailableBindingsRequest) (*FetchAvailableBindingsResponse, error)
}AgentRegistryServer is the server API for AgentRegistry service. All implementations should embed UnimplementedAgentRegistryServer for forward compatibility
Agent_Card
type Agent_Card struct {
// Output only. The type of agent card.
Type Agent_Card_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.agentregistry.v1.Agent_Card_Type" json:"type,omitempty"`
// Output only. The content of the agent card.
Content *structpb.Struct `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}Full Agent Card payload, often obtained from the A2A Agent Card.
func (*Agent_Card) Descriptor
func (*Agent_Card) Descriptor() ([]byte, []int)Deprecated: Use Agent_Card.ProtoReflect.Descriptor instead.
func (*Agent_Card) GetContent
func (x *Agent_Card) GetContent() *structpb.Structfunc (*Agent_Card) GetType
func (x *Agent_Card) GetType() Agent_Card_Typefunc (*Agent_Card) ProtoMessage
func (*Agent_Card) ProtoMessage()func (*Agent_Card) ProtoReflect
func (x *Agent_Card) ProtoReflect() protoreflect.Messagefunc (*Agent_Card) Reset
func (x *Agent_Card) Reset()func (*Agent_Card) String
func (x *Agent_Card) String() stringAgent_Card_Type
type Agent_Card_Type int32Represents the type of the agent card.
Agent_Card_TYPE_UNSPECIFIED, Agent_Card_A2A_AGENT_CARD
const (
// Unspecified type.
Agent_Card_TYPE_UNSPECIFIED Agent_Card_Type = 0
// Indicates that the card is an A2A Agent Card.
Agent_Card_A2A_AGENT_CARD Agent_Card_Type = 1
)func (Agent_Card_Type) Descriptor
func (Agent_Card_Type) Descriptor() protoreflect.EnumDescriptorfunc (Agent_Card_Type) Enum
func (x Agent_Card_Type) Enum() *Agent_Card_Typefunc (Agent_Card_Type) EnumDescriptor
func (Agent_Card_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use Agent_Card_Type.Descriptor instead.
func (Agent_Card_Type) Number
func (x Agent_Card_Type) Number() protoreflect.EnumNumberfunc (Agent_Card_Type) String
func (x Agent_Card_Type) String() stringfunc (Agent_Card_Type) Type
func (Agent_Card_Type) Type() protoreflect.EnumTypeAgent_Protocol
type Agent_Protocol struct {
// Output only. The type of the protocol.
Type Agent_Protocol_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.agentregistry.v1.Agent_Protocol_Type" json:"type,omitempty"`
// Output only. The version of the protocol, for example, the A2A Agent Card
// version.
ProtocolVersion string `protobuf:"bytes,2,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
// Output only. The connection details for the Agent.
Interfaces []*Interface `protobuf:"bytes,3,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
// contains filtered or unexported fields
}Represents the protocol of an Agent.
func (*Agent_Protocol) Descriptor
func (*Agent_Protocol) Descriptor() ([]byte, []int)Deprecated: Use Agent_Protocol.ProtoReflect.Descriptor instead.
func (*Agent_Protocol) GetInterfaces
func (x *Agent_Protocol) GetInterfaces() []*Interfacefunc (*Agent_Protocol) GetProtocolVersion
func (x *Agent_Protocol) GetProtocolVersion() stringfunc (*Agent_Protocol) GetType
func (x *Agent_Protocol) GetType() Agent_Protocol_Typefunc (*Agent_Protocol) ProtoMessage
func (*Agent_Protocol) ProtoMessage()func (*Agent_Protocol) ProtoReflect
func (x *Agent_Protocol) ProtoReflect() protoreflect.Messagefunc (*Agent_Protocol) Reset
func (x *Agent_Protocol) Reset()func (*Agent_Protocol) String
func (x *Agent_Protocol) String() stringAgent_Protocol_Type
type Agent_Protocol_Type int32The type of the protocol.
Agent_Protocol_TYPE_UNSPECIFIED, Agent_Protocol_A2A_AGENT, Agent_Protocol_CUSTOM
const (
// Unspecified type.
Agent_Protocol_TYPE_UNSPECIFIED Agent_Protocol_Type = 0
// The interfaces point to an A2A Agent following the A2A
// specification.
Agent_Protocol_A2A_AGENT Agent_Protocol_Type = 1
// Agent does not follow any standard protocol.
Agent_Protocol_CUSTOM Agent_Protocol_Type = 2
)func (Agent_Protocol_Type) Descriptor
func (Agent_Protocol_Type) Descriptor() protoreflect.EnumDescriptorfunc (Agent_Protocol_Type) Enum
func (x Agent_Protocol_Type) Enum() *Agent_Protocol_Typefunc (Agent_Protocol_Type) EnumDescriptor
func (Agent_Protocol_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use Agent_Protocol_Type.Descriptor instead.
func (Agent_Protocol_Type) Number
func (x Agent_Protocol_Type) Number() protoreflect.EnumNumberfunc (Agent_Protocol_Type) String
func (x Agent_Protocol_Type) String() stringfunc (Agent_Protocol_Type) Type
func (Agent_Protocol_Type) Type() protoreflect.EnumTypeAgent_Skill
type Agent_Skill struct {
// Output only. A unique identifier for the agent's skill.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Output only. A human-readable name for the agent's skill.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Output only. A more detailed description of the skill.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Output only. Keywords describing the skill.
Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
// Output only. Example prompts or scenarios this skill can handle.
Examples []string `protobuf:"bytes,5,rep,name=examples,proto3" json:"examples,omitempty"`
// contains filtered or unexported fields
}Represents the skills of an Agent.
func (*Agent_Skill) Descriptor
func (*Agent_Skill) Descriptor() ([]byte, []int)Deprecated: Use Agent_Skill.ProtoReflect.Descriptor instead.
func (*Agent_Skill) GetDescription
func (x *Agent_Skill) GetDescription() stringfunc (*Agent_Skill) GetExamples
func (x *Agent_Skill) GetExamples() []stringfunc (*Agent_Skill) GetId
func (x *Agent_Skill) GetId() stringfunc (*Agent_Skill) GetName
func (x *Agent_Skill) GetName() stringfunc (*Agent_Skill) GetTags
func (x *Agent_Skill) GetTags() []stringfunc (*Agent_Skill) ProtoMessage
func (*Agent_Skill) ProtoMessage()func (*Agent_Skill) ProtoReflect
func (x *Agent_Skill) ProtoReflect() protoreflect.Messagefunc (*Agent_Skill) Reset
func (x *Agent_Skill) Reset()func (*Agent_Skill) String
func (x *Agent_Skill) String() stringBinding
type Binding struct {
// The configuration for the Binding.
//
// Types that are valid to be assigned to Binding:
//
// *Binding_AuthProviderBinding_
Binding isBinding_Binding `protobuf_oneof:"binding"`
// Required. Identifier. The resource name of the Binding.
// Format: `projects/{project}/locations/{location}/bindings/{binding}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. User-defined display name for the Binding.
// Can have a maximum length of `63` characters.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. User-defined description of a Binding.
// Can have a maximum length of `2048` characters.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Required. The target Agent of the Binding.
Source *Binding_Source `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
// Required. The target Agent Registry Resource of the Binding.
Target *Binding_Target `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Timestamp when this binding was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Timestamp when this binding was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}Represents a user-defined Binding.
func (*Binding) Descriptor
Deprecated: Use Binding.ProtoReflect.Descriptor instead.
func (*Binding) GetAuthProviderBinding
func (x *Binding) GetAuthProviderBinding() *Binding_AuthProviderBindingfunc (*Binding) GetBinding
func (x *Binding) GetBinding() isBinding_Bindingfunc (*Binding) GetCreateTime
func (x *Binding) GetCreateTime() *timestamppb.Timestampfunc (*Binding) GetDescription
func (*Binding) GetDisplayName
func (*Binding) GetName
func (*Binding) GetSource
func (x *Binding) GetSource() *Binding_Sourcefunc (*Binding) GetTarget
func (x *Binding) GetTarget() *Binding_Targetfunc (*Binding) GetUpdateTime
func (x *Binding) GetUpdateTime() *timestamppb.Timestampfunc (*Binding) ProtoMessage
func (*Binding) ProtoMessage()func (*Binding) ProtoReflect
func (x *Binding) ProtoReflect() protoreflect.Messagefunc (*Binding) Reset
func (x *Binding) Reset()func (*Binding) String
Binding_AuthProviderBinding
type Binding_AuthProviderBinding struct {
// Required. The resource name of the target AuthProvider.
// Format:
//
// * `projects/{project}/locations/{location}/authProviders/{auth_provider}`
AuthProvider string `protobuf:"bytes,1,opt,name=auth_provider,json=authProvider,proto3" json:"auth_provider,omitempty"`
// Optional. The list of OAuth2 scopes of the AuthProvider.
Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
// Optional. The continue URI of the AuthProvider.
// The URI is used to reauthenticate the user and finalize the managed OAuth
// flow.
ContinueUri string `protobuf:"bytes,3,opt,name=continue_uri,json=continueUri,proto3" json:"continue_uri,omitempty"`
// contains filtered or unexported fields
}The AuthProvider of the Binding.
func (*Binding_AuthProviderBinding) Descriptor
func (*Binding_AuthProviderBinding) Descriptor() ([]byte, []int)Deprecated: Use Binding_AuthProviderBinding.ProtoReflect.Descriptor instead.
func (*Binding_AuthProviderBinding) GetAuthProvider
func (x *Binding_AuthProviderBinding) GetAuthProvider() stringfunc (*Binding_AuthProviderBinding) GetContinueUri
func (x *Binding_AuthProviderBinding) GetContinueUri() stringfunc (*Binding_AuthProviderBinding) GetScopes
func (x *Binding_AuthProviderBinding) GetScopes() []stringfunc (*Binding_AuthProviderBinding) ProtoMessage
func (*Binding_AuthProviderBinding) ProtoMessage()func (*Binding_AuthProviderBinding) ProtoReflect
func (x *Binding_AuthProviderBinding) ProtoReflect() protoreflect.Messagefunc (*Binding_AuthProviderBinding) Reset
func (x *Binding_AuthProviderBinding) Reset()func (*Binding_AuthProviderBinding) String
func (x *Binding_AuthProviderBinding) String() stringBinding_AuthProviderBinding_
type Binding_AuthProviderBinding_ struct {
// The binding for AuthProvider.
AuthProviderBinding *Binding_AuthProviderBinding `protobuf:"bytes,6,opt,name=auth_provider_binding,json=authProviderBinding,proto3,oneof"`
}Binding_Source
type Binding_Source struct {
// The type of the source, currently only supports Agents.
// Potential future fields include 'tag', etc.
//
// Types that are valid to be assigned to SourceType:
//
// *Binding_Source_Identifier
SourceType isBinding_Source_SourceType `protobuf_oneof:"source_type"`
// contains filtered or unexported fields
}The source of the Binding.
func (*Binding_Source) Descriptor
func (*Binding_Source) Descriptor() ([]byte, []int)Deprecated: Use Binding_Source.ProtoReflect.Descriptor instead.
func (*Binding_Source) GetIdentifier
func (x *Binding_Source) GetIdentifier() stringfunc (*Binding_Source) GetSourceType
func (x *Binding_Source) GetSourceType() isBinding_Source_SourceTypefunc (*Binding_Source) ProtoMessage
func (*Binding_Source) ProtoMessage()func (*Binding_Source) ProtoReflect
func (x *Binding_Source) ProtoReflect() protoreflect.Messagefunc (*Binding_Source) Reset
func (x *Binding_Source) Reset()func (*Binding_Source) String
func (x *Binding_Source) String() stringBinding_Source_Identifier
type Binding_Source_Identifier struct {
// The identifier of the source Agent.
// Format:
//
// * `urn:agent:{publisher}:{namespace}:{name}`
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3,oneof"`
}Binding_Target
type Binding_Target struct {
// The type of the target, currently only supports an AgentRegistry
// Resource.
// Potential future fields include 'tag', etc.
//
// Types that are valid to be assigned to TargetType:
//
// *Binding_Target_Identifier
TargetType isBinding_Target_TargetType `protobuf_oneof:"target_type"`
// contains filtered or unexported fields
}The target of the Binding.
func (*Binding_Target) Descriptor
func (*Binding_Target) Descriptor() ([]byte, []int)Deprecated: Use Binding_Target.ProtoReflect.Descriptor instead.
func (*Binding_Target) GetIdentifier
func (x *Binding_Target) GetIdentifier() stringfunc (*Binding_Target) GetTargetType
func (x *Binding_Target) GetTargetType() isBinding_Target_TargetTypefunc (*Binding_Target) ProtoMessage
func (*Binding_Target) ProtoMessage()func (*Binding_Target) ProtoReflect
func (x *Binding_Target) ProtoReflect() protoreflect.Messagefunc (*Binding_Target) Reset
func (x *Binding_Target) Reset()func (*Binding_Target) String
func (x *Binding_Target) String() stringBinding_Target_Identifier
type Binding_Target_Identifier struct {
// The identifier of the target Agent, MCP Server, or Endpoint.
// Format:
//
// * `urn:agent:{publisher}:{namespace}:{name}`
// * `urn:mcp:{publisher}:{namespace}:{name}`
// * `urn:endpoint:{publisher}:{namespace}:{name}`
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3,oneof"`
}CreateBindingRequest
type CreateBindingRequest struct {
// Required. The project and location to create the Binding in.
// Expected format: `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for the binding, which will become the final
// component of the binding's resource name.
//
// This value should be 4-63 characters, and must conform to RFC-1034.
// Specifically, it must match the regular expression
// `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
BindingId string `protobuf:"bytes,2,opt,name=binding_id,json=bindingId,proto3" json:"binding_id,omitempty"`
// Required. The Binding resource that is being created.
Binding *Binding `protobuf:"bytes,3,opt,name=binding,proto3" json:"binding,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a Binding
func (*CreateBindingRequest) Descriptor
func (*CreateBindingRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateBindingRequest.ProtoReflect.Descriptor instead.
func (*CreateBindingRequest) GetBinding
func (x *CreateBindingRequest) GetBinding() *Bindingfunc (*CreateBindingRequest) GetBindingId
func (x *CreateBindingRequest) GetBindingId() stringfunc (*CreateBindingRequest) GetParent
func (x *CreateBindingRequest) GetParent() stringfunc (*CreateBindingRequest) GetRequestId
func (x *CreateBindingRequest) GetRequestId() stringfunc (*CreateBindingRequest) ProtoMessage
func (*CreateBindingRequest) ProtoMessage()func (*CreateBindingRequest) ProtoReflect
func (x *CreateBindingRequest) ProtoReflect() protoreflect.Messagefunc (*CreateBindingRequest) Reset
func (x *CreateBindingRequest) Reset()func (*CreateBindingRequest) String
func (x *CreateBindingRequest) String() stringCreateServiceRequest
type CreateServiceRequest struct {
// Required. The project and location to create the Service in.
// Expected format: `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for the service, which will become the final
// component of the service's resource name.
//
// This value should be 4-63 characters, and valid characters
// are `/[a-z][0-9]-/`.
ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
// Required. The Service resource that is being created.
// Format: `projects/{project}/locations/{location}/services/{service}`.
Service *Service `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a Service
func (*CreateServiceRequest) Descriptor
func (*CreateServiceRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateServiceRequest.ProtoReflect.Descriptor instead.
func (*CreateServiceRequest) GetParent
func (x *CreateServiceRequest) GetParent() stringfunc (*CreateServiceRequest) GetRequestId
func (x *CreateServiceRequest) GetRequestId() stringfunc (*CreateServiceRequest) GetService
func (x *CreateServiceRequest) GetService() *Servicefunc (*CreateServiceRequest) GetServiceId
func (x *CreateServiceRequest) GetServiceId() stringfunc (*CreateServiceRequest) ProtoMessage
func (*CreateServiceRequest) ProtoMessage()func (*CreateServiceRequest) ProtoReflect
func (x *CreateServiceRequest) ProtoReflect() protoreflect.Messagefunc (*CreateServiceRequest) Reset
func (x *CreateServiceRequest) Reset()func (*CreateServiceRequest) String
func (x *CreateServiceRequest) String() stringDeleteBindingRequest
type DeleteBindingRequest struct {
// Required. The name of the Binding.
// Format: `projects/{project}/locations/{location}/bindings/{binding}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a Binding
func (*DeleteBindingRequest) Descriptor
func (*DeleteBindingRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteBindingRequest.ProtoReflect.Descriptor instead.
func (*DeleteBindingRequest) GetName
func (x *DeleteBindingRequest) GetName() stringfunc (*DeleteBindingRequest) GetRequestId
func (x *DeleteBindingRequest) GetRequestId() stringfunc (*DeleteBindingRequest) ProtoMessage
func (*DeleteBindingRequest) ProtoMessage()func (*DeleteBindingRequest) ProtoReflect
func (x *DeleteBindingRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteBindingRequest) Reset
func (x *DeleteBindingRequest) Reset()func (*DeleteBindingRequest) String
func (x *DeleteBindingRequest) String() stringDeleteServiceRequest
type DeleteServiceRequest struct {
// Required. The name of the Service.
// Format: `projects/{project}/locations/{location}/services/{service}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a Service
func (*DeleteServiceRequest) Descriptor
func (*DeleteServiceRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceRequest) GetName
func (x *DeleteServiceRequest) GetName() stringfunc (*DeleteServiceRequest) GetRequestId
func (x *DeleteServiceRequest) GetRequestId() stringfunc (*DeleteServiceRequest) ProtoMessage
func (*DeleteServiceRequest) ProtoMessage()func (*DeleteServiceRequest) ProtoReflect
func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteServiceRequest) Reset
func (x *DeleteServiceRequest) Reset()func (*DeleteServiceRequest) String
func (x *DeleteServiceRequest) String() stringEndpoint
type Endpoint struct {
// Identifier. The resource name of the Endpoint.
// Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. A stable, globally unique identifier for Endpoint.
EndpointId string `protobuf:"bytes,8,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"`
// Output only. Display name for the Endpoint.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. Description of an Endpoint.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Required. The connection details for the Endpoint.
Interfaces []*Interface `protobuf:"bytes,4,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
// Output only. Create time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Update time.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Attributes of the Endpoint.
//
// Valid values:
//
// - `agentregistry.googleapis.com/system/RuntimeReference`:
// {"uri": "//..."} - the URI of the underlying resource hosting the
// Endpoint, for example, the GKE Deployment.
Attributes map[string]*structpb.Struct `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}Represents an Endpoint.
func (*Endpoint) Descriptor
Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.
func (*Endpoint) GetAttributes
func (*Endpoint) GetCreateTime
func (x *Endpoint) GetCreateTime() *timestamppb.Timestampfunc (*Endpoint) GetDescription
func (*Endpoint) GetDisplayName
func (*Endpoint) GetEndpointId
func (*Endpoint) GetInterfaces
func (*Endpoint) GetName
func (*Endpoint) GetUpdateTime
func (x *Endpoint) GetUpdateTime() *timestamppb.Timestampfunc (*Endpoint) ProtoMessage
func (*Endpoint) ProtoMessage()func (*Endpoint) ProtoReflect
func (x *Endpoint) ProtoReflect() protoreflect.Messagefunc (*Endpoint) Reset
func (x *Endpoint) Reset()func (*Endpoint) String
FetchAvailableBindingsRequest
type FetchAvailableBindingsRequest struct {
// The reference of the source Agent.
//
// Types that are valid to be assigned to Source:
//
// *FetchAvailableBindingsRequest_SourceIdentifier
Source isFetchAvailableBindingsRequest_Source `protobuf_oneof:"source"`
// The reference of the target Agent Registry resource.
//
// Types that are valid to be assigned to Target:
//
// *FetchAvailableBindingsRequest_TargetIdentifier
Target isFetchAvailableBindingsRequest_Target `protobuf_oneof:"target"`
// Required. The parent, in the format
// `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. Page size is 500 if unspecified and is capped at `500` even if a
// larger value is given.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Message for fetching available Bindings.
func (*FetchAvailableBindingsRequest) Descriptor
func (*FetchAvailableBindingsRequest) Descriptor() ([]byte, []int)Deprecated: Use FetchAvailableBindingsRequest.ProtoReflect.Descriptor instead.
func (*FetchAvailableBindingsRequest) GetPageSize
func (x *FetchAvailableBindingsRequest) GetPageSize() int32func (*FetchAvailableBindingsRequest) GetPageToken
func (x *FetchAvailableBindingsRequest) GetPageToken() stringfunc (*FetchAvailableBindingsRequest) GetParent
func (x *FetchAvailableBindingsRequest) GetParent() stringfunc (*FetchAvailableBindingsRequest) GetSource
func (x *FetchAvailableBindingsRequest) GetSource() isFetchAvailableBindingsRequest_Sourcefunc (*FetchAvailableBindingsRequest) GetSourceIdentifier
func (x *FetchAvailableBindingsRequest) GetSourceIdentifier() stringfunc (*FetchAvailableBindingsRequest) GetTarget
func (x *FetchAvailableBindingsRequest) GetTarget() isFetchAvailableBindingsRequest_Targetfunc (*FetchAvailableBindingsRequest) GetTargetIdentifier
func (x *FetchAvailableBindingsRequest) GetTargetIdentifier() stringfunc (*FetchAvailableBindingsRequest) ProtoMessage
func (*FetchAvailableBindingsRequest) ProtoMessage()func (*FetchAvailableBindingsRequest) ProtoReflect
func (x *FetchAvailableBindingsRequest) ProtoReflect() protoreflect.Messagefunc (*FetchAvailableBindingsRequest) Reset
func (x *FetchAvailableBindingsRequest) Reset()func (*FetchAvailableBindingsRequest) String
func (x *FetchAvailableBindingsRequest) String() stringFetchAvailableBindingsRequest_SourceIdentifier
type FetchAvailableBindingsRequest_SourceIdentifier struct {
// The identifier of the source Agent.
// Format:
//
// * `urn:agent:{publisher}:{namespace}:{name}`
SourceIdentifier string `protobuf:"bytes,2,opt,name=source_identifier,json=sourceIdentifier,proto3,oneof"`
}FetchAvailableBindingsRequest_TargetIdentifier
type FetchAvailableBindingsRequest_TargetIdentifier struct {
// Optional. The identifier of the target Agent, MCP Server, or Endpoint.
// Format:
//
// * `urn:agent:{publisher}:{namespace}:{name}`
// * `urn:mcp:{publisher}:{namespace}:{name}`
// * `urn:endpoint:{publisher}:{namespace}:{name}`
TargetIdentifier string `protobuf:"bytes,3,opt,name=target_identifier,json=targetIdentifier,proto3,oneof"`
}FetchAvailableBindingsResponse
type FetchAvailableBindingsResponse struct {
// The list of Bindings.
Bindings []*Binding `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response to fetching available Bindings.
func (*FetchAvailableBindingsResponse) Descriptor
func (*FetchAvailableBindingsResponse) Descriptor() ([]byte, []int)Deprecated: Use FetchAvailableBindingsResponse.ProtoReflect.Descriptor instead.
func (*FetchAvailableBindingsResponse) GetBindings
func (x *FetchAvailableBindingsResponse) GetBindings() []*Bindingfunc (*FetchAvailableBindingsResponse) GetNextPageToken
func (x *FetchAvailableBindingsResponse) GetNextPageToken() stringfunc (*FetchAvailableBindingsResponse) ProtoMessage
func (*FetchAvailableBindingsResponse) ProtoMessage()func (*FetchAvailableBindingsResponse) ProtoReflect
func (x *FetchAvailableBindingsResponse) ProtoReflect() protoreflect.Messagefunc (*FetchAvailableBindingsResponse) Reset
func (x *FetchAvailableBindingsResponse) Reset()func (*FetchAvailableBindingsResponse) String
func (x *FetchAvailableBindingsResponse) String() stringGetAgentRequest
type GetAgentRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a Agent
func (*GetAgentRequest) Descriptor
func (*GetAgentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetAgentRequest.ProtoReflect.Descriptor instead.
func (*GetAgentRequest) GetName
func (x *GetAgentRequest) GetName() stringfunc (*GetAgentRequest) ProtoMessage
func (*GetAgentRequest) ProtoMessage()func (*GetAgentRequest) ProtoReflect
func (x *GetAgentRequest) ProtoReflect() protoreflect.Messagefunc (*GetAgentRequest) Reset
func (x *GetAgentRequest) Reset()func (*GetAgentRequest) String
func (x *GetAgentRequest) String() stringGetBindingRequest
type GetBindingRequest struct {
// Required. The name of the Binding.
// Format: `projects/{project}/locations/{location}/bindings/{binding}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a Binding
func (*GetBindingRequest) Descriptor
func (*GetBindingRequest) Descriptor() ([]byte, []int)Deprecated: Use GetBindingRequest.ProtoReflect.Descriptor instead.
func (*GetBindingRequest) GetName
func (x *GetBindingRequest) GetName() stringfunc (*GetBindingRequest) ProtoMessage
func (*GetBindingRequest) ProtoMessage()func (*GetBindingRequest) ProtoReflect
func (x *GetBindingRequest) ProtoReflect() protoreflect.Messagefunc (*GetBindingRequest) Reset
func (x *GetBindingRequest) Reset()func (*GetBindingRequest) String
func (x *GetBindingRequest) String() stringGetEndpointRequest
type GetEndpointRequest struct {
// Required. The name of the endpoint to retrieve.
// Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a Endpoint
func (*GetEndpointRequest) Descriptor
func (*GetEndpointRequest) Descriptor() ([]byte, []int)Deprecated: Use GetEndpointRequest.ProtoReflect.Descriptor instead.
func (*GetEndpointRequest) GetName
func (x *GetEndpointRequest) GetName() stringfunc (*GetEndpointRequest) ProtoMessage
func (*GetEndpointRequest) ProtoMessage()func (*GetEndpointRequest) ProtoReflect
func (x *GetEndpointRequest) ProtoReflect() protoreflect.Messagefunc (*GetEndpointRequest) Reset
func (x *GetEndpointRequest) Reset()func (*GetEndpointRequest) String
func (x *GetEndpointRequest) String() stringGetMcpServerRequest
type GetMcpServerRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a McpServer
func (*GetMcpServerRequest) Descriptor
func (*GetMcpServerRequest) Descriptor() ([]byte, []int)Deprecated: Use GetMcpServerRequest.ProtoReflect.Descriptor instead.
func (*GetMcpServerRequest) GetName
func (x *GetMcpServerRequest) GetName() stringfunc (*GetMcpServerRequest) ProtoMessage
func (*GetMcpServerRequest) ProtoMessage()func (*GetMcpServerRequest) ProtoReflect
func (x *GetMcpServerRequest) ProtoReflect() protoreflect.Messagefunc (*GetMcpServerRequest) Reset
func (x *GetMcpServerRequest) Reset()func (*GetMcpServerRequest) String
func (x *GetMcpServerRequest) String() stringGetServiceRequest
type GetServiceRequest struct {
// Required. The name of the Service.
// Format: `projects/{project}/locations/{location}/services/{service}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a Service
func (*GetServiceRequest) Descriptor
func (*GetServiceRequest) Descriptor() ([]byte, []int)Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.
func (*GetServiceRequest) GetName
func (x *GetServiceRequest) GetName() stringfunc (*GetServiceRequest) ProtoMessage
func (*GetServiceRequest) ProtoMessage()func (*GetServiceRequest) ProtoReflect
func (x *GetServiceRequest) ProtoReflect() protoreflect.Messagefunc (*GetServiceRequest) Reset
func (x *GetServiceRequest) Reset()func (*GetServiceRequest) String
func (x *GetServiceRequest) String() stringInterface
type Interface struct {
// Required. The destination URL.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Required. The protocol binding of the interface.
ProtocolBinding Interface_ProtocolBinding `protobuf:"varint,2,opt,name=protocol_binding,json=protocolBinding,proto3,enum=google.cloud.agentregistry.v1.Interface_ProtocolBinding" json:"protocol_binding,omitempty"`
// contains filtered or unexported fields
}Represents the connection details for an Agent or MCP Server.
func (*Interface) Descriptor
Deprecated: Use Interface.ProtoReflect.Descriptor instead.
func (*Interface) GetProtocolBinding
func (x *Interface) GetProtocolBinding() Interface_ProtocolBindingfunc (*Interface) GetUrl
func (*Interface) ProtoMessage
func (*Interface) ProtoMessage()func (*Interface) ProtoReflect
func (x *Interface) ProtoReflect() protoreflect.Messagefunc (*Interface) Reset
func (x *Interface) Reset()func (*Interface) String
Interface_ProtocolBinding
type Interface_ProtocolBinding int32The protocol binding of the interface.
Interface_PROTOCOL_BINDING_UNSPECIFIED, Interface_JSONRPC, Interface_GRPC, Interface_HTTP_JSON
const (
// Unspecified transport protocol.
Interface_PROTOCOL_BINDING_UNSPECIFIED Interface_ProtocolBinding = 0
// JSON-RPC specification.
Interface_JSONRPC Interface_ProtocolBinding = 1
// gRPC specification.
Interface_GRPC Interface_ProtocolBinding = 2
// HTTP+JSON specification.
Interface_HTTP_JSON Interface_ProtocolBinding = 3
)func (Interface_ProtocolBinding) Descriptor
func (Interface_ProtocolBinding) Descriptor() protoreflect.EnumDescriptorfunc (Interface_ProtocolBinding) Enum
func (x Interface_ProtocolBinding) Enum() *Interface_ProtocolBindingfunc (Interface_ProtocolBinding) EnumDescriptor
func (Interface_ProtocolBinding) EnumDescriptor() ([]byte, []int)Deprecated: Use Interface_ProtocolBinding.Descriptor instead.
func (Interface_ProtocolBinding) Number
func (x Interface_ProtocolBinding) Number() protoreflect.EnumNumberfunc (Interface_ProtocolBinding) String
func (x Interface_ProtocolBinding) String() stringfunc (Interface_ProtocolBinding) Type
func (Interface_ProtocolBinding) Type() protoreflect.EnumTypeListAgentsRequest
type ListAgentsRequest struct {
// Required. Parent value for ListAgentsRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of Agents
func (*ListAgentsRequest) Descriptor
func (*ListAgentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListAgentsRequest.ProtoReflect.Descriptor instead.
func (*ListAgentsRequest) GetFilter
func (x *ListAgentsRequest) GetFilter() stringfunc (*ListAgentsRequest) GetOrderBy
func (x *ListAgentsRequest) GetOrderBy() stringfunc (*ListAgentsRequest) GetPageSize
func (x *ListAgentsRequest) GetPageSize() int32func (*ListAgentsRequest) GetPageToken
func (x *ListAgentsRequest) GetPageToken() stringfunc (*ListAgentsRequest) GetParent
func (x *ListAgentsRequest) GetParent() stringfunc (*ListAgentsRequest) ProtoMessage
func (*ListAgentsRequest) ProtoMessage()func (*ListAgentsRequest) ProtoReflect
func (x *ListAgentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAgentsRequest) Reset
func (x *ListAgentsRequest) Reset()func (*ListAgentsRequest) String
func (x *ListAgentsRequest) String() stringListAgentsResponse
type ListAgentsResponse struct {
// The list of Agents.
Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response to listing Agents
func (*ListAgentsResponse) Descriptor
func (*ListAgentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListAgentsResponse.ProtoReflect.Descriptor instead.
func (*ListAgentsResponse) GetAgents
func (x *ListAgentsResponse) GetAgents() []*Agentfunc (*ListAgentsResponse) GetNextPageToken
func (x *ListAgentsResponse) GetNextPageToken() stringfunc (*ListAgentsResponse) ProtoMessage
func (*ListAgentsResponse) ProtoMessage()func (*ListAgentsResponse) ProtoReflect
func (x *ListAgentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAgentsResponse) Reset
func (x *ListAgentsResponse) Reset()func (*ListAgentsResponse) String
func (x *ListAgentsResponse) String() stringListBindingsRequest
type ListBindingsRequest struct {
// Required. The project and location to list bindings in.
// Expected format: `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. Page size is 500 if unspecified and is capped at `500` even if a
// larger value is given.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A query string used to filter the list of bindings returned.
// The filter expression must follow AIP-160 syntax.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting a list of Bindings.
func (*ListBindingsRequest) Descriptor
func (*ListBindingsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListBindingsRequest.ProtoReflect.Descriptor instead.
func (*ListBindingsRequest) GetFilter
func (x *ListBindingsRequest) GetFilter() stringfunc (*ListBindingsRequest) GetOrderBy
func (x *ListBindingsRequest) GetOrderBy() stringfunc (*ListBindingsRequest) GetPageSize
func (x *ListBindingsRequest) GetPageSize() int32func (*ListBindingsRequest) GetPageToken
func (x *ListBindingsRequest) GetPageToken() stringfunc (*ListBindingsRequest) GetParent
func (x *ListBindingsRequest) GetParent() stringfunc (*ListBindingsRequest) ProtoMessage
func (*ListBindingsRequest) ProtoMessage()func (*ListBindingsRequest) ProtoReflect
func (x *ListBindingsRequest) ProtoReflect() protoreflect.Messagefunc (*ListBindingsRequest) Reset
func (x *ListBindingsRequest) Reset()func (*ListBindingsRequest) String
func (x *ListBindingsRequest) String() stringListBindingsResponse
type ListBindingsResponse struct {
// The list of Binding resources matching the parent and filter criteria in
// the request. Each Binding resource follows the format:
// `projects/{project}/locations/{location}/bindings/{binding}`.
Bindings []*Binding `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty"`
// A token identifying a page of results the server should return.
// Used in
// [page_token][google.cloud.agentregistry.v1main.ListBindingsRequest.page_token].
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response to listing Bindings
func (*ListBindingsResponse) Descriptor
func (*ListBindingsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListBindingsResponse.ProtoReflect.Descriptor instead.
func (*ListBindingsResponse) GetBindings
func (x *ListBindingsResponse) GetBindings() []*Bindingfunc (*ListBindingsResponse) GetNextPageToken
func (x *ListBindingsResponse) GetNextPageToken() stringfunc (*ListBindingsResponse) ProtoMessage
func (*ListBindingsResponse) ProtoMessage()func (*ListBindingsResponse) ProtoReflect
func (x *ListBindingsResponse) ProtoReflect() protoreflect.Messagefunc (*ListBindingsResponse) Reset
func (x *ListBindingsResponse) Reset()func (*ListBindingsResponse) String
func (x *ListBindingsResponse) String() stringListEndpointsRequest
type ListEndpointsRequest struct {
// Required. The project and location to list endpoints in.
// Expected format: `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A query string used to filter the list of endpoints returned.
// The filter expression must follow AIP-160 syntax.
//
// Filtering is supported on the `name`, `display_name`, `description`,
// `version`, and `interfaces` fields.
//
// Some examples:
//
// - `name = "projects/p1/locations/l1/endpoints/e1"`
// - `display_name = "my-endpoint"`
// - `description = "my-endpoint-description"`
// - `version = "v1"`
// - `interfaces.transport = "HTTP_JSON"`
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of Endpoints
func (*ListEndpointsRequest) Descriptor
func (*ListEndpointsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListEndpointsRequest.ProtoReflect.Descriptor instead.
func (*ListEndpointsRequest) GetFilter
func (x *ListEndpointsRequest) GetFilter() stringfunc (*ListEndpointsRequest) GetPageSize
func (x *ListEndpointsRequest) GetPageSize() int32func (*ListEndpointsRequest) GetPageToken
func (x *ListEndpointsRequest) GetPageToken() stringfunc (*ListEndpointsRequest) GetParent
func (x *ListEndpointsRequest) GetParent() stringfunc (*ListEndpointsRequest) ProtoMessage
func (*ListEndpointsRequest) ProtoMessage()func (*ListEndpointsRequest) ProtoReflect
func (x *ListEndpointsRequest) ProtoReflect() protoreflect.Messagefunc (*ListEndpointsRequest) Reset
func (x *ListEndpointsRequest) Reset()func (*ListEndpointsRequest) String
func (x *ListEndpointsRequest) String() stringListEndpointsResponse
type ListEndpointsResponse struct {
// The list of Endpoint resources matching the parent and filter criteria in
// the request. Each Endpoint resource follows the format:
// `projects/{project}/locations/{location}/endpoints/{endpoint}`.
Endpoints []*Endpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
// A token identifying a page of results the server should return.
// Used in
// [page_token][google.cloud.agentregistry.v1main.ListEndpointsRequest.page_token].
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response to listing Endpoints
func (*ListEndpointsResponse) Descriptor
func (*ListEndpointsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListEndpointsResponse.ProtoReflect.Descriptor instead.
func (*ListEndpointsResponse) GetEndpoints
func (x *ListEndpointsResponse) GetEndpoints() []*Endpointfunc (*ListEndpointsResponse) GetNextPageToken
func (x *ListEndpointsResponse) GetNextPageToken() stringfunc (*ListEndpointsResponse) ProtoMessage
func (*ListEndpointsResponse) ProtoMessage()func (*ListEndpointsResponse) ProtoReflect
func (x *ListEndpointsResponse) ProtoReflect() protoreflect.Messagefunc (*ListEndpointsResponse) Reset
func (x *ListEndpointsResponse) Reset()func (*ListEndpointsResponse) String
func (x *ListEndpointsResponse) String() stringListMcpServersRequest
type ListMcpServersRequest struct {
// Required. Parent value for ListMcpServersRequest. Format:
// `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of McpServers
func (*ListMcpServersRequest) Descriptor
func (*ListMcpServersRequest) Descriptor() ([]byte, []int)Deprecated: Use ListMcpServersRequest.ProtoReflect.Descriptor instead.
func (*ListMcpServersRequest) GetFilter
func (x *ListMcpServersRequest) GetFilter() stringfunc (*ListMcpServersRequest) GetOrderBy
func (x *ListMcpServersRequest) GetOrderBy() stringfunc (*ListMcpServersRequest) GetPageSize
func (x *ListMcpServersRequest) GetPageSize() int32func (*ListMcpServersRequest) GetPageToken
func (x *ListMcpServersRequest) GetPageToken() stringfunc (*ListMcpServersRequest) GetParent
func (x *ListMcpServersRequest) GetParent() stringfunc (*ListMcpServersRequest) ProtoMessage
func (*ListMcpServersRequest) ProtoMessage()func (*ListMcpServersRequest) ProtoReflect
func (x *ListMcpServersRequest) ProtoReflect() protoreflect.Messagefunc (*ListMcpServersRequest) Reset
func (x *ListMcpServersRequest) Reset()func (*ListMcpServersRequest) String
func (x *ListMcpServersRequest) String() stringListMcpServersResponse
type ListMcpServersResponse struct {
// The list of McpServers.
McpServers []*McpServer `protobuf:"bytes,1,rep,name=mcp_servers,json=mcpServers,proto3" json:"mcp_servers,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response to listing McpServers
func (*ListMcpServersResponse) Descriptor
func (*ListMcpServersResponse) Descriptor() ([]byte, []int)Deprecated: Use ListMcpServersResponse.ProtoReflect.Descriptor instead.
func (*ListMcpServersResponse) GetMcpServers
func (x *ListMcpServersResponse) GetMcpServers() []*McpServerfunc (*ListMcpServersResponse) GetNextPageToken
func (x *ListMcpServersResponse) GetNextPageToken() stringfunc (*ListMcpServersResponse) ProtoMessage
func (*ListMcpServersResponse) ProtoMessage()func (*ListMcpServersResponse) ProtoReflect
func (x *ListMcpServersResponse) ProtoReflect() protoreflect.Messagefunc (*ListMcpServersResponse) Reset
func (x *ListMcpServersResponse) Reset()func (*ListMcpServersResponse) String
func (x *ListMcpServersResponse) String() stringListServicesRequest
type ListServicesRequest struct {
// Required. The project and location to list services in.
// Expected format: `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A query string used to filter the list of services returned.
// The filter expression must follow AIP-160 syntax.
//
// Filtering is supported on the `name`, `display_name`, `description`,
// and `labels` fields.
//
// Some examples:
//
// - `name = "projects/p1/locations/l1/services/s1"`
// - `display_name = "my-service"`
// - `description : "myservice description"`
// - `labels.env = "prod"`
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of Services
func (*ListServicesRequest) Descriptor
func (*ListServicesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.
func (*ListServicesRequest) GetFilter
func (x *ListServicesRequest) GetFilter() stringfunc (*ListServicesRequest) GetPageSize
func (x *ListServicesRequest) GetPageSize() int32func (*ListServicesRequest) GetPageToken
func (x *ListServicesRequest) GetPageToken() stringfunc (*ListServicesRequest) GetParent
func (x *ListServicesRequest) GetParent() stringfunc (*ListServicesRequest) ProtoMessage
func (*ListServicesRequest) ProtoMessage()func (*ListServicesRequest) ProtoReflect
func (x *ListServicesRequest) ProtoReflect() protoreflect.Messagefunc (*ListServicesRequest) Reset
func (x *ListServicesRequest) Reset()func (*ListServicesRequest) String
func (x *ListServicesRequest) String() stringListServicesResponse
type ListServicesResponse struct {
// The list of Service resources matching the parent and filter criteria in
// the request. Each Service resource follows the format:
// `projects/{project}/locations/{location}/services/{service}`.
Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
// A token identifying a page of results the server should return.
// Used in
// [page_token][google.cloud.agentregistry.v1main.ListServicesRequest.page_token].
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response to listing Services
func (*ListServicesResponse) Descriptor
func (*ListServicesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.
func (*ListServicesResponse) GetNextPageToken
func (x *ListServicesResponse) GetNextPageToken() stringfunc (*ListServicesResponse) GetServices
func (x *ListServicesResponse) GetServices() []*Servicefunc (*ListServicesResponse) ProtoMessage
func (*ListServicesResponse) ProtoMessage()func (*ListServicesResponse) ProtoReflect
func (x *ListServicesResponse) ProtoReflect() protoreflect.Messagefunc (*ListServicesResponse) Reset
func (x *ListServicesResponse) Reset()func (*ListServicesResponse) String
func (x *ListServicesResponse) String() stringMcpServer
type McpServer struct {
// Identifier. The resource name of the MCP Server.
// Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. A stable, globally unique identifier for MCP Servers.
McpServerId string `protobuf:"bytes,9,opt,name=mcp_server_id,json=mcpServerId,proto3" json:"mcp_server_id,omitempty"`
// Output only. The display name of the MCP Server.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The description of the MCP Server.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The connection details for the MCP Server.
Interfaces []*Interface `protobuf:"bytes,4,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
// Output only. Tools provided by the MCP Server.
Tools []*McpServer_Tool `protobuf:"bytes,5,rep,name=tools,proto3" json:"tools,omitempty"`
// Output only. Create time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Update time.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Attributes of the MCP Server.
// Valid values:
//
// - `agentregistry.googleapis.com/system/RuntimeIdentity`: {"principal":
// "principal://..."} - the runtime identity associated with the MCP Server.
// - `agentregistry.googleapis.com/system/RuntimeReference`: {"uri": "//..."}
// - the URI of the underlying resource hosting the MCP Server, for
// example, the GKE Deployment.
Attributes map[string]*structpb.Struct `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}Represents an MCP (Model Context Protocol) Server.
func (*McpServer) Descriptor
Deprecated: Use McpServer.ProtoReflect.Descriptor instead.
func (*McpServer) GetAttributes
func (*McpServer) GetCreateTime
func (x *McpServer) GetCreateTime() *timestamppb.Timestampfunc (*McpServer) GetDescription
func (*McpServer) GetDisplayName
func (*McpServer) GetInterfaces
func (*McpServer) GetMcpServerId
func (*McpServer) GetName
func (*McpServer) GetTools
func (x *McpServer) GetTools() []*McpServer_Toolfunc (*McpServer) GetUpdateTime
func (x *McpServer) GetUpdateTime() *timestamppb.Timestampfunc (*McpServer) ProtoMessage
func (*McpServer) ProtoMessage()func (*McpServer) ProtoReflect
func (x *McpServer) ProtoReflect() protoreflect.Messagefunc (*McpServer) Reset
func (x *McpServer) Reset()func (*McpServer) String
McpServer_Tool
type McpServer_Tool struct {
// Output only. Human-readable name of the tool.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Description of what the tool does.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Output only. Annotations associated with the tool.
Annotations *McpServer_Tool_Annotations `protobuf:"bytes,3,opt,name=annotations,proto3" json:"annotations,omitempty"`
// contains filtered or unexported fields
}Represents a single tool provided by an MCP Server.
func (*McpServer_Tool) Descriptor
func (*McpServer_Tool) Descriptor() ([]byte, []int)Deprecated: Use McpServer_Tool.ProtoReflect.Descriptor instead.
func (*McpServer_Tool) GetAnnotations
func (x *McpServer_Tool) GetAnnotations() *McpServer_Tool_Annotationsfunc (*McpServer_Tool) GetDescription
func (x *McpServer_Tool) GetDescription() stringfunc (*McpServer_Tool) GetName
func (x *McpServer_Tool) GetName() stringfunc (*McpServer_Tool) ProtoMessage
func (*McpServer_Tool) ProtoMessage()func (*McpServer_Tool) ProtoReflect
func (x *McpServer_Tool) ProtoReflect() protoreflect.Messagefunc (*McpServer_Tool) Reset
func (x *McpServer_Tool) Reset()func (*McpServer_Tool) String
func (x *McpServer_Tool) String() stringMcpServer_Tool_Annotations
type McpServer_Tool_Annotations struct {
// Output only. A human-readable title for the tool.
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
// Output only. If true, the tool may perform destructive updates to its
// environment. If false, the tool performs only additive updates. NOTE:
// This property is meaningful only when `read_only_hint == false`
// Default: true
DestructiveHint bool `protobuf:"varint,2,opt,name=destructive_hint,json=destructiveHint,proto3" json:"destructive_hint,omitempty"`
// Output only. If true, calling the tool repeatedly with the same
// arguments will have no additional effect on its environment. NOTE: This
// property is meaningful only when `read_only_hint == false` Default:
// false
IdempotentHint bool `protobuf:"varint,3,opt,name=idempotent_hint,json=idempotentHint,proto3" json:"idempotent_hint,omitempty"`
// Output only. If true, this tool may interact with an "open world" of
// external entities. If false, the tool's domain of interaction is
// closed. For example, the world of a web search tool is open, whereas
// that of a memory tool is not. Default: true
OpenWorldHint bool `protobuf:"varint,4,opt,name=open_world_hint,json=openWorldHint,proto3" json:"open_world_hint,omitempty"`
// Output only. If true, the tool does not modify its environment.
// Default: false
ReadOnlyHint bool `protobuf:"varint,5,opt,name=read_only_hint,json=readOnlyHint,proto3" json:"read_only_hint,omitempty"`
// contains filtered or unexported fields
}Annotations describing the characteristics and behavior of a tool or operation.
func (*McpServer_Tool_Annotations) Descriptor
func (*McpServer_Tool_Annotations) Descriptor() ([]byte, []int)Deprecated: Use McpServer_Tool_Annotations.ProtoReflect.Descriptor instead.
func (*McpServer_Tool_Annotations) GetDestructiveHint
func (x *McpServer_Tool_Annotations) GetDestructiveHint() boolfunc (*McpServer_Tool_Annotations) GetIdempotentHint
func (x *McpServer_Tool_Annotations) GetIdempotentHint() boolfunc (*McpServer_Tool_Annotations) GetOpenWorldHint
func (x *McpServer_Tool_Annotations) GetOpenWorldHint() boolfunc (*McpServer_Tool_Annotations) GetReadOnlyHint
func (x *McpServer_Tool_Annotations) GetReadOnlyHint() boolfunc (*McpServer_Tool_Annotations) GetTitle
func (x *McpServer_Tool_Annotations) GetTitle() stringfunc (*McpServer_Tool_Annotations) ProtoMessage
func (*McpServer_Tool_Annotations) ProtoMessage()func (*McpServer_Tool_Annotations) ProtoReflect
func (x *McpServer_Tool_Annotations) ProtoReflect() protoreflect.Messagefunc (*McpServer_Tool_Annotations) Reset
func (x *McpServer_Tool_Annotations) Reset()func (*McpServer_Tool_Annotations) String
func (x *McpServer_Tool_Annotations) String() stringOperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have been cancelled successfully
// have
// [google.longrunning.Operation.error][google.longrunning.Operation.error]
// value with a [google.rpc.Status.code][google.rpc.Status.code] of `1`,
// corresponding to `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringSearchAgentsRequest
type SearchAgentsRequest struct {
// Required. Parent value for SearchAgentsRequest. Format:
// `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Search criteria used to select the Agents to return. If no search
// criteria is specified then all accessible Agents will be returned.
//
// Search expressions can be used to restrict results based upon searchable
// fields, where the operators can be used along with the suffix wildcard
// symbol `*`. See
// [instructions](https://docs.cloud.google.com/agent-registry/search-agents-and-tools)
// for more details.
//
// Allowed operators: `=`, `:`, `NOT`, `AND`, `OR`, and `()`.
//
// Searchable fields:
//
// | Field | `=` | `:` | `*` | Keyword Search |
// |--------------------|-----|-----|-----|----------------|
// | agentId | Yes | Yes | Yes | Included |
// | name | No | Yes | Yes | Included |
// | displayName | No | Yes | Yes | Included |
// | description | No | Yes | No | Included |
// | skills | No | Yes | No | Included |
// | skills.id | No | Yes | No | Included |
// | skills.name | No | Yes | No | Included |
// | skills.description | No | Yes | No | Included |
// | skills.tags | No | Yes | No | Included |
// | skills.examples | No | Yes | No | Included |
//
// Examples:
//
// - `agentId="urn:agent:projects-123:projects:123:locations:us-central1:reasoningEngines:1234"`
// to find the agent with the specified agent ID.
// - `name:important` to find agents whose name contains `important` as a
// word.
// - `displayName:works*` to find agents whose display name contains words
// that start with `works`.
// - `skills.tags:test` to find agents whose skills tags contain `test`.
// - `planner OR booking` to find agents whose metadata contains the words
// `planner` or `booking`.
SearchString string `protobuf:"bytes,3,opt,name=search_string,json=searchString,proto3" json:"search_string,omitempty"`
// Optional. The maximum number of search results to return per page. The page
// size is capped at `100`, even if a larger value is specified. A negative
// value will result in an `INVALID_ARGUMENT` error. If unspecified or set to
// `0`, a default value of `20` will be used. The server may return fewer
// results than requested.
PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. If present, retrieve the next batch of results from the preceding
// call to this method. `page_token` must be the value of `next_page_token`
// from the previous response. The values of all other method parameters, must
// be identical to those in the previous call.
PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Message for searching Agents
func (*SearchAgentsRequest) Descriptor
func (*SearchAgentsRequest) Descriptor() ([]byte, []int)Deprecated: Use SearchAgentsRequest.ProtoReflect.Descriptor instead.
func (*SearchAgentsRequest) GetPageSize
func (x *SearchAgentsRequest) GetPageSize() int32func (*SearchAgentsRequest) GetPageToken
func (x *SearchAgentsRequest) GetPageToken() stringfunc (*SearchAgentsRequest) GetParent
func (x *SearchAgentsRequest) GetParent() stringfunc (*SearchAgentsRequest) GetSearchString
func (x *SearchAgentsRequest) GetSearchString() stringfunc (*SearchAgentsRequest) ProtoMessage
func (*SearchAgentsRequest) ProtoMessage()func (*SearchAgentsRequest) ProtoReflect
func (x *SearchAgentsRequest) ProtoReflect() protoreflect.Messagefunc (*SearchAgentsRequest) Reset
func (x *SearchAgentsRequest) Reset()func (*SearchAgentsRequest) String
func (x *SearchAgentsRequest) String() stringSearchAgentsResponse
type SearchAgentsResponse struct {
// A list of Agents that match the `search_string`.
Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
// If there are more results than those appearing in this response, then
// `next_page_token` is included. To get the next set of results, call this
// method again using the value of `next_page_token` as `page_token`.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response to searching Agents
func (*SearchAgentsResponse) Descriptor
func (*SearchAgentsResponse) Descriptor() ([]byte, []int)Deprecated: Use SearchAgentsResponse.ProtoReflect.Descriptor instead.
func (*SearchAgentsResponse) GetAgents
func (x *SearchAgentsResponse) GetAgents() []*Agentfunc (*SearchAgentsResponse) GetNextPageToken
func (x *SearchAgentsResponse) GetNextPageToken() stringfunc (*SearchAgentsResponse) ProtoMessage
func (*SearchAgentsResponse) ProtoMessage()func (*SearchAgentsResponse) ProtoReflect
func (x *SearchAgentsResponse) ProtoReflect() protoreflect.Messagefunc (*SearchAgentsResponse) Reset
func (x *SearchAgentsResponse) Reset()func (*SearchAgentsResponse) String
func (x *SearchAgentsResponse) String() stringSearchMcpServersRequest
type SearchMcpServersRequest struct {
// Required. Parent value for SearchMcpServersRequest. Format:
// `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Search criteria used to select the MCP Servers to return. If no
// search criteria is specified then all accessible MCP Servers will be
// returned.
//
// Search expressions can be used to restrict results based upon searchable
// fields, where the operators can be used along with the suffix wildcard
// symbol `*`. See
// [instructions](https://docs.cloud.google.com/agent-registry/search-agents-and-tools)
// for more details.
//
// Allowed operators: `=`, `:`, `NOT`, `AND`, `OR`, and `()`.
//
// Searchable fields:
//
// | Field | `=` | `:` | `*` | Keyword Search |
// |--------------------|-----|-----|-----|----------------|
// | mcpServerId | Yes | Yes | Yes | Included |
// | name | No | Yes | Yes | Included |
// | displayName | No | Yes | Yes | Included |
//
// Examples:
//
// - `mcpServerId="urn:mcp:projects-123:projects:123:locations:us-central1:agentregistry:services:service-id"`
// to find the MCP Server with the specified MCP Server ID.
// - `name:important` to find MCP Servers whose name contains `important` as a
// word.
// - `displayName:works*` to find MCP Servers whose display name contains
// words that start with `works`.
// - `planner OR booking` to find MCP Servers whose metadata contains the
// words `planner` or `booking`.
// - `mcpServerId:service-id AND (displayName:planner OR
// displayName:booking)` to find MCP Servers whose MCP Server ID contains
// `service-id` and whose display name contains `planner` or
// `booking`.
SearchString string `protobuf:"bytes,3,opt,name=search_string,json=searchString,proto3" json:"search_string,omitempty"`
// Optional. The maximum number of search results to return per page. The page
// size is capped at `100`, even if a larger value is specified. A negative
// value will result in an `INVALID_ARGUMENT` error. If unspecified or set to
// `0`, a default value of `20` will be used. The server may return fewer
// results than requested.
PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. If present, retrieve the next batch of results from the preceding
// call to this method. `page_token` must be the value of `next_page_token`
// from the previous response. The values of all other method parameters, must
// be identical to those in the previous call.
PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Message for searching MCP Servers
func (*SearchMcpServersRequest) Descriptor
func (*SearchMcpServersRequest) Descriptor() ([]byte, []int)Deprecated: Use SearchMcpServersRequest.ProtoReflect.Descriptor instead.
func (*SearchMcpServersRequest) GetPageSize
func (x *SearchMcpServersRequest) GetPageSize() int32func (*SearchMcpServersRequest) GetPageToken
func (x *SearchMcpServersRequest) GetPageToken() stringfunc (*SearchMcpServersRequest) GetParent
func (x *SearchMcpServersRequest) GetParent() stringfunc (*SearchMcpServersRequest) GetSearchString
func (x *SearchMcpServersRequest) GetSearchString() stringfunc (*SearchMcpServersRequest) ProtoMessage
func (*SearchMcpServersRequest) ProtoMessage()func (*SearchMcpServersRequest) ProtoReflect
func (x *SearchMcpServersRequest) ProtoReflect() protoreflect.Messagefunc (*SearchMcpServersRequest) Reset
func (x *SearchMcpServersRequest) Reset()func (*SearchMcpServersRequest) String
func (x *SearchMcpServersRequest) String() stringSearchMcpServersResponse
type SearchMcpServersResponse struct {
// A list of McpServers that match the `search_string`.
McpServers []*McpServer `protobuf:"bytes,1,rep,name=mcp_servers,json=mcpServers,proto3" json:"mcp_servers,omitempty"`
// If there are more results than those appearing in this response, then
// `next_page_token` is included. To get the next set of results, call this
// method again using the value of `next_page_token` as `page_token`.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response to searching MCP Servers
func (*SearchMcpServersResponse) Descriptor
func (*SearchMcpServersResponse) Descriptor() ([]byte, []int)Deprecated: Use SearchMcpServersResponse.ProtoReflect.Descriptor instead.
func (*SearchMcpServersResponse) GetMcpServers
func (x *SearchMcpServersResponse) GetMcpServers() []*McpServerfunc (*SearchMcpServersResponse) GetNextPageToken
func (x *SearchMcpServersResponse) GetNextPageToken() stringfunc (*SearchMcpServersResponse) ProtoMessage
func (*SearchMcpServersResponse) ProtoMessage()func (*SearchMcpServersResponse) ProtoReflect
func (x *SearchMcpServersResponse) ProtoReflect() protoreflect.Messagefunc (*SearchMcpServersResponse) Reset
func (x *SearchMcpServersResponse) Reset()func (*SearchMcpServersResponse) String
func (x *SearchMcpServersResponse) String() stringService
type Service struct {
// The spec of the service. At least one of the specs must be set.
//
// Types that are valid to be assigned to Spec:
//
// *Service_AgentSpec_
// *Service_McpServerSpec_
// *Service_EndpointSpec_
Spec isService_Spec `protobuf_oneof:"spec"`
// Identifier. The resource name of the Service.
// Format: `projects/{project}/locations/{location}/services/{service}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. User-defined display name for the Service.
// Can have a maximum length of `63` characters.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. User-defined description of an Service.
// Can have a maximum length of `2048` characters.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional. The connection details for the Service.
Interfaces []*Interface `protobuf:"bytes,4,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
// 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}`
RegistryResource string `protobuf:"bytes,10,opt,name=registry_resource,json=registryResource,proto3" json:"registry_resource,omitempty"`
// Output only. Create time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Update time.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}Represents a user-defined Service.
func (*Service) Descriptor
Deprecated: Use Service.ProtoReflect.Descriptor instead.
func (*Service) GetAgentSpec
func (x *Service) GetAgentSpec() *Service_AgentSpecfunc (*Service) GetCreateTime
func (x *Service) GetCreateTime() *timestamppb.Timestampfunc (*Service) GetDescription
func (*Service) GetDisplayName
func (*Service) GetEndpointSpec
func (x *Service) GetEndpointSpec() *Service_EndpointSpecfunc (*Service) GetInterfaces
func (*Service) GetMcpServerSpec
func (x *Service) GetMcpServerSpec() *Service_McpServerSpecfunc (*Service) GetName
func (*Service) GetRegistryResource
func (*Service) GetSpec
func (x *Service) GetSpec() isService_Specfunc (*Service) GetUpdateTime
func (x *Service) GetUpdateTime() *timestamppb.Timestampfunc (*Service) ProtoMessage
func (*Service) ProtoMessage()func (*Service) ProtoReflect
func (x *Service) ProtoReflect() protoreflect.Messagefunc (*Service) Reset
func (x *Service) Reset()func (*Service) String
Service_AgentSpec
type Service_AgentSpec struct {
// Required. The type of the agent spec content.
Type Service_AgentSpec_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.agentregistry.v1.Service_AgentSpec_Type" json:"type,omitempty"`
// 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 `10KB`.
Content *structpb.Struct `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}The spec of the agent.
func (*Service_AgentSpec) Descriptor
func (*Service_AgentSpec) Descriptor() ([]byte, []int)Deprecated: Use Service_AgentSpec.ProtoReflect.Descriptor instead.
func (*Service_AgentSpec) GetContent
func (x *Service_AgentSpec) GetContent() *structpb.Structfunc (*Service_AgentSpec) GetType
func (x *Service_AgentSpec) GetType() Service_AgentSpec_Typefunc (*Service_AgentSpec) ProtoMessage
func (*Service_AgentSpec) ProtoMessage()func (*Service_AgentSpec) ProtoReflect
func (x *Service_AgentSpec) ProtoReflect() protoreflect.Messagefunc (*Service_AgentSpec) Reset
func (x *Service_AgentSpec) Reset()func (*Service_AgentSpec) String
func (x *Service_AgentSpec) String() stringService_AgentSpec_
type Service_AgentSpec_ struct {
// Optional. The spec of the Agent. When `agent_spec` is set, the type of
// the service is Agent.
AgentSpec *Service_AgentSpec `protobuf:"bytes,5,opt,name=agent_spec,json=agentSpec,proto3,oneof"`
}Service_AgentSpec_Type
type Service_AgentSpec_Type int32The type of the agent spec.
Service_AgentSpec_TYPE_UNSPECIFIED, Service_AgentSpec_NO_SPEC, Service_AgentSpec_A2A_AGENT_CARD
const (
// Unspecified type.
Service_AgentSpec_TYPE_UNSPECIFIED Service_AgentSpec_Type = 0
// There is no spec for the Agent. The `content` field must be empty.
Service_AgentSpec_NO_SPEC Service_AgentSpec_Type = 1
// The content is an A2A Agent Card following the A2A specification.
// The `interfaces` field must be empty.
Service_AgentSpec_A2A_AGENT_CARD Service_AgentSpec_Type = 2
)func (Service_AgentSpec_Type) Descriptor
func (Service_AgentSpec_Type) Descriptor() protoreflect.EnumDescriptorfunc (Service_AgentSpec_Type) Enum
func (x Service_AgentSpec_Type) Enum() *Service_AgentSpec_Typefunc (Service_AgentSpec_Type) EnumDescriptor
func (Service_AgentSpec_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use Service_AgentSpec_Type.Descriptor instead.
func (Service_AgentSpec_Type) Number
func (x Service_AgentSpec_Type) Number() protoreflect.EnumNumberfunc (Service_AgentSpec_Type) String
func (x Service_AgentSpec_Type) String() stringfunc (Service_AgentSpec_Type) Type
func (Service_AgentSpec_Type) Type() protoreflect.EnumTypeService_EndpointSpec
type Service_EndpointSpec struct {
// Required. The type of the endpoint spec content.
Type Service_EndpointSpec_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.agentregistry.v1.Service_EndpointSpec_Type" json:"type,omitempty"`
// Optional. The content of the endpoint spec.
// Reserved for future use.
Content *structpb.Struct `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}The spec of the endpoint.
func (*Service_EndpointSpec) Descriptor
func (*Service_EndpointSpec) Descriptor() ([]byte, []int)Deprecated: Use Service_EndpointSpec.ProtoReflect.Descriptor instead.
func (*Service_EndpointSpec) GetContent
func (x *Service_EndpointSpec) GetContent() *structpb.Structfunc (*Service_EndpointSpec) GetType
func (x *Service_EndpointSpec) GetType() Service_EndpointSpec_Typefunc (*Service_EndpointSpec) ProtoMessage
func (*Service_EndpointSpec) ProtoMessage()func (*Service_EndpointSpec) ProtoReflect
func (x *Service_EndpointSpec) ProtoReflect() protoreflect.Messagefunc (*Service_EndpointSpec) Reset
func (x *Service_EndpointSpec) Reset()func (*Service_EndpointSpec) String
func (x *Service_EndpointSpec) String() stringService_EndpointSpec_
type Service_EndpointSpec_ struct {
// Optional. The spec of the Endpoint. When `endpoint_spec` is set, the type
// of the service is Endpoint.
EndpointSpec *Service_EndpointSpec `protobuf:"bytes,7,opt,name=endpoint_spec,json=endpointSpec,proto3,oneof"`
}Service_EndpointSpec_Type
type Service_EndpointSpec_Type int32The type of the endpoint spec.
Service_EndpointSpec_TYPE_UNSPECIFIED, Service_EndpointSpec_NO_SPEC
const (
// Unspecified type.
Service_EndpointSpec_TYPE_UNSPECIFIED Service_EndpointSpec_Type = 0
// There is no spec for the Endpoint. The `content` field must be empty.
Service_EndpointSpec_NO_SPEC Service_EndpointSpec_Type = 1
)func (Service_EndpointSpec_Type) Descriptor
func (Service_EndpointSpec_Type) Descriptor() protoreflect.EnumDescriptorfunc (Service_EndpointSpec_Type) Enum
func (x Service_EndpointSpec_Type) Enum() *Service_EndpointSpec_Typefunc (Service_EndpointSpec_Type) EnumDescriptor
func (Service_EndpointSpec_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use Service_EndpointSpec_Type.Descriptor instead.
func (Service_EndpointSpec_Type) Number
func (x Service_EndpointSpec_Type) Number() protoreflect.EnumNumberfunc (Service_EndpointSpec_Type) String
func (x Service_EndpointSpec_Type) String() stringfunc (Service_EndpointSpec_Type) Type
func (Service_EndpointSpec_Type) Type() protoreflect.EnumTypeService_McpServerSpec
type Service_McpServerSpec struct {
// Required. The type of the MCP Server spec content.
Type Service_McpServerSpec_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.agentregistry.v1.Service_McpServerSpec_Type" json:"type,omitempty"`
// 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 `10KB`.
Content *structpb.Struct `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}The spec of the MCP Server.
func (*Service_McpServerSpec) Descriptor
func (*Service_McpServerSpec) Descriptor() ([]byte, []int)Deprecated: Use Service_McpServerSpec.ProtoReflect.Descriptor instead.
func (*Service_McpServerSpec) GetContent
func (x *Service_McpServerSpec) GetContent() *structpb.Structfunc (*Service_McpServerSpec) GetType
func (x *Service_McpServerSpec) GetType() Service_McpServerSpec_Typefunc (*Service_McpServerSpec) ProtoMessage
func (*Service_McpServerSpec) ProtoMessage()func (*Service_McpServerSpec) ProtoReflect
func (x *Service_McpServerSpec) ProtoReflect() protoreflect.Messagefunc (*Service_McpServerSpec) Reset
func (x *Service_McpServerSpec) Reset()func (*Service_McpServerSpec) String
func (x *Service_McpServerSpec) String() stringService_McpServerSpec_
type Service_McpServerSpec_ struct {
// Optional. The spec of the MCP Server. When `mcp_server_spec` is set, the
// type of the service is MCP Server.
McpServerSpec *Service_McpServerSpec `protobuf:"bytes,6,opt,name=mcp_server_spec,json=mcpServerSpec,proto3,oneof"`
}Service_McpServerSpec_Type
type Service_McpServerSpec_Type int32The type of the MCP Server spec.
Service_McpServerSpec_TYPE_UNSPECIFIED, Service_McpServerSpec_NO_SPEC, Service_McpServerSpec_TOOL_SPEC
const (
// Unspecified type.
Service_McpServerSpec_TYPE_UNSPECIFIED Service_McpServerSpec_Type = 0
// There is no spec for the MCP Server. The `content` field must be empty.
Service_McpServerSpec_NO_SPEC Service_McpServerSpec_Type = 1
// The content is a MCP Tool Spec following the One MCP specification.
// The payload is the same as the `tools/list` response.
Service_McpServerSpec_TOOL_SPEC Service_McpServerSpec_Type = 2
)func (Service_McpServerSpec_Type) Descriptor
func (Service_McpServerSpec_Type) Descriptor() protoreflect.EnumDescriptorfunc (Service_McpServerSpec_Type) Enum
func (x Service_McpServerSpec_Type) Enum() *Service_McpServerSpec_Typefunc (Service_McpServerSpec_Type) EnumDescriptor
func (Service_McpServerSpec_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use Service_McpServerSpec_Type.Descriptor instead.
func (Service_McpServerSpec_Type) Number
func (x Service_McpServerSpec_Type) Number() protoreflect.EnumNumberfunc (Service_McpServerSpec_Type) String
func (x Service_McpServerSpec_Type) String() stringfunc (Service_McpServerSpec_Type) Type
func (Service_McpServerSpec_Type) Type() protoreflect.EnumTypeUnimplementedAgentRegistryServer
type UnimplementedAgentRegistryServer struct {
}UnimplementedAgentRegistryServer should be embedded to have forward compatible implementations.
func (UnimplementedAgentRegistryServer) CreateBinding
func (UnimplementedAgentRegistryServer) CreateBinding(context.Context, *CreateBindingRequest) (*longrunningpb.Operation, error)func (UnimplementedAgentRegistryServer) CreateService
func (UnimplementedAgentRegistryServer) CreateService(context.Context, *CreateServiceRequest) (*longrunningpb.Operation, error)func (UnimplementedAgentRegistryServer) DeleteBinding
func (UnimplementedAgentRegistryServer) DeleteBinding(context.Context, *DeleteBindingRequest) (*longrunningpb.Operation, error)func (UnimplementedAgentRegistryServer) DeleteService
func (UnimplementedAgentRegistryServer) DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error)func (UnimplementedAgentRegistryServer) FetchAvailableBindings
func (UnimplementedAgentRegistryServer) FetchAvailableBindings(context.Context, *FetchAvailableBindingsRequest) (*FetchAvailableBindingsResponse, error)func (UnimplementedAgentRegistryServer) GetAgent
func (UnimplementedAgentRegistryServer) GetAgent(context.Context, *GetAgentRequest) (*Agent, error)func (UnimplementedAgentRegistryServer) GetBinding
func (UnimplementedAgentRegistryServer) GetBinding(context.Context, *GetBindingRequest) (*Binding, error)func (UnimplementedAgentRegistryServer) GetEndpoint
func (UnimplementedAgentRegistryServer) GetEndpoint(context.Context, *GetEndpointRequest) (*Endpoint, error)func (UnimplementedAgentRegistryServer) GetMcpServer
func (UnimplementedAgentRegistryServer) GetMcpServer(context.Context, *GetMcpServerRequest) (*McpServer, error)func (UnimplementedAgentRegistryServer) GetService
func (UnimplementedAgentRegistryServer) GetService(context.Context, *GetServiceRequest) (*Service, error)func (UnimplementedAgentRegistryServer) ListAgents
func (UnimplementedAgentRegistryServer) ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error)func (UnimplementedAgentRegistryServer) ListBindings
func (UnimplementedAgentRegistryServer) ListBindings(context.Context, *ListBindingsRequest) (*ListBindingsResponse, error)func (UnimplementedAgentRegistryServer) ListEndpoints
func (UnimplementedAgentRegistryServer) ListEndpoints(context.Context, *ListEndpointsRequest) (*ListEndpointsResponse, error)func (UnimplementedAgentRegistryServer) ListMcpServers
func (UnimplementedAgentRegistryServer) ListMcpServers(context.Context, *ListMcpServersRequest) (*ListMcpServersResponse, error)func (UnimplementedAgentRegistryServer) ListServices
func (UnimplementedAgentRegistryServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)func (UnimplementedAgentRegistryServer) SearchAgents
func (UnimplementedAgentRegistryServer) SearchAgents(context.Context, *SearchAgentsRequest) (*SearchAgentsResponse, error)func (UnimplementedAgentRegistryServer) SearchMcpServers
func (UnimplementedAgentRegistryServer) SearchMcpServers(context.Context, *SearchMcpServersRequest) (*SearchMcpServersResponse, error)func (UnimplementedAgentRegistryServer) UpdateBinding
func (UnimplementedAgentRegistryServer) UpdateBinding(context.Context, *UpdateBindingRequest) (*longrunningpb.Operation, error)func (UnimplementedAgentRegistryServer) UpdateService
func (UnimplementedAgentRegistryServer) UpdateService(context.Context, *UpdateServiceRequest) (*longrunningpb.Operation, error)UnsafeAgentRegistryServer
type UnsafeAgentRegistryServer interface {
// contains filtered or unexported methods
}UnsafeAgentRegistryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentRegistryServer will result in compilation errors.
UpdateBindingRequest
type UpdateBindingRequest struct {
// Required. The Binding resource that is being updated.
Binding *Binding `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"`
// Optional. Field mask is used to specify the fields to be overwritten in the
// Binding resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields present in the request will be
// overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a Binding
func (*UpdateBindingRequest) Descriptor
func (*UpdateBindingRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateBindingRequest.ProtoReflect.Descriptor instead.
func (*UpdateBindingRequest) GetBinding
func (x *UpdateBindingRequest) GetBinding() *Bindingfunc (*UpdateBindingRequest) GetRequestId
func (x *UpdateBindingRequest) GetRequestId() stringfunc (*UpdateBindingRequest) GetUpdateMask
func (x *UpdateBindingRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateBindingRequest) ProtoMessage
func (*UpdateBindingRequest) ProtoMessage()func (*UpdateBindingRequest) ProtoReflect
func (x *UpdateBindingRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateBindingRequest) Reset
func (x *UpdateBindingRequest) Reset()func (*UpdateBindingRequest) String
func (x *UpdateBindingRequest) String() stringUpdateServiceRequest
type UpdateServiceRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// Service resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields present in the request will be
// overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The Service resource that is being updated.
// Format: `projects/{project}/locations/{location}/services/{service}`.
Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a Service
func (*UpdateServiceRequest) Descriptor
func (*UpdateServiceRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateServiceRequest.ProtoReflect.Descriptor instead.
func (*UpdateServiceRequest) GetRequestId
func (x *UpdateServiceRequest) GetRequestId() stringfunc (*UpdateServiceRequest) GetService
func (x *UpdateServiceRequest) GetService() *Servicefunc (*UpdateServiceRequest) GetUpdateMask
func (x *UpdateServiceRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateServiceRequest) ProtoMessage
func (*UpdateServiceRequest) ProtoMessage()func (*UpdateServiceRequest) ProtoReflect
func (x *UpdateServiceRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateServiceRequest) Reset
func (x *UpdateServiceRequest) Reset()func (*UpdateServiceRequest) String
func (x *UpdateServiceRequest) String() string