google-cloud-service_directory-v1beta1 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/service_directory/v1beta1/bindings_override.rb +102 -0
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/client.rb +23 -4
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/rest/client.rb +31 -4
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/rest.rb +1 -0
- data/lib/google/cloud/service_directory/v1beta1/registration_service/client.rb +37 -11
- data/lib/google/cloud/service_directory/v1beta1/registration_service/rest/client.rb +45 -11
- data/lib/google/cloud/service_directory/v1beta1/registration_service/rest/service_stub.rb +42 -18
- data/lib/google/cloud/service_directory/v1beta1/registration_service/rest.rb +1 -0
- data/lib/google/cloud/service_directory/v1beta1/rest.rb +1 -0
- data/lib/google/cloud/service_directory/v1beta1/version.rb +1 -1
- data/lib/google/cloud/servicedirectory/v1beta1/endpoint_pb.rb +1 -1
- data/lib/google/cloud/servicedirectory/v1beta1/lookup_service_pb.rb +2 -2
- data/lib/google/cloud/servicedirectory/v1beta1/namespace_pb.rb +1 -1
- data/lib/google/cloud/servicedirectory/v1beta1/registration_service_pb.rb +1 -1
- data/lib/google/cloud/servicedirectory/v1beta1/registration_service_services_pb.rb +4 -3
- data/lib/google/cloud/servicedirectory/v1beta1/service_pb.rb +1 -1
- data/proto_docs/google/cloud/servicedirectory/v1beta1/endpoint.rb +8 -7
- data/proto_docs/google/cloud/servicedirectory/v1beta1/lookup_service.rb +9 -4
- data/proto_docs/google/cloud/servicedirectory/v1beta1/namespace.rb +4 -0
- data/proto_docs/google/cloud/servicedirectory/v1beta1/registration_service.rb +52 -25
- data/proto_docs/google/cloud/servicedirectory/v1beta1/service.rb +9 -8
- data/proto_docs/google/protobuf/any.rb +144 -0
- metadata +26 -4
@@ -21,7 +21,8 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module ServiceDirectory
|
23
23
|
module V1beta1
|
24
|
-
# The request message for
|
24
|
+
# The request message for
|
25
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#create_namespace RegistrationService.CreateNamespace}.
|
25
26
|
# @!attribute [rw] parent
|
26
27
|
# @return [::String]
|
27
28
|
# Required. The resource name of the project and location the namespace
|
@@ -43,17 +44,19 @@ module Google
|
|
43
44
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
45
|
end
|
45
46
|
|
46
|
-
# The request message for
|
47
|
+
# The request message for
|
48
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_namespaces RegistrationService.ListNamespaces}.
|
47
49
|
# @!attribute [rw] parent
|
48
50
|
# @return [::String]
|
49
|
-
# Required. The resource name of the project and location whose namespaces
|
50
|
-
# to list.
|
51
|
+
# Required. The resource name of the project and location whose namespaces
|
52
|
+
# you'd like to list.
|
51
53
|
# @!attribute [rw] page_size
|
52
54
|
# @return [::Integer]
|
53
55
|
# Optional. The maximum number of items to return.
|
54
56
|
# @!attribute [rw] page_token
|
55
57
|
# @return [::String]
|
56
|
-
# Optional. The next_page_token value returned from a previous List request,
|
58
|
+
# Optional. The next_page_token value returned from a previous List request,
|
59
|
+
# if any.
|
57
60
|
# @!attribute [rw] filter
|
58
61
|
# @return [::String]
|
59
62
|
# Optional. The filter to list results by.
|
@@ -61,7 +64,8 @@ module Google
|
|
61
64
|
# General `filter` string syntax:
|
62
65
|
# `<field> <operator> <value> (<logical connector>)`
|
63
66
|
#
|
64
|
-
# * `<field>` can be `name
|
67
|
+
# * `<field>` can be `name`, `labels.<key>` for map field, or
|
68
|
+
# `attributes.<field>` for attributes field
|
65
69
|
# * `<operator>` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:`
|
66
70
|
# means `HAS`, and is roughly the same as `=`
|
67
71
|
# * `<value>` must be the same data type as field
|
@@ -80,6 +84,8 @@ module Google
|
|
80
84
|
# * `doesnotexist.foo=bar` returns an empty list. Note that namespace
|
81
85
|
# doesn't have a field called "doesnotexist". Since the filter does not
|
82
86
|
# match any namespaces, it returns no results
|
87
|
+
# * `attributes.managed_registration=true` returns namespaces that are
|
88
|
+
# managed by a GCP product or service
|
83
89
|
#
|
84
90
|
# For more information about filtering, see
|
85
91
|
# [API Filtering](https://aip.dev/160).
|
@@ -100,7 +106,8 @@ module Google
|
|
100
106
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
101
107
|
end
|
102
108
|
|
103
|
-
# The response message for
|
109
|
+
# The response message for
|
110
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_namespaces RegistrationService.ListNamespaces}.
|
104
111
|
# @!attribute [rw] namespaces
|
105
112
|
# @return [::Array<::Google::Cloud::ServiceDirectory::V1beta1::Namespace>]
|
106
113
|
# The list of namespaces.
|
@@ -113,7 +120,8 @@ module Google
|
|
113
120
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
114
121
|
end
|
115
122
|
|
116
|
-
# The request message for
|
123
|
+
# The request message for
|
124
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#get_namespace RegistrationService.GetNamespace}.
|
117
125
|
# @!attribute [rw] name
|
118
126
|
# @return [::String]
|
119
127
|
# Required. The name of the namespace to retrieve.
|
@@ -122,7 +130,8 @@ module Google
|
|
122
130
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
123
131
|
end
|
124
132
|
|
125
|
-
# The request message for
|
133
|
+
# The request message for
|
134
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#update_namespace RegistrationService.UpdateNamespace}.
|
126
135
|
# @!attribute [rw] namespace
|
127
136
|
# @return [::Google::Cloud::ServiceDirectory::V1beta1::Namespace]
|
128
137
|
# Required. The updated namespace.
|
@@ -134,7 +143,8 @@ module Google
|
|
134
143
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
135
144
|
end
|
136
145
|
|
137
|
-
# The request message for
|
146
|
+
# The request message for
|
147
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#delete_namespace RegistrationService.DeleteNamespace}.
|
138
148
|
# @!attribute [rw] name
|
139
149
|
# @return [::String]
|
140
150
|
# Required. The name of the namespace to delete.
|
@@ -143,7 +153,8 @@ module Google
|
|
143
153
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
144
154
|
end
|
145
155
|
|
146
|
-
# The request message for
|
156
|
+
# The request message for
|
157
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#create_service RegistrationService.CreateService}.
|
147
158
|
# @!attribute [rw] parent
|
148
159
|
# @return [::String]
|
149
160
|
# Required. The resource name of the namespace this service will belong to.
|
@@ -164,7 +175,8 @@ module Google
|
|
164
175
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
165
176
|
end
|
166
177
|
|
167
|
-
# The request message for
|
178
|
+
# The request message for
|
179
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_services RegistrationService.ListServices}.
|
168
180
|
# @!attribute [rw] parent
|
169
181
|
# @return [::String]
|
170
182
|
# Required. The resource name of the namespace whose services you'd
|
@@ -205,6 +217,9 @@ module Google
|
|
205
217
|
# * `doesnotexist.foo=bar` returns an empty list. Note that service
|
206
218
|
# doesn't have a field called "doesnotexist". Since the filter does not
|
207
219
|
# match any services, it returns no results
|
220
|
+
# * `attributes.managed_registration=true` returns services that are
|
221
|
+
# managed
|
222
|
+
# by a GCP product or service
|
208
223
|
#
|
209
224
|
# For more information about filtering, see
|
210
225
|
# [API Filtering](https://aip.dev/160).
|
@@ -225,7 +240,8 @@ module Google
|
|
225
240
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
226
241
|
end
|
227
242
|
|
228
|
-
# The response message for
|
243
|
+
# The response message for
|
244
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_services RegistrationService.ListServices}.
|
229
245
|
# @!attribute [rw] services
|
230
246
|
# @return [::Array<::Google::Cloud::ServiceDirectory::V1beta1::Service>]
|
231
247
|
# The list of services.
|
@@ -238,8 +254,9 @@ module Google
|
|
238
254
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
239
255
|
end
|
240
256
|
|
241
|
-
# The request message for
|
242
|
-
#
|
257
|
+
# The request message for
|
258
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#get_service RegistrationService.GetService}.
|
259
|
+
# This should not be used for looking up a service. Instead, use the `resolve`
|
243
260
|
# method as it contains all endpoints and associated metadata.
|
244
261
|
# @!attribute [rw] name
|
245
262
|
# @return [::String]
|
@@ -249,7 +266,8 @@ module Google
|
|
249
266
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
250
267
|
end
|
251
268
|
|
252
|
-
# The request message for
|
269
|
+
# The request message for
|
270
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#update_service RegistrationService.UpdateService}.
|
253
271
|
# @!attribute [rw] service
|
254
272
|
# @return [::Google::Cloud::ServiceDirectory::V1beta1::Service]
|
255
273
|
# Required. The updated service.
|
@@ -261,7 +279,8 @@ module Google
|
|
261
279
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
280
|
end
|
263
281
|
|
264
|
-
# The request message for
|
282
|
+
# The request message for
|
283
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#delete_service RegistrationService.DeleteService}.
|
265
284
|
# @!attribute [rw] name
|
266
285
|
# @return [::String]
|
267
286
|
# Required. The name of the service to delete.
|
@@ -270,7 +289,8 @@ module Google
|
|
270
289
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
271
290
|
end
|
272
291
|
|
273
|
-
# The request message for
|
292
|
+
# The request message for
|
293
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#create_endpoint RegistrationService.CreateEndpoint}.
|
274
294
|
# @!attribute [rw] parent
|
275
295
|
# @return [::String]
|
276
296
|
# Required. The resource name of the service that this endpoint provides.
|
@@ -291,7 +311,8 @@ module Google
|
|
291
311
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
292
312
|
end
|
293
313
|
|
294
|
-
# The request message for
|
314
|
+
# The request message for
|
315
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_endpoints RegistrationService.ListEndpoints}.
|
295
316
|
# @!attribute [rw] parent
|
296
317
|
# @return [::String]
|
297
318
|
# Required. The resource name of the service whose endpoints you'd like to
|
@@ -310,8 +331,8 @@ module Google
|
|
310
331
|
# General `filter` string syntax:
|
311
332
|
# `<field> <operator> <value> (<logical connector>)`
|
312
333
|
#
|
313
|
-
# * `<field>` can be `name`, `address`, `port`,
|
314
|
-
# field
|
334
|
+
# * `<field>` can be `name`, `address`, `port`, `metadata.<key>` for map
|
335
|
+
# field, or `attributes.<field>` for attributes field
|
315
336
|
# * `<operator>` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:`
|
316
337
|
# means `HAS`, and is roughly the same as `=`
|
317
338
|
# * `<value>` must be the same data type as field
|
@@ -335,6 +356,8 @@ module Google
|
|
335
356
|
# * `doesnotexist.foo=bar` returns an empty list. Note that endpoint
|
336
357
|
# doesn't have a field called "doesnotexist". Since the filter does not
|
337
358
|
# match any endpoints, it returns no results
|
359
|
+
# * `attributes.kubernetes_resource_type=KUBERNETES_RESOURCE_TYPE_CLUSTER_
|
360
|
+
# IP` returns endpoints with the corresponding kubernetes_resource_type
|
338
361
|
#
|
339
362
|
# For more information about filtering, see
|
340
363
|
# [API Filtering](https://aip.dev/160).
|
@@ -355,7 +378,8 @@ module Google
|
|
355
378
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
356
379
|
end
|
357
380
|
|
358
|
-
# The response message for
|
381
|
+
# The response message for
|
382
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_endpoints RegistrationService.ListEndpoints}.
|
359
383
|
# @!attribute [rw] endpoints
|
360
384
|
# @return [::Array<::Google::Cloud::ServiceDirectory::V1beta1::Endpoint>]
|
361
385
|
# The list of endpoints.
|
@@ -368,7 +392,8 @@ module Google
|
|
368
392
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
369
393
|
end
|
370
394
|
|
371
|
-
# The request message for
|
395
|
+
# The request message for
|
396
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#get_endpoint RegistrationService.GetEndpoint}.
|
372
397
|
# This should not be used to lookup endpoints at runtime. Instead, use
|
373
398
|
# the `resolve` method.
|
374
399
|
# @!attribute [rw] name
|
@@ -379,7 +404,8 @@ module Google
|
|
379
404
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
380
405
|
end
|
381
406
|
|
382
|
-
# The request message for
|
407
|
+
# The request message for
|
408
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#update_endpoint RegistrationService.UpdateEndpoint}.
|
383
409
|
# @!attribute [rw] endpoint
|
384
410
|
# @return [::Google::Cloud::ServiceDirectory::V1beta1::Endpoint]
|
385
411
|
# Required. The updated endpoint.
|
@@ -391,7 +417,8 @@ module Google
|
|
391
417
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
392
418
|
end
|
393
419
|
|
394
|
-
# The request message for
|
420
|
+
# The request message for
|
421
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#delete_endpoint RegistrationService.DeleteEndpoint}.
|
395
422
|
# @!attribute [rw] name
|
396
423
|
# @return [::String]
|
397
424
|
# Required. The name of the endpoint to delete.
|
@@ -47,10 +47,6 @@ module Google
|
|
47
47
|
# must be a DNS subdomain: a series of DNS labels separated by dots (.),
|
48
48
|
# not longer than 253 characters in total, followed by a slash (/).
|
49
49
|
# Metadata that fails to meet these requirements are rejected
|
50
|
-
# * The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved
|
51
|
-
# for system metadata managed by Service Directory. If the user tries
|
52
|
-
# to write to these keyspaces, those entries are silently ignored by
|
53
|
-
# the system
|
54
50
|
#
|
55
51
|
# Note: This field is equivalent to the `annotations` field in the v1 API.
|
56
52
|
# They have the same syntax and read/write to the same location in Service
|
@@ -58,16 +54,21 @@ module Google
|
|
58
54
|
# @!attribute [r] endpoints
|
59
55
|
# @return [::Array<::Google::Cloud::ServiceDirectory::V1beta1::Endpoint>]
|
60
56
|
# Output only. Endpoints associated with this service. Returned on
|
61
|
-
# {::Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client#resolve_service LookupService.ResolveService}.
|
57
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client#resolve_service LookupService.ResolveService}.
|
58
|
+
# Control plane clients should use
|
62
59
|
# {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_endpoints RegistrationService.ListEndpoints}.
|
63
60
|
# @!attribute [r] create_time
|
64
61
|
# @return [::Google::Protobuf::Timestamp]
|
65
62
|
# Output only. The timestamp when the service was created.
|
66
63
|
# @!attribute [r] update_time
|
67
64
|
# @return [::Google::Protobuf::Timestamp]
|
68
|
-
# Output only. The timestamp when the service was last updated. Note:
|
69
|
-
# created/deleted/updated within the service are not
|
70
|
-
# updates for the purpose of this timestamp.
|
65
|
+
# Output only. The timestamp when the service was last updated. Note:
|
66
|
+
# endpoints being created/deleted/updated within the service are not
|
67
|
+
# considered service updates for the purpose of this timestamp.
|
68
|
+
# @!attribute [r] uid
|
69
|
+
# @return [::String]
|
70
|
+
# Output only. A globally unique identifier (in UUID4 format) for this
|
71
|
+
# service.
|
71
72
|
class Service
|
72
73
|
include ::Google::Protobuf::MessageExts
|
73
74
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -0,0 +1,144 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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 Protobuf
|
22
|
+
# `Any` contains an arbitrary serialized protocol buffer message along with a
|
23
|
+
# URL that describes the type of the serialized message.
|
24
|
+
#
|
25
|
+
# Protobuf library provides support to pack/unpack Any values in the form
|
26
|
+
# of utility functions or additional generated methods of the Any type.
|
27
|
+
#
|
28
|
+
# Example 1: Pack and unpack a message in C++.
|
29
|
+
#
|
30
|
+
# Foo foo = ...;
|
31
|
+
# Any any;
|
32
|
+
# any.PackFrom(foo);
|
33
|
+
# ...
|
34
|
+
# if (any.UnpackTo(&foo)) {
|
35
|
+
# ...
|
36
|
+
# }
|
37
|
+
#
|
38
|
+
# Example 2: Pack and unpack a message in Java.
|
39
|
+
#
|
40
|
+
# Foo foo = ...;
|
41
|
+
# Any any = Any.pack(foo);
|
42
|
+
# ...
|
43
|
+
# if (any.is(Foo.class)) {
|
44
|
+
# foo = any.unpack(Foo.class);
|
45
|
+
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
50
|
+
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
52
|
+
#
|
53
|
+
# foo = Foo(...)
|
54
|
+
# any = Any()
|
55
|
+
# any.Pack(foo)
|
56
|
+
# ...
|
57
|
+
# if any.Is(Foo.DESCRIPTOR):
|
58
|
+
# any.Unpack(foo)
|
59
|
+
# ...
|
60
|
+
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
62
|
+
#
|
63
|
+
# foo := &pb.Foo{...}
|
64
|
+
# any, err := anypb.New(foo)
|
65
|
+
# if err != nil {
|
66
|
+
# ...
|
67
|
+
# }
|
68
|
+
# ...
|
69
|
+
# foo := &pb.Foo{}
|
70
|
+
# if err := any.UnmarshalTo(foo); err != nil {
|
71
|
+
# ...
|
72
|
+
# }
|
73
|
+
#
|
74
|
+
# The pack methods provided by protobuf library will by default use
|
75
|
+
# 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
76
|
+
# methods only use the fully qualified type name after the last '/'
|
77
|
+
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
78
|
+
# name "y.z".
|
79
|
+
#
|
80
|
+
# JSON
|
81
|
+
# ====
|
82
|
+
# The JSON representation of an `Any` value uses the regular
|
83
|
+
# representation of the deserialized, embedded message, with an
|
84
|
+
# additional field `@type` which contains the type URL. Example:
|
85
|
+
#
|
86
|
+
# package google.profile;
|
87
|
+
# message Person {
|
88
|
+
# string first_name = 1;
|
89
|
+
# string last_name = 2;
|
90
|
+
# }
|
91
|
+
#
|
92
|
+
# {
|
93
|
+
# "@type": "type.googleapis.com/google.profile.Person",
|
94
|
+
# "firstName": <string>,
|
95
|
+
# "lastName": <string>
|
96
|
+
# }
|
97
|
+
#
|
98
|
+
# If the embedded message type is well-known and has a custom JSON
|
99
|
+
# representation, that representation will be embedded adding a field
|
100
|
+
# `value` which holds the custom JSON in addition to the `@type`
|
101
|
+
# field. Example (for message [google.protobuf.Duration][]):
|
102
|
+
#
|
103
|
+
# {
|
104
|
+
# "@type": "type.googleapis.com/google.protobuf.Duration",
|
105
|
+
# "value": "1.212s"
|
106
|
+
# }
|
107
|
+
# @!attribute [rw] type_url
|
108
|
+
# @return [::String]
|
109
|
+
# A URL/resource name that uniquely identifies the type of the serialized
|
110
|
+
# protocol buffer message. This string must contain at least
|
111
|
+
# one "/" character. The last segment of the URL's path must represent
|
112
|
+
# the fully qualified name of the type (as in
|
113
|
+
# `path/google.protobuf.Duration`). The name should be in a canonical form
|
114
|
+
# (e.g., leading "." is not accepted).
|
115
|
+
#
|
116
|
+
# In practice, teams usually precompile into the binary all types that they
|
117
|
+
# expect it to use in the context of Any. However, for URLs which use the
|
118
|
+
# scheme `http`, `https`, or no scheme, one can optionally set up a type
|
119
|
+
# server that maps type URLs to message definitions as follows:
|
120
|
+
#
|
121
|
+
# * If no scheme is provided, `https` is assumed.
|
122
|
+
# * An HTTP GET on the URL must yield a [google.protobuf.Type][]
|
123
|
+
# value in binary format, or produce an error.
|
124
|
+
# * Applications are allowed to cache lookup results based on the
|
125
|
+
# URL, or have them precompiled into a binary to avoid any
|
126
|
+
# lookup. Therefore, binary compatibility needs to be preserved
|
127
|
+
# on changes to types. (Use versioned type names to manage
|
128
|
+
# breaking changes.)
|
129
|
+
#
|
130
|
+
# Note: this functionality is not currently available in the official
|
131
|
+
# protobuf release, and it is not used for type URLs beginning with
|
132
|
+
# type.googleapis.com.
|
133
|
+
#
|
134
|
+
# Schemes other than `http`, `https` (or the empty scheme) might be
|
135
|
+
# used with implementation specific semantics.
|
136
|
+
# @!attribute [rw] value
|
137
|
+
# @return [::String]
|
138
|
+
# Must be a valid serialized protocol buffer of the above specified type.
|
139
|
+
class Any
|
140
|
+
include ::Google::Protobuf::MessageExts
|
141
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-service_directory-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.19.
|
19
|
+
version: 0.19.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.19.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -44,6 +44,26 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.4'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.4'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: grpc-google-iam-v1
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,6 +205,7 @@ files:
|
|
185
205
|
- README.md
|
186
206
|
- lib/google-cloud-service_directory-v1beta1.rb
|
187
207
|
- lib/google/cloud/service_directory/v1beta1.rb
|
208
|
+
- lib/google/cloud/service_directory/v1beta1/bindings_override.rb
|
188
209
|
- lib/google/cloud/service_directory/v1beta1/lookup_service.rb
|
189
210
|
- lib/google/cloud/service_directory/v1beta1/lookup_service/client.rb
|
190
211
|
- lib/google/cloud/service_directory/v1beta1/lookup_service/credentials.rb
|
@@ -221,6 +242,7 @@ files:
|
|
221
242
|
- proto_docs/google/iam/v1/iam_policy.rb
|
222
243
|
- proto_docs/google/iam/v1/options.rb
|
223
244
|
- proto_docs/google/iam/v1/policy.rb
|
245
|
+
- proto_docs/google/protobuf/any.rb
|
224
246
|
- proto_docs/google/protobuf/duration.rb
|
225
247
|
- proto_docs/google/protobuf/empty.rb
|
226
248
|
- proto_docs/google/protobuf/field_mask.rb
|