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,54 @@
|
|
|
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
|
+
require "gapic/rest"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/agent_registry/v1/version"
|
|
24
|
+
require "google/cloud/agent_registry/v1/bindings_override"
|
|
25
|
+
|
|
26
|
+
require "google/cloud/agent_registry/v1/agent_registry/credentials"
|
|
27
|
+
require "google/cloud/agent_registry/v1/agent_registry/paths"
|
|
28
|
+
require "google/cloud/agent_registry/v1/agent_registry/rest/operations"
|
|
29
|
+
require "google/cloud/agent_registry/v1/agent_registry/rest/client"
|
|
30
|
+
|
|
31
|
+
module Google
|
|
32
|
+
module Cloud
|
|
33
|
+
module AgentRegistry
|
|
34
|
+
module V1
|
|
35
|
+
##
|
|
36
|
+
# Service for managing Agents, Endpoints, McpServers, Services, and Bindings.
|
|
37
|
+
#
|
|
38
|
+
# To load this service and instantiate a REST client:
|
|
39
|
+
#
|
|
40
|
+
# require "google/cloud/agent_registry/v1/agent_registry/rest"
|
|
41
|
+
# client = ::Google::Cloud::AgentRegistry::V1::AgentRegistry::Rest::Client.new
|
|
42
|
+
#
|
|
43
|
+
module AgentRegistry
|
|
44
|
+
# Client for the REST transport
|
|
45
|
+
module Rest
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
|
54
|
+
require "google/cloud/agent_registry/v1/agent_registry/rest/helpers" if ::File.file? helper_path
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
require "gapic/common"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/agent_registry/v1/version"
|
|
24
|
+
|
|
25
|
+
require "google/cloud/agent_registry/v1/agent_registry/credentials"
|
|
26
|
+
require "google/cloud/agent_registry/v1/agent_registry/paths"
|
|
27
|
+
require "google/cloud/agent_registry/v1/agent_registry/operations"
|
|
28
|
+
require "google/cloud/agent_registry/v1/agent_registry/client"
|
|
29
|
+
require "google/cloud/agent_registry/v1/agent_registry/rest"
|
|
30
|
+
|
|
31
|
+
module Google
|
|
32
|
+
module Cloud
|
|
33
|
+
module AgentRegistry
|
|
34
|
+
module V1
|
|
35
|
+
##
|
|
36
|
+
# Service for managing Agents, Endpoints, McpServers, Services, and Bindings.
|
|
37
|
+
#
|
|
38
|
+
# @example Load this service and instantiate a gRPC client
|
|
39
|
+
#
|
|
40
|
+
# require "google/cloud/agent_registry/v1/agent_registry"
|
|
41
|
+
# client = ::Google::Cloud::AgentRegistry::V1::AgentRegistry::Client.new
|
|
42
|
+
#
|
|
43
|
+
# @example Load this service and instantiate a REST client
|
|
44
|
+
#
|
|
45
|
+
# require "google/cloud/agent_registry/v1/agent_registry/rest"
|
|
46
|
+
# client = ::Google::Cloud::AgentRegistry::V1::AgentRegistry::Rest::Client.new
|
|
47
|
+
#
|
|
48
|
+
module AgentRegistry
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
helper_path = ::File.join __dir__, "agent_registry", "helpers.rb"
|
|
56
|
+
require "google/cloud/agent_registry/v1/agent_registry/helpers" if ::File.file? helper_path
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
require "gapic/rest"
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Cloud
|
|
23
|
+
module AgentRegistry
|
|
24
|
+
##
|
|
25
|
+
# @example Loading just the REST part of this package, including all its services, and instantiating a REST client
|
|
26
|
+
#
|
|
27
|
+
# require "google/cloud/agent_registry/v1/rest"
|
|
28
|
+
# client = ::Google::Cloud::AgentRegistry::V1::AgentRegistry::Rest::Client.new
|
|
29
|
+
#
|
|
30
|
+
module V1
|
|
31
|
+
##
|
|
32
|
+
# @private
|
|
33
|
+
# Initialize the mixin bindings configuration
|
|
34
|
+
#
|
|
35
|
+
def self.configure
|
|
36
|
+
@configure ||= begin
|
|
37
|
+
namespace = ["Google", "Cloud", "AgentRegistry"]
|
|
38
|
+
parent_config = while namespace.any?
|
|
39
|
+
parent_name = namespace.join "::"
|
|
40
|
+
parent_const = const_get parent_name
|
|
41
|
+
break parent_const.configure if parent_const.respond_to? :configure
|
|
42
|
+
namespace.pop
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
|
|
46
|
+
default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
|
|
47
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
48
|
+
uri_method: :get,
|
|
49
|
+
uri_template: "/v1/{name}",
|
|
50
|
+
matches: [
|
|
51
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
52
|
+
],
|
|
53
|
+
body: nil
|
|
54
|
+
)
|
|
55
|
+
]
|
|
56
|
+
default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
|
|
57
|
+
|
|
58
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
59
|
+
uri_method: :get,
|
|
60
|
+
uri_template: "/v1/{name}/locations",
|
|
61
|
+
matches: [
|
|
62
|
+
["name", %r{^projects/[^/]+/?$}, false]
|
|
63
|
+
],
|
|
64
|
+
body: nil
|
|
65
|
+
)
|
|
66
|
+
]
|
|
67
|
+
default_config
|
|
68
|
+
end
|
|
69
|
+
yield @configure if block_given?
|
|
70
|
+
@configure
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
require "google/cloud/agent_registry/v1/agent_registry/rest"
|
|
20
|
+
require "google/cloud/agent_registry/v1/bindings_override"
|
|
21
|
+
require "google/cloud/agent_registry/v1/version"
|
|
22
|
+
|
|
23
|
+
module Google
|
|
24
|
+
module Cloud
|
|
25
|
+
module AgentRegistry
|
|
26
|
+
##
|
|
27
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
|
28
|
+
#
|
|
29
|
+
# @example
|
|
30
|
+
#
|
|
31
|
+
# require "google/cloud/agent_registry/v1/rest"
|
|
32
|
+
# client = ::Google::Cloud::AgentRegistry::V1::AgentRegistry::Rest::Client.new
|
|
33
|
+
#
|
|
34
|
+
module V1
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# Copyright 2026 Google LLC
|
|
2
4
|
#
|
|
3
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
6
|
# you may not use this file except in compliance with the License.
|
|
5
7
|
# You may obtain a copy of the License at
|
|
6
8
|
#
|
|
7
|
-
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
10
|
#
|
|
9
11
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
12
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -12,11 +14,14 @@
|
|
|
12
14
|
# See the License for the specific language governing permissions and
|
|
13
15
|
# limitations under the License.
|
|
14
16
|
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
15
20
|
module Google
|
|
16
21
|
module Cloud
|
|
17
22
|
module AgentRegistry
|
|
18
23
|
module V1
|
|
19
|
-
VERSION = "0.
|
|
24
|
+
VERSION = "0.1.0"
|
|
20
25
|
end
|
|
21
26
|
end
|
|
22
27
|
end
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
require "google/cloud/agent_registry/v1/agent_registry"
|
|
20
|
+
require "google/cloud/agent_registry/v1/version"
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module AgentRegistry
|
|
25
|
+
##
|
|
26
|
+
# API client module.
|
|
27
|
+
#
|
|
28
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
|
29
|
+
#
|
|
30
|
+
# require "google/cloud/agent_registry/v1"
|
|
31
|
+
# client = ::Google::Cloud::AgentRegistry::V1::AgentRegistry::Client.new
|
|
32
|
+
#
|
|
33
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
|
34
|
+
#
|
|
35
|
+
# require "google/cloud/agent_registry/v1"
|
|
36
|
+
# client = ::Google::Cloud::AgentRegistry::V1::AgentRegistry::Rest::Client.new
|
|
37
|
+
#
|
|
38
|
+
module V1
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
helper_path = ::File.join __dir__, "v1", "_helpers.rb"
|
|
45
|
+
require "google/cloud/agent_registry/v1/_helpers" if ::File.file? helper_path
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/agentregistry/v1/agent.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/field_info_pb'
|
|
9
|
+
require 'google/api/resource_pb'
|
|
10
|
+
require 'google/cloud/agentregistry/v1/properties_pb'
|
|
11
|
+
require 'google/protobuf/struct_pb'
|
|
12
|
+
require 'google/protobuf/timestamp_pb'
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
descriptor_data = "\n)google/cloud/agentregistry/v1/agent.proto\x12\x1dgoogle.cloud.agentregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/agentregistry/v1/properties.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf7\t\n\x05\x41gent\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x15\n\x08\x61gent_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08location\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\tprotocols\x18\x08 \x03(\x0b\x32-.google.cloud.agentregistry.v1.Agent.ProtocolB\x03\xe0\x41\x03\x12?\n\x06skills\x18\t \x03(\x0b\x32*.google.cloud.agentregistry.v1.Agent.SkillB\x03\xe0\x41\x03\x12\x18\n\x03uid\x18\n \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x34\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12M\n\nattributes\x18\r \x03(\x0b\x32\x34.google.cloud.agentregistry.v1.Agent.AttributesEntryB\x03\xe0\x41\x03\x12<\n\x04\x63\x61rd\x18\x0e \x01(\x0b\x32).google.cloud.agentregistry.v1.Agent.CardB\x03\xe0\x41\x03\x1a\xec\x01\n\x08Protocol\x12\x45\n\x04type\x18\x01 \x01(\x0e\x32\x32.google.cloud.agentregistry.v1.Agent.Protocol.TypeB\x03\xe0\x41\x03\x12\x1d\n\x10protocol_version\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\ninterfaces\x18\x03 \x03(\x0b\x32(.google.cloud.agentregistry.v1.InterfaceB\x03\xe0\x41\x03\"7\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tA2A_AGENT\x10\x01\x12\n\n\x06\x43USTOM\x10\x02\x1ao\n\x05Skill\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04tags\x18\x04 \x03(\tB\x03\xe0\x41\x03\x12\x15\n\x08\x65xamples\x18\x05 \x03(\tB\x03\xe0\x41\x03\x1a\xaa\x01\n\x04\x43\x61rd\x12\x41\n\x04type\x18\x01 \x01(\x0e\x32..google.cloud.agentregistry.v1.Agent.Card.TypeB\x03\xe0\x41\x03\x12-\n\x07\x63ontent\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03\"0\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x41\x32\x41_AGENT_CARD\x10\x01\x1aJ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct:\x02\x38\x01:n\xea\x41k\n\"agentregistry.googleapis.com/Agent\x12\x36projects/{project}/locations/{location}/agents/{agent}*\x06\x61gents2\x05\x61gentB\xdd\x01\n!com.google.cloud.agentregistry.v1B\nAgentProtoP\x01ZGcloud.google.com/go/agentregistry/apiv1/agentregistrypb;agentregistrypb\xaa\x02\x1dGoogle.Cloud.AgentRegistry.V1\xca\x02\x1dGoogle\\Cloud\\AgentRegistry\\V1\xea\x02 Google::Cloud::AgentRegistry::V1b\x06proto3"
|
|
16
|
+
|
|
17
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AgentRegistry
|
|
23
|
+
module V1
|
|
24
|
+
Agent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Agent").msgclass
|
|
25
|
+
Agent::Protocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Agent.Protocol").msgclass
|
|
26
|
+
Agent::Protocol::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Agent.Protocol.Type").enummodule
|
|
27
|
+
Agent::Skill = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Agent.Skill").msgclass
|
|
28
|
+
Agent::Card = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Agent.Card").msgclass
|
|
29
|
+
Agent::Card::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Agent.Card.Type").enummodule
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/agentregistry/v1/agentregistry_service.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/annotations_pb'
|
|
8
|
+
require 'google/api/client_pb'
|
|
9
|
+
require 'google/api/field_behavior_pb'
|
|
10
|
+
require 'google/api/field_info_pb'
|
|
11
|
+
require 'google/api/resource_pb'
|
|
12
|
+
require 'google/cloud/agentregistry/v1/agent_pb'
|
|
13
|
+
require 'google/cloud/agentregistry/v1/binding_pb'
|
|
14
|
+
require 'google/cloud/agentregistry/v1/endpoint_pb'
|
|
15
|
+
require 'google/cloud/agentregistry/v1/mcp_server_pb'
|
|
16
|
+
require 'google/cloud/agentregistry/v1/service_pb'
|
|
17
|
+
require 'google/longrunning/operations_pb'
|
|
18
|
+
require 'google/protobuf/empty_pb'
|
|
19
|
+
require 'google/protobuf/field_mask_pb'
|
|
20
|
+
require 'google/protobuf/timestamp_pb'
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
descriptor_data = "\n9google/cloud/agentregistry/v1/agentregistry_service.proto\x12\x1dgoogle.cloud.agentregistry.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/agentregistry/v1/agent.proto\x1a+google/cloud/agentregistry/v1/binding.proto\x1a,google/cloud/agentregistry/v1/endpoint.proto\x1a.google/cloud/agentregistry/v1/mcp_server.proto\x1a+google/cloud/agentregistry/v1/service.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xac\x01\n\x11ListAgentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"agentregistry.googleapis.com/Agent\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"c\n\x12ListAgentsResponse\x12\x34\n\x06\x61gents\x18\x01 \x03(\x0b\x32$.google.cloud.agentregistry.v1.Agent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9e\x01\n\x13SearchAgentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"agentregistry.googleapis.com/Agent\x12\x1a\n\rsearch_string\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x07 \x01(\tB\x03\xe0\x41\x01\"e\n\x14SearchAgentsResponse\x12\x34\n\x06\x61gents\x18\x01 \x03(\x0b\x32$.google.cloud.agentregistry.v1.Agent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"K\n\x0fGetAgentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"agentregistry.googleapis.com/Agent\"\x9b\x01\n\x14ListEndpointsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%agentregistry.googleapis.com/Endpoint\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"l\n\x15ListEndpointsResponse\x12:\n\tendpoints\x18\x01 \x03(\x0b\x32\'.google.cloud.agentregistry.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x12GetEndpointRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%agentregistry.googleapis.com/Endpoint\"\xb4\x01\n\x15ListMcpServersRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&agentregistry.googleapis.com/McpServer\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"p\n\x16ListMcpServersResponse\x12=\n\x0bmcp_servers\x18\x01 \x03(\x0b\x32(.google.cloud.agentregistry.v1.McpServer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa6\x01\n\x17SearchMcpServersRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&agentregistry.googleapis.com/McpServer\x12\x1a\n\rsearch_string\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x07 \x01(\tB\x03\xe0\x41\x01\"r\n\x18SearchMcpServersResponse\x12=\n\x0bmcp_servers\x18\x01 \x03(\x0b\x32(.google.cloud.agentregistry.v1.McpServer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x13GetMcpServerRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&agentregistry.googleapis.com/McpServer\"\x99\x01\n\x13ListServicesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$agentregistry.googleapis.com/Service\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"i\n\x14ListServicesResponse\x12\x38\n\x08services\x18\x01 \x03(\x0b\x32&.google.cloud.agentregistry.v1.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x11GetServiceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$agentregistry.googleapis.com/Service\"\xcc\x01\n\x14\x43reateServiceRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$agentregistry.googleapis.com/Service\x12\x17\n\nservice_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x07service\x18\x03 \x01(\x0b\x32&.google.cloud.agentregistry.v1.ServiceB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xe1\x01\n\x1d\x46\x65tchAvailableBindingsRequest\x12\x1b\n\x11source_identifier\x18\x02 \x01(\tH\x00\x12 \n\x11target_identifier\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x01\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$agentregistry.googleapis.com/Binding\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x42\x08\n\x06sourceB\x08\n\x06target\"s\n\x1e\x46\x65tchAvailableBindingsResponse\x12\x38\n\x08\x62indings\x18\x01 \x03(\x0b\x32&.google.cloud.agentregistry.v1.Binding\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xab\x01\n\x14UpdateServiceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12<\n\x07service\x18\x02 \x01(\x0b\x32&.google.cloud.agentregistry.v1.ServiceB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"s\n\x14\x44\x65leteServiceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$agentregistry.googleapis.com/Service\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xb0\x01\n\x13ListBindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$agentregistry.googleapis.com/Binding\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"i\n\x14ListBindingsResponse\x12\x38\n\x08\x62indings\x18\x01 \x03(\x0b\x32&.google.cloud.agentregistry.v1.Binding\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x11GetBindingRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$agentregistry.googleapis.com/Binding\"\xcc\x01\n\x14\x43reateBindingRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$agentregistry.googleapis.com/Binding\x12\x17\n\nbinding_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x07\x62inding\x18\x03 \x01(\x0b\x32&.google.cloud.agentregistry.v1.BindingB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xab\x01\n\x14UpdateBindingRequest\x12<\n\x07\x62inding\x18\x01 \x01(\x0b\x32&.google.cloud.agentregistry.v1.BindingB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"s\n\x14\x44\x65leteBindingRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$agentregistry.googleapis.com/Binding\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x32\x8c\x1f\n\rAgentRegistry\x12\xae\x01\n\nListAgents\x12\x30.google.cloud.agentregistry.v1.ListAgentsRequest\x1a\x31.google.cloud.agentregistry.v1.ListAgentsResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/agents\x12\xbe\x01\n\x0cSearchAgents\x12\x32.google.cloud.agentregistry.v1.SearchAgentsRequest\x1a\x33.google.cloud.agentregistry.v1.SearchAgentsResponse\"E\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x36\"1/v1/{parent=projects/*/locations/*}/agents:search:\x01*\x12\x9b\x01\n\x08GetAgent\x12..google.cloud.agentregistry.v1.GetAgentRequest\x1a$.google.cloud.agentregistry.v1.Agent\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/agents/*}\x12\xba\x01\n\rListEndpoints\x12\x33.google.cloud.agentregistry.v1.ListEndpointsRequest\x1a\x34.google.cloud.agentregistry.v1.ListEndpointsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/endpoints\x12\xa7\x01\n\x0bGetEndpoint\x12\x31.google.cloud.agentregistry.v1.GetEndpointRequest\x1a\'.google.cloud.agentregistry.v1.Endpoint\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/endpoints/*}\x12\xbe\x01\n\x0eListMcpServers\x12\x34.google.cloud.agentregistry.v1.ListMcpServersRequest\x1a\x35.google.cloud.agentregistry.v1.ListMcpServersResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/mcpServers\x12\xce\x01\n\x10SearchMcpServers\x12\x36.google.cloud.agentregistry.v1.SearchMcpServersRequest\x1a\x37.google.cloud.agentregistry.v1.SearchMcpServersResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\"5/v1/{parent=projects/*/locations/*}/mcpServers:search:\x01*\x12\xab\x01\n\x0cGetMcpServer\x12\x32.google.cloud.agentregistry.v1.GetMcpServerRequest\x1a(.google.cloud.agentregistry.v1.McpServer\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/mcpServers/*}\x12\xb6\x01\n\x0cListServices\x12\x32.google.cloud.agentregistry.v1.ListServicesRequest\x1a\x33.google.cloud.agentregistry.v1.ListServicesResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/services\x12\xa3\x01\n\nGetService\x12\x30.google.cloud.agentregistry.v1.GetServiceRequest\x1a&.google.cloud.agentregistry.v1.Service\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/services/*}\x12\xdd\x01\n\rCreateService\x12\x33.google.cloud.agentregistry.v1.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07Service\x12\x11OperationMetadata\xda\x41\x19parent,service,service_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/services:\x07service\x12\xdf\x01\n\rUpdateService\x12\x33.google.cloud.agentregistry.v1.UpdateServiceRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07Service\x12\x11OperationMetadata\xda\x41\x13service,update_mask\x82\xd3\xe4\x93\x02?24/v1/{service.name=projects/*/locations/*/services/*}:\x07service\x12\xcd\x01\n\rDeleteService\x12\x33.google.cloud.agentregistry.v1.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/services/*}\x12\xb6\x01\n\x0cListBindings\x12\x32.google.cloud.agentregistry.v1.ListBindingsRequest\x1a\x33.google.cloud.agentregistry.v1.ListBindingsResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/bindings\x12\xa3\x01\n\nGetBinding\x12\x30.google.cloud.agentregistry.v1.GetBindingRequest\x1a&.google.cloud.agentregistry.v1.Binding\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/bindings/*}\x12\xdd\x01\n\rCreateBinding\x12\x33.google.cloud.agentregistry.v1.CreateBindingRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07\x42inding\x12\x11OperationMetadata\xda\x41\x19parent,binding,binding_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/bindings:\x07\x62inding\x12\xdf\x01\n\rUpdateBinding\x12\x33.google.cloud.agentregistry.v1.UpdateBindingRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07\x42inding\x12\x11OperationMetadata\xda\x41\x13\x62inding,update_mask\x82\xd3\xe4\x93\x02?24/v1/{binding.name=projects/*/locations/*/bindings/*}:\x07\x62inding\x12\xcd\x01\n\rDeleteBinding\x12\x33.google.cloud.agentregistry.v1.DeleteBindingRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/bindings/*}\x12\xe3\x01\n\x16\x46\x65tchAvailableBindings\x12<.google.cloud.agentregistry.v1.FetchAvailableBindingsRequest\x1a=.google.cloud.agentregistry.v1.FetchAvailableBindingsResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*}/bindings:fetchAvailable\x1a\xfb\x01\xca\x41\x1c\x61gentregistry.googleapis.com\xd2\x41\xd8\x01https://www.googleapis.com/auth/agentregistry.read-only,https://www.googleapis.com/auth/agentregistry.read-write,https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xec\x01\n!com.google.cloud.agentregistry.v1B\x19\x41gentRegistryServiceProtoP\x01ZGcloud.google.com/go/agentregistry/apiv1/agentregistrypb;agentregistrypb\xaa\x02\x1dGoogle.Cloud.AgentRegistry.V1\xca\x02\x1dGoogle\\Cloud\\AgentRegistry\\V1\xea\x02 Google::Cloud::AgentRegistry::V1b\x06proto3"
|
|
24
|
+
|
|
25
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
26
|
+
pool.add_serialized_file(descriptor_data)
|
|
27
|
+
|
|
28
|
+
module Google
|
|
29
|
+
module Cloud
|
|
30
|
+
module AgentRegistry
|
|
31
|
+
module V1
|
|
32
|
+
ListAgentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.ListAgentsRequest").msgclass
|
|
33
|
+
ListAgentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.ListAgentsResponse").msgclass
|
|
34
|
+
SearchAgentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.SearchAgentsRequest").msgclass
|
|
35
|
+
SearchAgentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.SearchAgentsResponse").msgclass
|
|
36
|
+
GetAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.GetAgentRequest").msgclass
|
|
37
|
+
ListEndpointsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.ListEndpointsRequest").msgclass
|
|
38
|
+
ListEndpointsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.ListEndpointsResponse").msgclass
|
|
39
|
+
GetEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.GetEndpointRequest").msgclass
|
|
40
|
+
ListMcpServersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.ListMcpServersRequest").msgclass
|
|
41
|
+
ListMcpServersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.ListMcpServersResponse").msgclass
|
|
42
|
+
SearchMcpServersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.SearchMcpServersRequest").msgclass
|
|
43
|
+
SearchMcpServersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.SearchMcpServersResponse").msgclass
|
|
44
|
+
GetMcpServerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.GetMcpServerRequest").msgclass
|
|
45
|
+
ListServicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.ListServicesRequest").msgclass
|
|
46
|
+
ListServicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.ListServicesResponse").msgclass
|
|
47
|
+
GetServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.GetServiceRequest").msgclass
|
|
48
|
+
CreateServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.CreateServiceRequest").msgclass
|
|
49
|
+
FetchAvailableBindingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.FetchAvailableBindingsRequest").msgclass
|
|
50
|
+
FetchAvailableBindingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.FetchAvailableBindingsResponse").msgclass
|
|
51
|
+
UpdateServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.UpdateServiceRequest").msgclass
|
|
52
|
+
DeleteServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.DeleteServiceRequest").msgclass
|
|
53
|
+
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.OperationMetadata").msgclass
|
|
54
|
+
ListBindingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.ListBindingsRequest").msgclass
|
|
55
|
+
ListBindingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.ListBindingsResponse").msgclass
|
|
56
|
+
GetBindingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.GetBindingRequest").msgclass
|
|
57
|
+
CreateBindingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.CreateBindingRequest").msgclass
|
|
58
|
+
UpdateBindingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.UpdateBindingRequest").msgclass
|
|
59
|
+
DeleteBindingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.DeleteBindingRequest").msgclass
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: google/cloud/agentregistry/v1/agentregistry_service.proto for package 'Google.Cloud.AgentRegistry.V1'
|
|
3
|
+
# Original file comments:
|
|
4
|
+
# Copyright 2026 Google LLC
|
|
5
|
+
#
|
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
# you may not use this file except in compliance with the License.
|
|
8
|
+
# You may obtain a copy of the License at
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
# See the License for the specific language governing permissions and
|
|
16
|
+
# limitations under the License.
|
|
17
|
+
#
|
|
18
|
+
|
|
19
|
+
require 'grpc'
|
|
20
|
+
require 'google/cloud/agentregistry/v1/agentregistry_service_pb'
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module AgentRegistry
|
|
25
|
+
module V1
|
|
26
|
+
module AgentRegistry
|
|
27
|
+
# Service for managing Agents, Endpoints, McpServers, Services, and Bindings.
|
|
28
|
+
class Service
|
|
29
|
+
|
|
30
|
+
include ::GRPC::GenericService
|
|
31
|
+
|
|
32
|
+
self.marshal_class_method = :encode
|
|
33
|
+
self.unmarshal_class_method = :decode
|
|
34
|
+
self.service_name = 'google.cloud.agentregistry.v1.AgentRegistry'
|
|
35
|
+
|
|
36
|
+
# Lists Agents in a given project and location.
|
|
37
|
+
rpc :ListAgents, ::Google::Cloud::AgentRegistry::V1::ListAgentsRequest, ::Google::Cloud::AgentRegistry::V1::ListAgentsResponse
|
|
38
|
+
# Searches Agents in a given project and location.
|
|
39
|
+
rpc :SearchAgents, ::Google::Cloud::AgentRegistry::V1::SearchAgentsRequest, ::Google::Cloud::AgentRegistry::V1::SearchAgentsResponse
|
|
40
|
+
# Gets details of a single Agent.
|
|
41
|
+
rpc :GetAgent, ::Google::Cloud::AgentRegistry::V1::GetAgentRequest, ::Google::Cloud::AgentRegistry::V1::Agent
|
|
42
|
+
# Lists Endpoints in a given project and location.
|
|
43
|
+
rpc :ListEndpoints, ::Google::Cloud::AgentRegistry::V1::ListEndpointsRequest, ::Google::Cloud::AgentRegistry::V1::ListEndpointsResponse
|
|
44
|
+
# Gets details of a single Endpoint.
|
|
45
|
+
rpc :GetEndpoint, ::Google::Cloud::AgentRegistry::V1::GetEndpointRequest, ::Google::Cloud::AgentRegistry::V1::Endpoint
|
|
46
|
+
# Lists McpServers in a given project and location.
|
|
47
|
+
rpc :ListMcpServers, ::Google::Cloud::AgentRegistry::V1::ListMcpServersRequest, ::Google::Cloud::AgentRegistry::V1::ListMcpServersResponse
|
|
48
|
+
# Searches McpServers in a given project and location.
|
|
49
|
+
rpc :SearchMcpServers, ::Google::Cloud::AgentRegistry::V1::SearchMcpServersRequest, ::Google::Cloud::AgentRegistry::V1::SearchMcpServersResponse
|
|
50
|
+
# Gets details of a single McpServer.
|
|
51
|
+
rpc :GetMcpServer, ::Google::Cloud::AgentRegistry::V1::GetMcpServerRequest, ::Google::Cloud::AgentRegistry::V1::McpServer
|
|
52
|
+
# Lists Services in a given project and location.
|
|
53
|
+
rpc :ListServices, ::Google::Cloud::AgentRegistry::V1::ListServicesRequest, ::Google::Cloud::AgentRegistry::V1::ListServicesResponse
|
|
54
|
+
# Gets details of a single Service.
|
|
55
|
+
rpc :GetService, ::Google::Cloud::AgentRegistry::V1::GetServiceRequest, ::Google::Cloud::AgentRegistry::V1::Service
|
|
56
|
+
# Creates a new Service in a given project and location.
|
|
57
|
+
rpc :CreateService, ::Google::Cloud::AgentRegistry::V1::CreateServiceRequest, ::Google::Longrunning::Operation
|
|
58
|
+
# Updates the parameters of a single Service.
|
|
59
|
+
rpc :UpdateService, ::Google::Cloud::AgentRegistry::V1::UpdateServiceRequest, ::Google::Longrunning::Operation
|
|
60
|
+
# Deletes a single Service.
|
|
61
|
+
rpc :DeleteService, ::Google::Cloud::AgentRegistry::V1::DeleteServiceRequest, ::Google::Longrunning::Operation
|
|
62
|
+
# Lists Bindings in a given project and location.
|
|
63
|
+
rpc :ListBindings, ::Google::Cloud::AgentRegistry::V1::ListBindingsRequest, ::Google::Cloud::AgentRegistry::V1::ListBindingsResponse
|
|
64
|
+
# Gets details of a single Binding.
|
|
65
|
+
rpc :GetBinding, ::Google::Cloud::AgentRegistry::V1::GetBindingRequest, ::Google::Cloud::AgentRegistry::V1::Binding
|
|
66
|
+
# Creates a new Binding in a given project and location.
|
|
67
|
+
rpc :CreateBinding, ::Google::Cloud::AgentRegistry::V1::CreateBindingRequest, ::Google::Longrunning::Operation
|
|
68
|
+
# Updates the parameters of a single Binding.
|
|
69
|
+
rpc :UpdateBinding, ::Google::Cloud::AgentRegistry::V1::UpdateBindingRequest, ::Google::Longrunning::Operation
|
|
70
|
+
# Deletes a single Binding.
|
|
71
|
+
rpc :DeleteBinding, ::Google::Cloud::AgentRegistry::V1::DeleteBindingRequest, ::Google::Longrunning::Operation
|
|
72
|
+
# Fetches available Bindings.
|
|
73
|
+
rpc :FetchAvailableBindings, ::Google::Cloud::AgentRegistry::V1::FetchAvailableBindingsRequest, ::Google::Cloud::AgentRegistry::V1::FetchAvailableBindingsResponse
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
Stub = Service.rpc_stub_class
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/agentregistry/v1/binding.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/resource_pb'
|
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
descriptor_data = "\n+google/cloud/agentregistry/v1/binding.proto\x12\x1dgoogle.cloud.agentregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xeb\x05\n\x07\x42inding\x12[\n\x15\x61uth_provider_binding\x18\x06 \x01(\x0b\x32:.google.cloud.agentregistry.v1.Binding.AuthProviderBindingH\x00\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x42\n\x06source\x18\x04 \x01(\x0b\x32-.google.cloud.agentregistry.v1.Binding.SourceB\x03\xe0\x41\x02\x12\x42\n\x06target\x18\x05 \x01(\x0b\x32-.google.cloud.agentregistry.v1.Binding.TargetB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x06Source\x12\x14\n\nidentifier\x18\x01 \x01(\tH\x00\x42\r\n\x0bsource_type\x1a-\n\x06Target\x12\x14\n\nidentifier\x18\x01 \x01(\tH\x00\x42\r\n\x0btarget_type\x1a\x61\n\x13\x41uthProviderBinding\x12\x1a\n\rauth_provider\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06scopes\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x63ontinue_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01:x\xea\x41u\n$agentregistry.googleapis.com/Binding\x12:projects/{project}/locations/{location}/bindings/{binding}*\x08\x62indings2\x07\x62indingB\t\n\x07\x62indingB\xdf\x01\n!com.google.cloud.agentregistry.v1B\x0c\x42indingProtoP\x01ZGcloud.google.com/go/agentregistry/apiv1/agentregistrypb;agentregistrypb\xaa\x02\x1dGoogle.Cloud.AgentRegistry.V1\xca\x02\x1dGoogle\\Cloud\\AgentRegistry\\V1\xea\x02 Google::Cloud::AgentRegistry::V1b\x06proto3"
|
|
13
|
+
|
|
14
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
|
|
17
|
+
module Google
|
|
18
|
+
module Cloud
|
|
19
|
+
module AgentRegistry
|
|
20
|
+
module V1
|
|
21
|
+
Binding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Binding").msgclass
|
|
22
|
+
Binding::Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Binding.Source").msgclass
|
|
23
|
+
Binding::Target = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Binding.Target").msgclass
|
|
24
|
+
Binding::AuthProviderBinding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Binding.AuthProviderBinding").msgclass
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/agentregistry/v1/endpoint.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/resource_pb'
|
|
9
|
+
require 'google/cloud/agentregistry/v1/properties_pb'
|
|
10
|
+
require 'google/protobuf/struct_pb'
|
|
11
|
+
require 'google/protobuf/timestamp_pb'
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
descriptor_data = "\n,google/cloud/agentregistry/v1/endpoint.proto\x12\x1dgoogle.cloud.agentregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/agentregistry/v1/properties.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb8\x04\n\x08\x45ndpoint\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x0b\x65ndpoint_id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\ninterfaces\x18\x04 \x03(\x0b\x32(.google.cloud.agentregistry.v1.InterfaceB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12P\n\nattributes\x18\x07 \x03(\x0b\x32\x37.google.cloud.agentregistry.v1.Endpoint.AttributesEntryB\x03\xe0\x41\x03\x1aJ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct:\x02\x38\x01:}\xea\x41z\n%agentregistry.googleapis.com/Endpoint\x12<projects/{project}/locations/{location}/endpoints/{endpoint}*\tendpoints2\x08\x65ndpointB\xe0\x01\n!com.google.cloud.agentregistry.v1B\rEndpointProtoP\x01ZGcloud.google.com/go/agentregistry/apiv1/agentregistrypb;agentregistrypb\xaa\x02\x1dGoogle.Cloud.AgentRegistry.V1\xca\x02\x1dGoogle\\Cloud\\AgentRegistry\\V1\xea\x02 Google::Cloud::AgentRegistry::V1b\x06proto3"
|
|
15
|
+
|
|
16
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
|
18
|
+
|
|
19
|
+
module Google
|
|
20
|
+
module Cloud
|
|
21
|
+
module AgentRegistry
|
|
22
|
+
module V1
|
|
23
|
+
Endpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Endpoint").msgclass
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/agentregistry/v1/mcp_server.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/resource_pb'
|
|
9
|
+
require 'google/cloud/agentregistry/v1/properties_pb'
|
|
10
|
+
require 'google/protobuf/struct_pb'
|
|
11
|
+
require 'google/protobuf/timestamp_pb'
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
descriptor_data = "\n.google/cloud/agentregistry/v1/mcp_server.proto\x12\x1dgoogle.cloud.agentregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/agentregistry/v1/properties.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xae\x07\n\tMcpServer\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1a\n\rmcp_server_id\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\ninterfaces\x18\x04 \x03(\x0b\x32(.google.cloud.agentregistry.v1.InterfaceB\x03\xe0\x41\x03\x12\x41\n\x05tools\x18\x05 \x03(\x0b\x32-.google.cloud.agentregistry.v1.McpServer.ToolB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Q\n\nattributes\x18\x08 \x03(\x0b\x32\x38.google.cloud.agentregistry.v1.McpServer.AttributesEntryB\x03\xe0\x41\x03\x1a\xa4\x02\n\x04Tool\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12S\n\x0b\x61nnotations\x18\x03 \x01(\x0b\x32\x39.google.cloud.agentregistry.v1.McpServer.Tool.AnnotationsB\x03\xe0\x41\x03\x1a\x99\x01\n\x0b\x41nnotations\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x64\x65structive_hint\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1c\n\x0fidempotent_hint\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1c\n\x0fopen_world_hint\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1b\n\x0eread_only_hint\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x1aJ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct:\x02\x38\x01:\x84\x01\xea\x41\x80\x01\n&agentregistry.googleapis.com/McpServer\x12?projects/{project}/locations/{location}/mcpServers/{mcp_server}*\nmcpServers2\tmcpServerB\xe1\x01\n!com.google.cloud.agentregistry.v1B\x0eMcpServerProtoP\x01ZGcloud.google.com/go/agentregistry/apiv1/agentregistrypb;agentregistrypb\xaa\x02\x1dGoogle.Cloud.AgentRegistry.V1\xca\x02\x1dGoogle\\Cloud\\AgentRegistry\\V1\xea\x02 Google::Cloud::AgentRegistry::V1b\x06proto3"
|
|
15
|
+
|
|
16
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
|
18
|
+
|
|
19
|
+
module Google
|
|
20
|
+
module Cloud
|
|
21
|
+
module AgentRegistry
|
|
22
|
+
module V1
|
|
23
|
+
McpServer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.McpServer").msgclass
|
|
24
|
+
McpServer::Tool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.McpServer.Tool").msgclass
|
|
25
|
+
McpServer::Tool::Annotations = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.McpServer.Tool.Annotations").msgclass
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/agentregistry/v1/properties.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n.google/cloud/agentregistry/v1/properties.proto\x12\x1dgoogle.cloud.agentregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xd1\x01\n\tInterface\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12W\n\x10protocol_binding\x18\x02 \x01(\x0e\x32\x38.google.cloud.agentregistry.v1.Interface.ProtocolBindingB\x03\xe0\x41\x02\"Y\n\x0fProtocolBinding\x12 \n\x1cPROTOCOL_BINDING_UNSPECIFIED\x10\x00\x12\x0b\n\x07JSONRPC\x10\x01\x12\x08\n\x04GRPC\x10\x02\x12\r\n\tHTTP_JSON\x10\x03\x42\xe2\x01\n!com.google.cloud.agentregistry.v1B\x0fPropertiesProtoP\x01ZGcloud.google.com/go/agentregistry/apiv1/agentregistrypb;agentregistrypb\xaa\x02\x1dGoogle.Cloud.AgentRegistry.V1\xca\x02\x1dGoogle\\Cloud\\AgentRegistry\\V1\xea\x02 Google::Cloud::AgentRegistry::V1b\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
|
|
15
|
+
module Google
|
|
16
|
+
module Cloud
|
|
17
|
+
module AgentRegistry
|
|
18
|
+
module V1
|
|
19
|
+
Interface = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Interface").msgclass
|
|
20
|
+
Interface::ProtocolBinding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.agentregistry.v1.Interface.ProtocolBinding").enummodule
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|