google-cloud-service_directory-v1 1.4.1 → 1.5.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/lib/google/cloud/service_directory/v1/version.rb +1 -1
- data/lib/google/cloud/servicedirectory/v1/endpoint_pb.rb +2 -23
- data/lib/google/cloud/servicedirectory/v1/lookup_service_pb.rb +2 -24
- data/lib/google/cloud/servicedirectory/v1/namespace_pb.rb +2 -23
- data/lib/google/cloud/servicedirectory/v1/registration_service_pb.rb +2 -27
- data/lib/google/cloud/servicedirectory/v1/service_pb.rb +2 -24
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 10edc3e12548021dda6f366000e4b55c3b42b419bfef472e004feb85ee861d7a
|
|
4
|
+
data.tar.gz: 8d8fb8a3ce071e9cb927473a6f4e1ce4935924e7ceb3f356db195f4de9562a62
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c475c350f21ad0f710c9d68e65b28cac2bee9ffaef1de1b8160f1196321c8ed70312c3ecb3a16b893308fc4cf2c56fb67e9e5f210e510f7c1d19811ab9951fa
|
|
7
|
+
data.tar.gz: 2e296676555b59b01f68641c63553fe068fcbc5b9a9cebfecd9e5f55dc92c96d3be17b384b3b1573770c156323f19983d32989103b6186ce9e553a4bc54dabfa
|
|
@@ -10,29 +10,8 @@ require 'google/api/resource_pb'
|
|
|
10
10
|
|
|
11
11
|
descriptor_data = "\n/google/cloud/servicedirectory/v1/endpoint.proto\x12 google.cloud.servicedirectory.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xbe\x03\n\x08\x45ndpoint\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04port\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12U\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32;.google.cloud.servicedirectory.v1.Endpoint.AnnotationsEntryB\x03\xe0\x41\x01\x12@\n\x07network\x18\x08 \x01(\tB/\xe0\x41\x05\xfa\x41)\n\'servicedirectory.googleapis.com/Network\x12\x10\n\x03uid\x18\t \x01(\tB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x96\x01\xea\x41\x92\x01\n(servicedirectory.googleapis.com/Endpoint\x12\x66projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}/endpoints/{endpoint}B\xd9\x02\n$com.google.cloud.servicedirectory.v1B\rEndpointProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1\xea\x41\x61\n\'servicedirectory.googleapis.com/Network\x12\x36projects/{project}/locations/global/networks/{network}b\x06proto3"
|
|
12
12
|
|
|
13
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
-
|
|
15
|
-
begin
|
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
|
17
|
-
rescue TypeError
|
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
21
|
-
parsed.clear_dependency
|
|
22
|
-
serialized = parsed.class.encode(parsed)
|
|
23
|
-
file = pool.add_serialized_file(serialized)
|
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
25
|
-
imports = [
|
|
26
|
-
]
|
|
27
|
-
imports.each do |type_name, expected_filename|
|
|
28
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
29
|
-
if import_file.name != expected_filename
|
|
30
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
34
|
-
warn "This will become an error in the next major version."
|
|
35
|
-
end
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
36
15
|
|
|
37
16
|
module Google
|
|
38
17
|
module Cloud
|
|
@@ -13,30 +13,8 @@ require 'google/cloud/servicedirectory/v1/service_pb'
|
|
|
13
13
|
|
|
14
14
|
descriptor_data = "\n5google/cloud/servicedirectory/v1/lookup_service.proto\x12 google.cloud.servicedirectory.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/servicedirectory/v1/service.proto\"\x90\x01\n\x15ResolveServiceRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12\x1a\n\rmax_endpoints\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1c\n\x0f\x65ndpoint_filter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"T\n\x16ResolveServiceResponse\x12:\n\x07service\x18\x01 \x01(\x0b\x32).google.cloud.servicedirectory.v1.Service2\xb8\x02\n\rLookupService\x12\xd1\x01\n\x0eResolveService\x12\x37.google.cloud.servicedirectory.v1.ResolveServiceRequest\x1a\x38.google.cloud.servicedirectory.v1.ResolveServiceResponse\"L\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/namespaces/*/services/*}:resolve:\x01*\x1aS\xca\x41\x1fservicedirectory.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfa\x01\n$com.google.cloud.servicedirectory.v1B\x12LookupServiceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\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.servicedirectory.v1.Service", "google/cloud/servicedirectory/v1/service.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
|
|
@@ -10,29 +10,8 @@ require 'google/api/resource_pb'
|
|
|
10
10
|
|
|
11
11
|
descriptor_data = "\n0google/cloud/servicedirectory/v1/namespace.proto\x12 google.cloud.servicedirectory.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x9d\x02\n\tNamespace\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12L\n\x06labels\x18\x02 \x03(\x0b\x32\x37.google.cloud.servicedirectory.v1.Namespace.LabelsEntryB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x05 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:n\xea\x41k\n)servicedirectory.googleapis.com/Namespace\x12>projects/{project}/locations/{location}/namespaces/{namespace}B\xf6\x01\n$com.google.cloud.servicedirectory.v1B\x0eNamespaceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
|
|
12
12
|
|
|
13
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
-
|
|
15
|
-
begin
|
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
|
17
|
-
rescue TypeError
|
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
21
|
-
parsed.clear_dependency
|
|
22
|
-
serialized = parsed.class.encode(parsed)
|
|
23
|
-
file = pool.add_serialized_file(serialized)
|
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
25
|
-
imports = [
|
|
26
|
-
]
|
|
27
|
-
imports.each do |type_name, expected_filename|
|
|
28
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
29
|
-
if import_file.name != expected_filename
|
|
30
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
34
|
-
warn "This will become an error in the next major version."
|
|
35
|
-
end
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
36
15
|
|
|
37
16
|
module Google
|
|
38
17
|
module Cloud
|
|
@@ -19,33 +19,8 @@ require 'google/protobuf/field_mask_pb'
|
|
|
19
19
|
|
|
20
20
|
descriptor_data = "\n;google/cloud/servicedirectory/v1/registration_service.proto\x12 google.cloud.servicedirectory.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a/google/cloud/servicedirectory/v1/endpoint.proto\x1a\x30google/cloud/servicedirectory/v1/namespace.proto\x1a.google/cloud/servicedirectory/v1/service.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xb3\x01\n\x16\x43reateNamespaceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x19\n\x0cnamespace_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\tnamespace\x18\x03 \x01(\x0b\x32+.google.cloud.servicedirectory.v1.NamespaceB\x03\xe0\x41\x02\"\xaf\x01\n\x15ListNamespacesRequest\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\"r\n\x16ListNamespacesResponse\x12?\n\nnamespaces\x18\x01 \x03(\x0b\x32+.google.cloud.servicedirectory.v1.Namespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"V\n\x13GetNamespaceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\"\x93\x01\n\x16UpdateNamespaceRequest\x12\x43\n\tnamespace\x18\x01 \x01(\x0b\x32+.google.cloud.servicedirectory.v1.NamespaceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"Y\n\x16\x44\x65leteNamespaceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\"\xb3\x01\n\x14\x43reateServiceRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\x12\x17\n\nservice_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\x07service\x18\x03 \x01(\x0b\x32).google.cloud.servicedirectory.v1.ServiceB\x03\xe0\x41\x02\"\xb5\x01\n\x13ListServicesRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)servicedirectory.googleapis.com/Namespace\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\"l\n\x14ListServicesResponse\x12;\n\x08services\x18\x01 \x03(\x0b\x32).google.cloud.servicedirectory.v1.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"R\n\x11GetServiceRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\x8d\x01\n\x14UpdateServiceRequest\x12?\n\x07service\x18\x01 \x01(\x0b\x32).google.cloud.servicedirectory.v1.ServiceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"U\n\x14\x44\x65leteServiceRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\xb5\x01\n\x15\x43reateEndpointRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12\x18\n\x0b\x65ndpoint_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x08\x65ndpoint\x18\x03 \x01(\x0b\x32*.google.cloud.servicedirectory.v1.EndpointB\x03\xe0\x41\x02\"\xb4\x01\n\x14ListEndpointsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.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\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"o\n\x15ListEndpointsResponse\x12=\n\tendpoints\x18\x01 \x03(\x0b\x32*.google.cloud.servicedirectory.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"T\n\x12GetEndpointRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(servicedirectory.googleapis.com/Endpoint\"\x90\x01\n\x15UpdateEndpointRequest\x12\x41\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32*.google.cloud.servicedirectory.v1.EndpointB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"W\n\x15\x44\x65leteEndpointRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(servicedirectory.googleapis.com/Endpoint2\xdf\x1e\n\x13RegistrationService\x12\xdb\x01\n\x0f\x43reateNamespace\x12\x38.google.cloud.servicedirectory.v1.CreateNamespaceRequest\x1a+.google.cloud.servicedirectory.v1.Namespace\"a\xda\x41\x1dparent,namespace,namespace_id\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/namespaces:\tnamespace\x12\xc4\x01\n\x0eListNamespaces\x12\x37.google.cloud.servicedirectory.v1.ListNamespacesRequest\x1a\x38.google.cloud.servicedirectory.v1.ListNamespacesResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/namespaces\x12\xb1\x01\n\x0cGetNamespace\x12\x35.google.cloud.servicedirectory.v1.GetNamespaceRequest\x1a+.google.cloud.servicedirectory.v1.Namespace\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/namespaces/*}\x12\xdd\x01\n\x0fUpdateNamespace\x12\x38.google.cloud.servicedirectory.v1.UpdateNamespaceRequest\x1a+.google.cloud.servicedirectory.v1.Namespace\"c\xda\x41\x15namespace,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{namespace.name=projects/*/locations/*/namespaces/*}:\tnamespace\x12\xa2\x01\n\x0f\x44\x65leteNamespace\x12\x38.google.cloud.servicedirectory.v1.DeleteNamespaceRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/namespaces/*}\x12\xda\x01\n\rCreateService\x12\x36.google.cloud.servicedirectory.v1.CreateServiceRequest\x1a).google.cloud.servicedirectory.v1.Service\"f\xda\x41\x19parent,service,service_id\x82\xd3\xe4\x93\x02\x44\"9/v1/{parent=projects/*/locations/*/namespaces/*}/services:\x07service\x12\xc9\x01\n\x0cListServices\x12\x35.google.cloud.servicedirectory.v1.ListServicesRequest\x1a\x36.google.cloud.servicedirectory.v1.ListServicesResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/namespaces/*}/services\x12\xb6\x01\n\nGetService\x12\x33.google.cloud.servicedirectory.v1.GetServiceRequest\x1a).google.cloud.servicedirectory.v1.Service\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/namespaces/*/services/*}\x12\xdc\x01\n\rUpdateService\x12\x36.google.cloud.servicedirectory.v1.UpdateServiceRequest\x1a).google.cloud.servicedirectory.v1.Service\"h\xda\x41\x13service,update_mask\x82\xd3\xe4\x93\x02L2A/v1/{service.name=projects/*/locations/*/namespaces/*/services/*}:\x07service\x12\xa9\x01\n\rDeleteService\x12\x36.google.cloud.servicedirectory.v1.DeleteServiceRequest\x1a\x16.google.protobuf.Empty\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/namespaces/*/services/*}\x12\xec\x01\n\x0e\x43reateEndpoint\x12\x37.google.cloud.servicedirectory.v1.CreateEndpointRequest\x1a*.google.cloud.servicedirectory.v1.Endpoint\"u\xda\x41\x1bparent,endpoint,endpoint_id\x82\xd3\xe4\x93\x02Q\"E/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints:\x08\x65ndpoint\x12\xd8\x01\n\rListEndpoints\x12\x36.google.cloud.servicedirectory.v1.ListEndpointsRequest\x1a\x37.google.cloud.servicedirectory.v1.ListEndpointsResponse\"V\xda\x41\x06parent\x82\xd3\xe4\x93\x02G\x12\x45/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints\x12\xc5\x01\n\x0bGetEndpoint\x12\x34.google.cloud.servicedirectory.v1.GetEndpointRequest\x1a*.google.cloud.servicedirectory.v1.Endpoint\"T\xda\x41\x04name\x82\xd3\xe4\x93\x02G\x12\x45/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}\x12\xee\x01\n\x0eUpdateEndpoint\x12\x37.google.cloud.servicedirectory.v1.UpdateEndpointRequest\x1a*.google.cloud.servicedirectory.v1.Endpoint\"w\xda\x41\x14\x65ndpoint,update_mask\x82\xd3\xe4\x93\x02Z2N/v1/{endpoint.name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}:\x08\x65ndpoint\x12\xb7\x01\n\x0e\x44\x65leteEndpoint\x12\x37.google.cloud.servicedirectory.v1.DeleteEndpointRequest\x1a\x16.google.protobuf.Empty\"T\xda\x41\x04name\x82\xd3\xe4\x93\x02G*E/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}\x12\xe8\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01\"?/v1/{resource=projects/*/locations/*/namespaces/*}:getIamPolicy:\x01*ZO\"J/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:getIamPolicy:\x01*\x12\xe8\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01\"?/v1/{resource=projects/*/locations/*/namespaces/*}:setIamPolicy:\x01*ZO\"J/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:setIamPolicy:\x01*\x12\x94\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xa8\x01\x82\xd3\xe4\x93\x02\xa1\x01\"E/v1/{resource=projects/*/locations/*/namespaces/*}:testIamPermissions:\x01*ZU\"P/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:testIamPermissions:\x01*\x1aS\xca\x41\x1fservicedirectory.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x80\x02\n$com.google.cloud.servicedirectory.v1B\x18RegistrationServiceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
|
|
21
21
|
|
|
22
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
23
|
-
|
|
24
|
-
begin
|
|
25
|
-
pool.add_serialized_file(descriptor_data)
|
|
26
|
-
rescue TypeError
|
|
27
|
-
# Compatibility code: will be removed in the next major version.
|
|
28
|
-
require 'google/protobuf/descriptor_pb'
|
|
29
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
30
|
-
parsed.clear_dependency
|
|
31
|
-
serialized = parsed.class.encode(parsed)
|
|
32
|
-
file = pool.add_serialized_file(serialized)
|
|
33
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
34
|
-
imports = [
|
|
35
|
-
["google.cloud.servicedirectory.v1.Namespace", "google/cloud/servicedirectory/v1/namespace.proto"],
|
|
36
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
37
|
-
["google.cloud.servicedirectory.v1.Service", "google/cloud/servicedirectory/v1/service.proto"],
|
|
38
|
-
["google.cloud.servicedirectory.v1.Endpoint", "google/cloud/servicedirectory/v1/endpoint.proto"],
|
|
39
|
-
]
|
|
40
|
-
imports.each do |type_name, expected_filename|
|
|
41
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
42
|
-
if import_file.name != expected_filename
|
|
43
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
47
|
-
warn "This will become an error in the next major version."
|
|
48
|
-
end
|
|
22
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
|
49
24
|
|
|
50
25
|
module Google
|
|
51
26
|
module Cloud
|
|
@@ -11,30 +11,8 @@ require 'google/cloud/servicedirectory/v1/endpoint_pb'
|
|
|
11
11
|
|
|
12
12
|
descriptor_data = "\n.google/cloud/servicedirectory/v1/service.proto\x12 google.cloud.servicedirectory.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a/google/cloud/servicedirectory/v1/endpoint.proto\"\xfd\x02\n\x07Service\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12T\n\x0b\x61nnotations\x18\x04 \x03(\x0b\x32:.google.cloud.servicedirectory.v1.Service.AnnotationsEntryB\x03\xe0\x41\x01\x12\x42\n\tendpoints\x18\x03 \x03(\x0b\x32*.google.cloud.servicedirectory.v1.EndpointB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x07 \x01(\tB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x7f\xea\x41|\n\'servicedirectory.googleapis.com/Service\x12Qprojects/{project}/locations/{location}/namespaces/{namespace}/services/{service}B\xf4\x01\n$com.google.cloud.servicedirectory.v1B\x0cServiceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
|
|
13
13
|
|
|
14
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
-
|
|
16
|
-
begin
|
|
17
|
-
pool.add_serialized_file(descriptor_data)
|
|
18
|
-
rescue TypeError
|
|
19
|
-
# Compatibility code: will be removed in the next major version.
|
|
20
|
-
require 'google/protobuf/descriptor_pb'
|
|
21
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
22
|
-
parsed.clear_dependency
|
|
23
|
-
serialized = parsed.class.encode(parsed)
|
|
24
|
-
file = pool.add_serialized_file(serialized)
|
|
25
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
26
|
-
imports = [
|
|
27
|
-
["google.cloud.servicedirectory.v1.Endpoint", "google/cloud/servicedirectory/v1/endpoint.proto"],
|
|
28
|
-
]
|
|
29
|
-
imports.each do |type_name, expected_filename|
|
|
30
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
31
|
-
if import_file.name != expected_filename
|
|
32
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
36
|
-
warn "This will become an error in the next major version."
|
|
37
|
-
end
|
|
14
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
38
16
|
|
|
39
17
|
module Google
|
|
40
18
|
module Cloud
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-service_directory-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -133,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
133
133
|
requirements:
|
|
134
134
|
- - ">="
|
|
135
135
|
- !ruby/object:Gem::Version
|
|
136
|
-
version: '3.
|
|
136
|
+
version: '3.2'
|
|
137
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
requirements:
|
|
139
139
|
- - ">="
|