google-cloud-agent_registry-v1 0.a → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/agent_registry/v1/agent_registry/client.rb +2651 -0
- data/lib/google/cloud/agent_registry/v1/agent_registry/credentials.rb +50 -0
- data/lib/google/cloud/agent_registry/v1/agent_registry/operations.rb +843 -0
- data/lib/google/cloud/agent_registry/v1/agent_registry/paths.rb +145 -0
- data/lib/google/cloud/agent_registry/v1/agent_registry/rest/client.rb +2483 -0
- data/lib/google/cloud/agent_registry/v1/agent_registry/rest/operations.rb +927 -0
- data/lib/google/cloud/agent_registry/v1/agent_registry/rest/service_stub.rb +1246 -0
- data/lib/google/cloud/agent_registry/v1/agent_registry/rest.rb +54 -0
- data/lib/google/cloud/agent_registry/v1/agent_registry.rb +56 -0
- data/lib/google/cloud/agent_registry/v1/bindings_override.rb +75 -0
- data/lib/google/cloud/agent_registry/v1/rest.rb +38 -0
- data/lib/google/cloud/agent_registry/v1/version.rb +7 -2
- data/lib/google/cloud/agent_registry/v1.rb +45 -0
- data/lib/google/cloud/agentregistry/v1/agent_pb.rb +33 -0
- data/lib/google/cloud/agentregistry/v1/agentregistry_service_pb.rb +63 -0
- data/lib/google/cloud/agentregistry/v1/agentregistry_service_services_pb.rb +81 -0
- data/lib/google/cloud/agentregistry/v1/binding_pb.rb +28 -0
- data/lib/google/cloud/agentregistry/v1/endpoint_pb.rb +27 -0
- data/lib/google/cloud/agentregistry/v1/mcp_server_pb.rb +29 -0
- data/lib/google/cloud/agentregistry/v1/properties_pb.rb +24 -0
- data/lib/google/cloud/agentregistry/v1/service_pb.rb +33 -0
- data/lib/google-cloud-agent_registry-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/agentregistry/v1/agent.rb +168 -0
- data/proto_docs/google/cloud/agentregistry/v1/agentregistry_service.rb +691 -0
- data/proto_docs/google/cloud/agentregistry/v1/binding.rb +105 -0
- data/proto_docs/google/cloud/agentregistry/v1/endpoint.rb +72 -0
- data/proto_docs/google/cloud/agentregistry/v1/mcp_server.rb +123 -0
- data/proto_docs/google/cloud/agentregistry/v1/properties.rb +53 -0
- data/proto_docs/google/cloud/agentregistry/v1/service.rb +155 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +99 -9
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AgentRegistry
|
|
23
|
+
module V1
|
|
24
|
+
# Represents a user-defined Binding.
|
|
25
|
+
# @!attribute [rw] auth_provider_binding
|
|
26
|
+
# @return [::Google::Cloud::AgentRegistry::V1::Binding::AuthProviderBinding]
|
|
27
|
+
# The binding for AuthProvider.
|
|
28
|
+
# @!attribute [rw] name
|
|
29
|
+
# @return [::String]
|
|
30
|
+
# Required. Identifier. The resource name of the Binding.
|
|
31
|
+
# Format: `projects/{project}/locations/{location}/bindings/{binding}`.
|
|
32
|
+
# @!attribute [rw] display_name
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Optional. User-defined display name for the Binding.
|
|
35
|
+
# Can have a maximum length of `63` characters.
|
|
36
|
+
# @!attribute [rw] description
|
|
37
|
+
# @return [::String]
|
|
38
|
+
# Optional. User-defined description of a Binding.
|
|
39
|
+
# Can have a maximum length of `2048` characters.
|
|
40
|
+
# @!attribute [rw] source
|
|
41
|
+
# @return [::Google::Cloud::AgentRegistry::V1::Binding::Source]
|
|
42
|
+
# Required. The target Agent of the Binding.
|
|
43
|
+
# @!attribute [rw] target
|
|
44
|
+
# @return [::Google::Cloud::AgentRegistry::V1::Binding::Target]
|
|
45
|
+
# Required. The target Agent Registry Resource of the Binding.
|
|
46
|
+
# @!attribute [r] create_time
|
|
47
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
48
|
+
# Output only. Timestamp when this binding was created.
|
|
49
|
+
# @!attribute [r] update_time
|
|
50
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
51
|
+
# Output only. Timestamp when this binding was last updated.
|
|
52
|
+
class Binding
|
|
53
|
+
include ::Google::Protobuf::MessageExts
|
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
55
|
+
|
|
56
|
+
# The source of the Binding.
|
|
57
|
+
# @!attribute [rw] identifier
|
|
58
|
+
# @return [::String]
|
|
59
|
+
# The identifier of the source Agent.
|
|
60
|
+
# Format:
|
|
61
|
+
#
|
|
62
|
+
# * `urn:agent:{publisher}:{namespace}:{name}`
|
|
63
|
+
class Source
|
|
64
|
+
include ::Google::Protobuf::MessageExts
|
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# The target of the Binding.
|
|
69
|
+
# @!attribute [rw] identifier
|
|
70
|
+
# @return [::String]
|
|
71
|
+
# The identifier of the target Agent, MCP Server, or Endpoint.
|
|
72
|
+
# Format:
|
|
73
|
+
#
|
|
74
|
+
# * `urn:agent:{publisher}:{namespace}:{name}`
|
|
75
|
+
# * `urn:mcp:{publisher}:{namespace}:{name}`
|
|
76
|
+
# * `urn:endpoint:{publisher}:{namespace}:{name}`
|
|
77
|
+
class Target
|
|
78
|
+
include ::Google::Protobuf::MessageExts
|
|
79
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# The AuthProvider of the Binding.
|
|
83
|
+
# @!attribute [rw] auth_provider
|
|
84
|
+
# @return [::String]
|
|
85
|
+
# Required. The resource name of the target AuthProvider.
|
|
86
|
+
# Format:
|
|
87
|
+
#
|
|
88
|
+
# * `projects/{project}/locations/{location}/authProviders/{auth_provider}`
|
|
89
|
+
# @!attribute [rw] scopes
|
|
90
|
+
# @return [::Array<::String>]
|
|
91
|
+
# Optional. The list of OAuth2 scopes of the AuthProvider.
|
|
92
|
+
# @!attribute [rw] continue_uri
|
|
93
|
+
# @return [::String]
|
|
94
|
+
# Optional. The continue URI of the AuthProvider.
|
|
95
|
+
# The URI is used to reauthenticate the user and finalize the managed OAuth
|
|
96
|
+
# flow.
|
|
97
|
+
class AuthProviderBinding
|
|
98
|
+
include ::Google::Protobuf::MessageExts
|
|
99
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
end
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AgentRegistry
|
|
23
|
+
module V1
|
|
24
|
+
# Represents an Endpoint.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Identifier. The resource name of the Endpoint.
|
|
28
|
+
# Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.
|
|
29
|
+
# @!attribute [r] endpoint_id
|
|
30
|
+
# @return [::String]
|
|
31
|
+
# Output only. A stable, globally unique identifier for Endpoint.
|
|
32
|
+
# @!attribute [r] display_name
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Output only. Display name for the Endpoint.
|
|
35
|
+
# @!attribute [r] description
|
|
36
|
+
# @return [::String]
|
|
37
|
+
# Output only. Description of an Endpoint.
|
|
38
|
+
# @!attribute [rw] interfaces
|
|
39
|
+
# @return [::Array<::Google::Cloud::AgentRegistry::V1::Interface>]
|
|
40
|
+
# Required. The connection details for the Endpoint.
|
|
41
|
+
# @!attribute [r] create_time
|
|
42
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
43
|
+
# Output only. Create time.
|
|
44
|
+
# @!attribute [r] update_time
|
|
45
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
46
|
+
# Output only. Update time.
|
|
47
|
+
# @!attribute [r] attributes
|
|
48
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Struct}]
|
|
49
|
+
# Output only. Attributes of the Endpoint.
|
|
50
|
+
#
|
|
51
|
+
# Valid values:
|
|
52
|
+
#
|
|
53
|
+
# * `agentregistry.googleapis.com/system/RuntimeReference`:
|
|
54
|
+
# \\{"uri": "//..."} - the URI of the underlying resource hosting the
|
|
55
|
+
# Endpoint, for example, the GKE Deployment.
|
|
56
|
+
class Endpoint
|
|
57
|
+
include ::Google::Protobuf::MessageExts
|
|
58
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
59
|
+
|
|
60
|
+
# @!attribute [rw] key
|
|
61
|
+
# @return [::String]
|
|
62
|
+
# @!attribute [rw] value
|
|
63
|
+
# @return [::Google::Protobuf::Struct]
|
|
64
|
+
class AttributesEntry
|
|
65
|
+
include ::Google::Protobuf::MessageExts
|
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AgentRegistry
|
|
23
|
+
module V1
|
|
24
|
+
# Represents an MCP (Model Context Protocol) Server.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Identifier. The resource name of the MCP Server.
|
|
28
|
+
# Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`.
|
|
29
|
+
# @!attribute [r] mcp_server_id
|
|
30
|
+
# @return [::String]
|
|
31
|
+
# Output only. A stable, globally unique identifier for MCP Servers.
|
|
32
|
+
# @!attribute [r] display_name
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Output only. The display name of the MCP Server.
|
|
35
|
+
# @!attribute [r] description
|
|
36
|
+
# @return [::String]
|
|
37
|
+
# Output only. The description of the MCP Server.
|
|
38
|
+
# @!attribute [r] interfaces
|
|
39
|
+
# @return [::Array<::Google::Cloud::AgentRegistry::V1::Interface>]
|
|
40
|
+
# Output only. The connection details for the MCP Server.
|
|
41
|
+
# @!attribute [r] tools
|
|
42
|
+
# @return [::Array<::Google::Cloud::AgentRegistry::V1::McpServer::Tool>]
|
|
43
|
+
# Output only. Tools provided by the MCP Server.
|
|
44
|
+
# @!attribute [r] create_time
|
|
45
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
46
|
+
# Output only. Create time.
|
|
47
|
+
# @!attribute [r] update_time
|
|
48
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
49
|
+
# Output only. Update time.
|
|
50
|
+
# @!attribute [r] attributes
|
|
51
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Struct}]
|
|
52
|
+
# Output only. Attributes of the MCP Server.
|
|
53
|
+
# Valid values:
|
|
54
|
+
#
|
|
55
|
+
# * `agentregistry.googleapis.com/system/RuntimeIdentity`: {"principal":
|
|
56
|
+
# "principal://..."} - the runtime identity associated with the MCP Server.
|
|
57
|
+
# * `agentregistry.googleapis.com/system/RuntimeReference`: \\{"uri": "//..."}
|
|
58
|
+
# - the URI of the underlying resource hosting the MCP Server, for
|
|
59
|
+
# example, the GKE Deployment.
|
|
60
|
+
class McpServer
|
|
61
|
+
include ::Google::Protobuf::MessageExts
|
|
62
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
63
|
+
|
|
64
|
+
# Represents a single tool provided by an MCP Server.
|
|
65
|
+
# @!attribute [r] name
|
|
66
|
+
# @return [::String]
|
|
67
|
+
# Output only. Human-readable name of the tool.
|
|
68
|
+
# @!attribute [r] description
|
|
69
|
+
# @return [::String]
|
|
70
|
+
# Output only. Description of what the tool does.
|
|
71
|
+
# @!attribute [r] annotations
|
|
72
|
+
# @return [::Google::Cloud::AgentRegistry::V1::McpServer::Tool::Annotations]
|
|
73
|
+
# Output only. Annotations associated with the tool.
|
|
74
|
+
class Tool
|
|
75
|
+
include ::Google::Protobuf::MessageExts
|
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
77
|
+
|
|
78
|
+
# Annotations describing the characteristics and behavior of a tool or
|
|
79
|
+
# operation.
|
|
80
|
+
# @!attribute [r] title
|
|
81
|
+
# @return [::String]
|
|
82
|
+
# Output only. A human-readable title for the tool.
|
|
83
|
+
# @!attribute [r] destructive_hint
|
|
84
|
+
# @return [::Boolean]
|
|
85
|
+
# Output only. If true, the tool may perform destructive updates to its
|
|
86
|
+
# environment. If false, the tool performs only additive updates. NOTE:
|
|
87
|
+
# This property is meaningful only when `read_only_hint == false`
|
|
88
|
+
# Default: true
|
|
89
|
+
# @!attribute [r] idempotent_hint
|
|
90
|
+
# @return [::Boolean]
|
|
91
|
+
# Output only. If true, calling the tool repeatedly with the same
|
|
92
|
+
# arguments will have no additional effect on its environment. NOTE: This
|
|
93
|
+
# property is meaningful only when `read_only_hint == false` Default:
|
|
94
|
+
# false
|
|
95
|
+
# @!attribute [r] open_world_hint
|
|
96
|
+
# @return [::Boolean]
|
|
97
|
+
# Output only. If true, this tool may interact with an "open world" of
|
|
98
|
+
# external entities. If false, the tool's domain of interaction is
|
|
99
|
+
# closed. For example, the world of a web search tool is open, whereas
|
|
100
|
+
# that of a memory tool is not. Default: true
|
|
101
|
+
# @!attribute [r] read_only_hint
|
|
102
|
+
# @return [::Boolean]
|
|
103
|
+
# Output only. If true, the tool does not modify its environment.
|
|
104
|
+
# Default: false
|
|
105
|
+
class Annotations
|
|
106
|
+
include ::Google::Protobuf::MessageExts
|
|
107
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# @!attribute [rw] key
|
|
112
|
+
# @return [::String]
|
|
113
|
+
# @!attribute [rw] value
|
|
114
|
+
# @return [::Google::Protobuf::Struct]
|
|
115
|
+
class AttributesEntry
|
|
116
|
+
include ::Google::Protobuf::MessageExts
|
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AgentRegistry
|
|
23
|
+
module V1
|
|
24
|
+
# Represents the connection details for an Agent or MCP Server.
|
|
25
|
+
# @!attribute [rw] url
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Required. The destination URL.
|
|
28
|
+
# @!attribute [rw] protocol_binding
|
|
29
|
+
# @return [::Google::Cloud::AgentRegistry::V1::Interface::ProtocolBinding]
|
|
30
|
+
# Required. The protocol binding of the interface.
|
|
31
|
+
class Interface
|
|
32
|
+
include ::Google::Protobuf::MessageExts
|
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
34
|
+
|
|
35
|
+
# The protocol binding of the interface.
|
|
36
|
+
module ProtocolBinding
|
|
37
|
+
# Unspecified transport protocol.
|
|
38
|
+
PROTOCOL_BINDING_UNSPECIFIED = 0
|
|
39
|
+
|
|
40
|
+
# JSON-RPC specification.
|
|
41
|
+
JSONRPC = 1
|
|
42
|
+
|
|
43
|
+
# gRPC specification.
|
|
44
|
+
GRPC = 2
|
|
45
|
+
|
|
46
|
+
# HTTP+JSON specification.
|
|
47
|
+
HTTP_JSON = 3
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AgentRegistry
|
|
23
|
+
module V1
|
|
24
|
+
# Represents a user-defined Service.
|
|
25
|
+
# @!attribute [rw] agent_spec
|
|
26
|
+
# @return [::Google::Cloud::AgentRegistry::V1::Service::AgentSpec]
|
|
27
|
+
# Optional. The spec of the Agent. When `agent_spec` is set, the type of
|
|
28
|
+
# the service is Agent.
|
|
29
|
+
#
|
|
30
|
+
# Note: The following fields are mutually exclusive: `agent_spec`, `mcp_server_spec`, `endpoint_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
31
|
+
# @!attribute [rw] mcp_server_spec
|
|
32
|
+
# @return [::Google::Cloud::AgentRegistry::V1::Service::McpServerSpec]
|
|
33
|
+
# Optional. The spec of the MCP Server. When `mcp_server_spec` is set, the
|
|
34
|
+
# type of the service is MCP Server.
|
|
35
|
+
#
|
|
36
|
+
# Note: The following fields are mutually exclusive: `mcp_server_spec`, `agent_spec`, `endpoint_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
37
|
+
# @!attribute [rw] endpoint_spec
|
|
38
|
+
# @return [::Google::Cloud::AgentRegistry::V1::Service::EndpointSpec]
|
|
39
|
+
# Optional. The spec of the Endpoint. When `endpoint_spec` is set, the type
|
|
40
|
+
# of the service is Endpoint.
|
|
41
|
+
#
|
|
42
|
+
# Note: The following fields are mutually exclusive: `endpoint_spec`, `agent_spec`, `mcp_server_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
43
|
+
# @!attribute [rw] name
|
|
44
|
+
# @return [::String]
|
|
45
|
+
# Identifier. The resource name of the Service.
|
|
46
|
+
# Format: `projects/{project}/locations/{location}/services/{service}`.
|
|
47
|
+
# @!attribute [rw] display_name
|
|
48
|
+
# @return [::String]
|
|
49
|
+
# Optional. User-defined display name for the Service.
|
|
50
|
+
# Can have a maximum length of `63` characters.
|
|
51
|
+
# @!attribute [rw] description
|
|
52
|
+
# @return [::String]
|
|
53
|
+
# Optional. User-defined description of an Service.
|
|
54
|
+
# Can have a maximum length of `2048` characters.
|
|
55
|
+
# @!attribute [rw] interfaces
|
|
56
|
+
# @return [::Array<::Google::Cloud::AgentRegistry::V1::Interface>]
|
|
57
|
+
# Optional. The connection details for the Service.
|
|
58
|
+
# @!attribute [r] registry_resource
|
|
59
|
+
# @return [::String]
|
|
60
|
+
# Output only. The resource name of the resulting Agent, MCP Server, or
|
|
61
|
+
# Endpoint. Format:
|
|
62
|
+
#
|
|
63
|
+
# * `projects/{project}/locations/{location}/mcpServers/{mcp_server}`
|
|
64
|
+
# * `projects/{project}/locations/{location}/agents/{agent}`
|
|
65
|
+
# * `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
|
66
|
+
# @!attribute [r] create_time
|
|
67
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
68
|
+
# Output only. Create time.
|
|
69
|
+
# @!attribute [r] update_time
|
|
70
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
71
|
+
# Output only. Update time.
|
|
72
|
+
class Service
|
|
73
|
+
include ::Google::Protobuf::MessageExts
|
|
74
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
75
|
+
|
|
76
|
+
# The spec of the agent.
|
|
77
|
+
# @!attribute [rw] type
|
|
78
|
+
# @return [::Google::Cloud::AgentRegistry::V1::Service::AgentSpec::Type]
|
|
79
|
+
# Required. The type of the agent spec content.
|
|
80
|
+
# @!attribute [rw] content
|
|
81
|
+
# @return [::Google::Protobuf::Struct]
|
|
82
|
+
# Optional. The content of the Agent spec in the JSON format.
|
|
83
|
+
# This payload is validated against the schema for the specified type.
|
|
84
|
+
# The content size is limited to `10KB`.
|
|
85
|
+
class AgentSpec
|
|
86
|
+
include ::Google::Protobuf::MessageExts
|
|
87
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
88
|
+
|
|
89
|
+
# The type of the agent spec.
|
|
90
|
+
module Type
|
|
91
|
+
# Unspecified type.
|
|
92
|
+
TYPE_UNSPECIFIED = 0
|
|
93
|
+
|
|
94
|
+
# There is no spec for the Agent. The `content` field must be empty.
|
|
95
|
+
NO_SPEC = 1
|
|
96
|
+
|
|
97
|
+
# The content is an A2A Agent Card following the A2A specification.
|
|
98
|
+
# The `interfaces` field must be empty.
|
|
99
|
+
A2A_AGENT_CARD = 2
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# The spec of the MCP Server.
|
|
104
|
+
# @!attribute [rw] type
|
|
105
|
+
# @return [::Google::Cloud::AgentRegistry::V1::Service::McpServerSpec::Type]
|
|
106
|
+
# Required. The type of the MCP Server spec content.
|
|
107
|
+
# @!attribute [rw] content
|
|
108
|
+
# @return [::Google::Protobuf::Struct]
|
|
109
|
+
# Optional. The content of the MCP Server spec.
|
|
110
|
+
# This payload is validated against the schema for the specified type.
|
|
111
|
+
# The content size is limited to `10KB`.
|
|
112
|
+
class McpServerSpec
|
|
113
|
+
include ::Google::Protobuf::MessageExts
|
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
115
|
+
|
|
116
|
+
# The type of the MCP Server spec.
|
|
117
|
+
module Type
|
|
118
|
+
# Unspecified type.
|
|
119
|
+
TYPE_UNSPECIFIED = 0
|
|
120
|
+
|
|
121
|
+
# There is no spec for the MCP Server. The `content` field must be empty.
|
|
122
|
+
NO_SPEC = 1
|
|
123
|
+
|
|
124
|
+
# The content is a MCP Tool Spec following the One MCP specification.
|
|
125
|
+
# The payload is the same as the `tools/list` response.
|
|
126
|
+
TOOL_SPEC = 2
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# The spec of the endpoint.
|
|
131
|
+
# @!attribute [rw] type
|
|
132
|
+
# @return [::Google::Cloud::AgentRegistry::V1::Service::EndpointSpec::Type]
|
|
133
|
+
# Required. The type of the endpoint spec content.
|
|
134
|
+
# @!attribute [rw] content
|
|
135
|
+
# @return [::Google::Protobuf::Struct]
|
|
136
|
+
# Optional. The content of the endpoint spec.
|
|
137
|
+
# Reserved for future use.
|
|
138
|
+
class EndpointSpec
|
|
139
|
+
include ::Google::Protobuf::MessageExts
|
|
140
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
141
|
+
|
|
142
|
+
# The type of the endpoint spec.
|
|
143
|
+
module Type
|
|
144
|
+
# Unspecified type.
|
|
145
|
+
TYPE_UNSPECIFIED = 0
|
|
146
|
+
|
|
147
|
+
# There is no spec for the Endpoint. The `content` field must be empty.
|
|
148
|
+
NO_SPEC = 1
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
end
|