google-cloud-api_registry-v1beta 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c3be6a055fc181fa37c24a1e4305b0ca11109f4ce2a07d8d874ad5733380b3a
4
- data.tar.gz: 77a13ace1334351c82d14ae5404412a37ed170cd96e889ef54c6b63b6ab1c223
3
+ metadata.gz: 1131dbae436b562ad1c253e44960dcc06d5b0c0f6ca2473c22929d163c863e7b
4
+ data.tar.gz: c742c07178096122407cb1dd64fa9b77a506e5772c5a465b9cfded3436b2c6d1
5
5
  SHA512:
6
- metadata.gz: b31c1d03f10ee444cc1089a365db7397bd445549ac96941dbb7b2ac0456da30b4d16c2315412df8385262313927d6fbac26513fa5eee7650cdf7e99ded223dd1
7
- data.tar.gz: '059eecf17f12ddfb3eec0b7a2499bc8028aadf13ef64fd10f456cd10aa734c8c1d59e3aa038280b34dc296f3c8e35d8115f2640c0c4fc294830c540c8fce2ec2'
6
+ metadata.gz: 5823f18257fdf4e557ac26169f0a8bdde3cab397fcf4310101b55ca8cd6b64f300d9f2989107f9951101504b24c35c0aab3ac0789d2771bfc79b0170bfc5e8b0
7
+ data.tar.gz: 98a39d209a7df3145b369d76f81273ed785bff2749f4e908cebc92b3f935b05957ec2d2ddf6ea4ef289c78d82290482cf619799199fb930afd7e6361a7f9f960
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ApiRegistry
23
23
  module V1beta
24
- VERSION = "0.1.0"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n,google/cloud/apiregistry/v1beta/common.proto\x12\x1fgoogle.cloud.apiregistry.v1beta*9\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x42\xe4\x01\n#com.google.cloud.apiregistry.v1betaB\x0b\x43ommonProtoP\x01ZEcloud.google.com/go/apiregistry/apiv1beta/apiregistrypb;apiregistrypb\xaa\x02\x1fGoogle.Cloud.ApiRegistry.V1Beta\xca\x02\x1fGoogle\\Cloud\\ApiRegistry\\V1beta\xea\x02\"Google::Cloud::ApiRegistry::V1betab\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Cloud
@@ -12,30 +12,8 @@ require 'google/protobuf/struct_pb'
12
12
 
13
13
  descriptor_data = "\n/google/cloud/apiregistry/v1beta/resources.proto\x12\x1fgoogle.cloud.apiregistry.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/apiregistry/v1beta/common.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xb5\x03\n\tMcpServer\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\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\x0c\n\x04urls\x18\x04 \x03(\t\x12-\n\x0c\x63\x61pabilities\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12:\n\x05state\x18\x07 \x01(\x0e\x32&.google.cloud.apiregistry.v1beta.StateB\x03\xe0\x41\x03:\xe6\x01\xea\x41\xe2\x01\n)cloudapiregistry.googleapis.com/McpServer\x12]projects/{project}/locations/{location}/apiNamespaces/{api_namespace}/mcpServers/{mcp_server}\x12?projects/{project}/locations/{location}/mcpServers/{mcp_server}*\nmcpServers2\tmcpServer\"\xfd\x03\n\x07McpTool\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x17\n\x0fmcp_server_urls\x18\x04 \x03(\t\x12-\n\x0cinput_schema\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12.\n\routput_schema\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12,\n\x0b\x61nnotations\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct:\x88\x02\xea\x41\x84\x02\n\'cloudapiregistry.googleapis.com/McpTool\x12qprojects/{project}/locations/{location}/apiNamespaces/{api_namespace}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}\x12Sprojects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}*\x08mcpTools2\x07mcpToolB\xe7\x01\n#com.google.cloud.apiregistry.v1betaB\x0eResourcesProtoP\x01ZEcloud.google.com/go/apiregistry/apiv1beta/apiregistrypb;apiregistrypb\xaa\x02\x1fGoogle.Cloud.ApiRegistry.V1Beta\xca\x02\x1fGoogle\\Cloud\\ApiRegistry\\V1beta\xea\x02\"Google::Cloud::ApiRegistry::V1betab\x06proto3"
14
14
 
15
- pool = Google::Protobuf::DescriptorPool.generated_pool
16
-
17
- begin
18
- pool.add_serialized_file(descriptor_data)
19
- rescue TypeError
20
- # Compatibility code: will be removed in the next major version.
21
- require 'google/protobuf/descriptor_pb'
22
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
- parsed.clear_dependency
24
- serialized = parsed.class.encode(parsed)
25
- file = pool.add_serialized_file(serialized)
26
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
- imports = [
28
- ["google.protobuf.Struct", "google/protobuf/struct.proto"],
29
- ]
30
- imports.each do |type_name, expected_filename|
31
- import_file = pool.lookup(type_name).file_descriptor
32
- if import_file.name != expected_filename
33
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
34
- end
35
- end
36
- warn "Each proto file must use a consistent fully-qualified name."
37
- warn "This will become an error in the next major version."
38
- end
15
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
16
+ pool.add_serialized_file(descriptor_data)
39
17
 
40
18
  module Google
41
19
  module Cloud
@@ -13,30 +13,8 @@ require 'google/cloud/apiregistry/v1beta/resources_pb'
13
13
 
14
14
  descriptor_data = "\n-google/cloud/apiregistry/v1beta/service.proto\x12\x1fgoogle.cloud.apiregistry.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a/google/cloud/apiregistry/v1beta/resources.proto\"V\n\x13GetMcpServerRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)cloudapiregistry.googleapis.com/McpServer\"\xaf\x01\n\x15ListMcpServersRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\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\"\x87\x01\n\x16ListMcpServersResponse\x12?\n\x0bmcp_servers\x18\x01 \x03(\x0b\x32*.google.cloud.apiregistry.v1beta.McpServer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"R\n\x11GetMcpToolRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'cloudapiregistry.googleapis.com/McpTool\"\xb3\x01\n\x13ListMcpToolsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'cloudapiregistry.googleapis.com/McpTool\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\"\x81\x01\n\x14ListMcpToolsResponse\x12;\n\tmcp_tools\x18\x01 \x03(\x0b\x32(.google.cloud.apiregistry.v1beta.McpTool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t2\xef\x06\n\x10\x43loudApiRegistry\x12\xb3\x01\n\x0cGetMcpServer\x12\x34.google.cloud.apiregistry.v1beta.GetMcpServerRequest\x1a*.google.cloud.apiregistry.v1beta.McpServer\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta/{name=projects/*/locations/*/mcpServers/*}\x12\xc6\x01\n\x0eListMcpServers\x12\x36.google.cloud.apiregistry.v1beta.ListMcpServersRequest\x1a\x37.google.cloud.apiregistry.v1beta.ListMcpServersResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta/{parent=projects/*/locations/*}/mcpServers\x12\xb8\x01\n\nGetMcpTool\x12\x32.google.cloud.apiregistry.v1beta.GetMcpToolRequest\x1a(.google.cloud.apiregistry.v1beta.McpTool\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v1beta/{name=projects/*/locations/*/mcpServers/*/mcpTools/*}\x12\xcb\x01\n\x0cListMcpTools\x12\x34.google.cloud.apiregistry.v1beta.ListMcpToolsRequest\x1a\x35.google.cloud.apiregistry.v1beta.ListMcpToolsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1beta/{parent=projects/*/locations/*/mcpServers/*}/mcpTools\x1aS\xca\x41\x1f\x63loudapiregistry.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdd\x02\n#com.google.cloud.apiregistry.v1betaB\x0cServiceProtoP\x01ZEcloud.google.com/go/apiregistry/apiv1beta/apiregistrypb;apiregistrypb\xaa\x02\x1fGoogle.Cloud.ApiRegistry.V1Beta\xca\x02\x1fGoogle\\Cloud\\ApiRegistry\\V1beta\xea\x02\"Google::Cloud::ApiRegistry::V1beta\xea\x41u\n,cloudapiregistry.googleapis.com/ApiNamespace\x12\x45projects/{project}/locations/{location}/apiNamespaces/{api_namespace}b\x06proto3"
15
15
 
16
- pool = Google::Protobuf::DescriptorPool.generated_pool
17
-
18
- begin
19
- pool.add_serialized_file(descriptor_data)
20
- rescue TypeError
21
- # Compatibility code: will be removed in the next major version.
22
- require 'google/protobuf/descriptor_pb'
23
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
- parsed.clear_dependency
25
- serialized = parsed.class.encode(parsed)
26
- file = pool.add_serialized_file(serialized)
27
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
- imports = [
29
- ["google.cloud.apiregistry.v1beta.McpServer", "google/cloud/apiregistry/v1beta/resources.proto"],
30
- ]
31
- imports.each do |type_name, expected_filename|
32
- import_file = pool.lookup(type_name).file_descriptor
33
- if import_file.name != expected_filename
34
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
- end
36
- end
37
- warn "Each proto file must use a consistent fully-qualified name."
38
- warn "This will become an error in the next major version."
39
- end
16
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
+ pool.add_serialized_file(descriptor_data)
40
18
 
41
19
  module Google
42
20
  module Cloud
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-api_registry-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -102,7 +102,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - ">="
104
104
  - !ruby/object:Gem::Version
105
- version: '3.1'
105
+ version: '3.2'
106
106
  required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="