google-cloud-service_directory-v1beta1 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70ab0cfcafe400def5b567105502bb2e63648502f3f1cdb6d2af24d8e1e8939c
|
4
|
+
data.tar.gz: 74fc52eab7bb8ad708c1998d6c1bcfdb84c2c10a271eef717652b09288552c2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 275360801dd674154ef6239cdd804f30f6a6c82eb711828430e1f3c0e4893e2116725a2f4d957ea37da0c0082a2b110dcbca063c9f7bffcafb160125b045d733
|
7
|
+
data.tar.gz: 194b06dd93f23188e89c119597b126bbafe39887e3855ac9360d79cfcff53561e77840dd3bd1c82be0e8eeb8227692880769309d66ce6101ac4524d4ad3cccf7
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all LookupService clients
|
47
|
+
# ::Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -99,19 +98,15 @@ module Google
|
|
99
98
|
##
|
100
99
|
# Create a new LookupService client object.
|
101
100
|
#
|
102
|
-
#
|
103
|
-
#
|
104
|
-
# To create a new LookupService client with the default
|
105
|
-
# configuration:
|
101
|
+
# @example
|
106
102
|
#
|
107
|
-
#
|
103
|
+
# # Create a client using the default configuration
|
104
|
+
# client = ::Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client.new
|
108
105
|
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
# config.timeout = 10.0
|
114
|
-
# end
|
106
|
+
# # Create a client using a custom configuration
|
107
|
+
# client = ::Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client.new do |config|
|
108
|
+
# config.timeout = 10.0
|
109
|
+
# end
|
115
110
|
#
|
116
111
|
# @yield [config] Configure the LookupService client.
|
117
112
|
# @yieldparam config [Client::Configuration]
|
@@ -131,10 +126,9 @@ module Google
|
|
131
126
|
|
132
127
|
# Create credentials
|
133
128
|
credentials = @config.credentials
|
134
|
-
# Use self-signed JWT if the
|
129
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
135
130
|
# but only if the default endpoint does not have a region prefix.
|
136
|
-
enable_self_signed_jwt = @config.
|
137
|
-
@config.endpoint == Client.configure.endpoint &&
|
131
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
138
132
|
!@config.endpoint.split(".").first.include?("-")
|
139
133
|
credentials ||= Credentials.default scope: @config.scope,
|
140
134
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -250,7 +244,9 @@ module Google
|
|
250
244
|
options.apply_defaults timeout: @config.rpcs.resolve_service.timeout,
|
251
245
|
metadata: metadata,
|
252
246
|
retry_policy: @config.rpcs.resolve_service.retry_policy
|
253
|
-
|
247
|
+
|
248
|
+
options.apply_defaults timeout: @config.timeout,
|
249
|
+
metadata: @config.metadata,
|
254
250
|
retry_policy: @config.retry_policy
|
255
251
|
|
256
252
|
@lookup_service_stub.call_rpc :resolve_service, request, options: options do |response, operation|
|
@@ -274,22 +270,21 @@ module Google
|
|
274
270
|
# Configuration can be applied globally to all clients, or to a single client
|
275
271
|
# on construction.
|
276
272
|
#
|
277
|
-
#
|
278
|
-
#
|
279
|
-
#
|
280
|
-
# to 20 seconds,
|
281
|
-
#
|
282
|
-
#
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
#
|
288
|
-
#
|
289
|
-
#
|
290
|
-
#
|
291
|
-
#
|
292
|
-
# end
|
273
|
+
# @example
|
274
|
+
#
|
275
|
+
# # Modify the global config, setting the timeout for
|
276
|
+
# # resolve_service to 20 seconds,
|
277
|
+
# # and all remaining timeouts to 10 seconds.
|
278
|
+
# ::Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client.configure do |config|
|
279
|
+
# config.timeout = 10.0
|
280
|
+
# config.rpcs.resolve_service.timeout = 20.0
|
281
|
+
# end
|
282
|
+
#
|
283
|
+
# # Apply the above configuration only to a new client.
|
284
|
+
# client = ::Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client.new do |config|
|
285
|
+
# config.timeout = 10.0
|
286
|
+
# config.rpcs.resolve_service.timeout = 20.0
|
287
|
+
# end
|
293
288
|
#
|
294
289
|
# @!attribute [rw] endpoint
|
295
290
|
# The hostname or hostname:port of the service endpoint.
|
@@ -55,13 +55,12 @@ module Google
|
|
55
55
|
# See {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client::Configuration}
|
56
56
|
# for a description of the configuration fields.
|
57
57
|
#
|
58
|
-
#
|
58
|
+
# @example
|
59
59
|
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
# end
|
60
|
+
# # Modify the configuration for all RegistrationService clients
|
61
|
+
# ::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client.configure do |config|
|
62
|
+
# config.timeout = 10.0
|
63
|
+
# end
|
65
64
|
#
|
66
65
|
# @yield [config] Configure the Client client.
|
67
66
|
# @yieldparam config [Client::Configuration]
|
@@ -113,19 +112,15 @@ module Google
|
|
113
112
|
##
|
114
113
|
# Create a new RegistrationService client object.
|
115
114
|
#
|
116
|
-
#
|
117
|
-
#
|
118
|
-
# To create a new RegistrationService client with the default
|
119
|
-
# configuration:
|
115
|
+
# @example
|
120
116
|
#
|
121
|
-
#
|
117
|
+
# # Create a client using the default configuration
|
118
|
+
# client = ::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client.new
|
122
119
|
#
|
123
|
-
#
|
124
|
-
#
|
125
|
-
#
|
126
|
-
#
|
127
|
-
# config.timeout = 10.0
|
128
|
-
# end
|
120
|
+
# # Create a client using a custom configuration
|
121
|
+
# client = ::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client.new do |config|
|
122
|
+
# config.timeout = 10.0
|
123
|
+
# end
|
129
124
|
#
|
130
125
|
# @yield [config] Configure the RegistrationService client.
|
131
126
|
# @yieldparam config [Client::Configuration]
|
@@ -145,10 +140,9 @@ module Google
|
|
145
140
|
|
146
141
|
# Create credentials
|
147
142
|
credentials = @config.credentials
|
148
|
-
# Use self-signed JWT if the
|
143
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
149
144
|
# but only if the default endpoint does not have a region prefix.
|
150
|
-
enable_self_signed_jwt = @config.
|
151
|
-
@config.endpoint == Client.configure.endpoint &&
|
145
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
152
146
|
!@config.endpoint.split(".").first.include?("-")
|
153
147
|
credentials ||= Credentials.default scope: @config.scope,
|
154
148
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -235,7 +229,9 @@ module Google
|
|
235
229
|
options.apply_defaults timeout: @config.rpcs.create_namespace.timeout,
|
236
230
|
metadata: metadata,
|
237
231
|
retry_policy: @config.rpcs.create_namespace.retry_policy
|
238
|
-
|
232
|
+
|
233
|
+
options.apply_defaults timeout: @config.timeout,
|
234
|
+
metadata: @config.metadata,
|
239
235
|
retry_policy: @config.retry_policy
|
240
236
|
|
241
237
|
@registration_service_stub.call_rpc :create_namespace, request, options: options do |response, operation|
|
@@ -345,7 +341,9 @@ module Google
|
|
345
341
|
options.apply_defaults timeout: @config.rpcs.list_namespaces.timeout,
|
346
342
|
metadata: metadata,
|
347
343
|
retry_policy: @config.rpcs.list_namespaces.retry_policy
|
348
|
-
|
344
|
+
|
345
|
+
options.apply_defaults timeout: @config.timeout,
|
346
|
+
metadata: @config.metadata,
|
349
347
|
retry_policy: @config.retry_policy
|
350
348
|
|
351
349
|
@registration_service_stub.call_rpc :list_namespaces, request, options: options do |response, operation|
|
@@ -412,7 +410,9 @@ module Google
|
|
412
410
|
options.apply_defaults timeout: @config.rpcs.get_namespace.timeout,
|
413
411
|
metadata: metadata,
|
414
412
|
retry_policy: @config.rpcs.get_namespace.retry_policy
|
415
|
-
|
413
|
+
|
414
|
+
options.apply_defaults timeout: @config.timeout,
|
415
|
+
metadata: @config.metadata,
|
416
416
|
retry_policy: @config.retry_policy
|
417
417
|
|
418
418
|
@registration_service_stub.call_rpc :get_namespace, request, options: options do |response, operation|
|
@@ -480,7 +480,9 @@ module Google
|
|
480
480
|
options.apply_defaults timeout: @config.rpcs.update_namespace.timeout,
|
481
481
|
metadata: metadata,
|
482
482
|
retry_policy: @config.rpcs.update_namespace.retry_policy
|
483
|
-
|
483
|
+
|
484
|
+
options.apply_defaults timeout: @config.timeout,
|
485
|
+
metadata: @config.metadata,
|
484
486
|
retry_policy: @config.retry_policy
|
485
487
|
|
486
488
|
@registration_service_stub.call_rpc :update_namespace, request, options: options do |response, operation|
|
@@ -547,7 +549,9 @@ module Google
|
|
547
549
|
options.apply_defaults timeout: @config.rpcs.delete_namespace.timeout,
|
548
550
|
metadata: metadata,
|
549
551
|
retry_policy: @config.rpcs.delete_namespace.retry_policy
|
550
|
-
|
552
|
+
|
553
|
+
options.apply_defaults timeout: @config.timeout,
|
554
|
+
metadata: @config.metadata,
|
551
555
|
retry_policy: @config.retry_policy
|
552
556
|
|
553
557
|
@registration_service_stub.call_rpc :delete_namespace, request, options: options do |response, operation|
|
@@ -623,7 +627,9 @@ module Google
|
|
623
627
|
options.apply_defaults timeout: @config.rpcs.create_service.timeout,
|
624
628
|
metadata: metadata,
|
625
629
|
retry_policy: @config.rpcs.create_service.retry_policy
|
626
|
-
|
630
|
+
|
631
|
+
options.apply_defaults timeout: @config.timeout,
|
632
|
+
metadata: @config.metadata,
|
627
633
|
retry_policy: @config.retry_policy
|
628
634
|
|
629
635
|
@registration_service_stub.call_rpc :create_service, request, options: options do |response, operation|
|
@@ -737,7 +743,9 @@ module Google
|
|
737
743
|
options.apply_defaults timeout: @config.rpcs.list_services.timeout,
|
738
744
|
metadata: metadata,
|
739
745
|
retry_policy: @config.rpcs.list_services.retry_policy
|
740
|
-
|
746
|
+
|
747
|
+
options.apply_defaults timeout: @config.timeout,
|
748
|
+
metadata: @config.metadata,
|
741
749
|
retry_policy: @config.retry_policy
|
742
750
|
|
743
751
|
@registration_service_stub.call_rpc :list_services, request, options: options do |response, operation|
|
@@ -804,7 +812,9 @@ module Google
|
|
804
812
|
options.apply_defaults timeout: @config.rpcs.get_service.timeout,
|
805
813
|
metadata: metadata,
|
806
814
|
retry_policy: @config.rpcs.get_service.retry_policy
|
807
|
-
|
815
|
+
|
816
|
+
options.apply_defaults timeout: @config.timeout,
|
817
|
+
metadata: @config.metadata,
|
808
818
|
retry_policy: @config.retry_policy
|
809
819
|
|
810
820
|
@registration_service_stub.call_rpc :get_service, request, options: options do |response, operation|
|
@@ -872,7 +882,9 @@ module Google
|
|
872
882
|
options.apply_defaults timeout: @config.rpcs.update_service.timeout,
|
873
883
|
metadata: metadata,
|
874
884
|
retry_policy: @config.rpcs.update_service.retry_policy
|
875
|
-
|
885
|
+
|
886
|
+
options.apply_defaults timeout: @config.timeout,
|
887
|
+
metadata: @config.metadata,
|
876
888
|
retry_policy: @config.retry_policy
|
877
889
|
|
878
890
|
@registration_service_stub.call_rpc :update_service, request, options: options do |response, operation|
|
@@ -939,7 +951,9 @@ module Google
|
|
939
951
|
options.apply_defaults timeout: @config.rpcs.delete_service.timeout,
|
940
952
|
metadata: metadata,
|
941
953
|
retry_policy: @config.rpcs.delete_service.retry_policy
|
942
|
-
|
954
|
+
|
955
|
+
options.apply_defaults timeout: @config.timeout,
|
956
|
+
metadata: @config.metadata,
|
943
957
|
retry_policy: @config.retry_policy
|
944
958
|
|
945
959
|
@registration_service_stub.call_rpc :delete_service, request, options: options do |response, operation|
|
@@ -1015,7 +1029,9 @@ module Google
|
|
1015
1029
|
options.apply_defaults timeout: @config.rpcs.create_endpoint.timeout,
|
1016
1030
|
metadata: metadata,
|
1017
1031
|
retry_policy: @config.rpcs.create_endpoint.retry_policy
|
1018
|
-
|
1032
|
+
|
1033
|
+
options.apply_defaults timeout: @config.timeout,
|
1034
|
+
metadata: @config.metadata,
|
1019
1035
|
retry_policy: @config.retry_policy
|
1020
1036
|
|
1021
1037
|
@registration_service_stub.call_rpc :create_endpoint, request, options: options do |response, operation|
|
@@ -1132,7 +1148,9 @@ module Google
|
|
1132
1148
|
options.apply_defaults timeout: @config.rpcs.list_endpoints.timeout,
|
1133
1149
|
metadata: metadata,
|
1134
1150
|
retry_policy: @config.rpcs.list_endpoints.retry_policy
|
1135
|
-
|
1151
|
+
|
1152
|
+
options.apply_defaults timeout: @config.timeout,
|
1153
|
+
metadata: @config.metadata,
|
1136
1154
|
retry_policy: @config.retry_policy
|
1137
1155
|
|
1138
1156
|
@registration_service_stub.call_rpc :list_endpoints, request, options: options do |response, operation|
|
@@ -1199,7 +1217,9 @@ module Google
|
|
1199
1217
|
options.apply_defaults timeout: @config.rpcs.get_endpoint.timeout,
|
1200
1218
|
metadata: metadata,
|
1201
1219
|
retry_policy: @config.rpcs.get_endpoint.retry_policy
|
1202
|
-
|
1220
|
+
|
1221
|
+
options.apply_defaults timeout: @config.timeout,
|
1222
|
+
metadata: @config.metadata,
|
1203
1223
|
retry_policy: @config.retry_policy
|
1204
1224
|
|
1205
1225
|
@registration_service_stub.call_rpc :get_endpoint, request, options: options do |response, operation|
|
@@ -1267,7 +1287,9 @@ module Google
|
|
1267
1287
|
options.apply_defaults timeout: @config.rpcs.update_endpoint.timeout,
|
1268
1288
|
metadata: metadata,
|
1269
1289
|
retry_policy: @config.rpcs.update_endpoint.retry_policy
|
1270
|
-
|
1290
|
+
|
1291
|
+
options.apply_defaults timeout: @config.timeout,
|
1292
|
+
metadata: @config.metadata,
|
1271
1293
|
retry_policy: @config.retry_policy
|
1272
1294
|
|
1273
1295
|
@registration_service_stub.call_rpc :update_endpoint, request, options: options do |response, operation|
|
@@ -1333,7 +1355,9 @@ module Google
|
|
1333
1355
|
options.apply_defaults timeout: @config.rpcs.delete_endpoint.timeout,
|
1334
1356
|
metadata: metadata,
|
1335
1357
|
retry_policy: @config.rpcs.delete_endpoint.retry_policy
|
1336
|
-
|
1358
|
+
|
1359
|
+
options.apply_defaults timeout: @config.timeout,
|
1360
|
+
metadata: @config.metadata,
|
1337
1361
|
retry_policy: @config.retry_policy
|
1338
1362
|
|
1339
1363
|
@registration_service_stub.call_rpc :delete_endpoint, request, options: options do |response, operation|
|
@@ -1403,7 +1427,9 @@ module Google
|
|
1403
1427
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
1404
1428
|
metadata: metadata,
|
1405
1429
|
retry_policy: @config.rpcs.get_iam_policy.retry_policy
|
1406
|
-
|
1430
|
+
|
1431
|
+
options.apply_defaults timeout: @config.timeout,
|
1432
|
+
metadata: @config.metadata,
|
1407
1433
|
retry_policy: @config.retry_policy
|
1408
1434
|
|
1409
1435
|
@registration_service_stub.call_rpc :get_iam_policy, request, options: options do |response, operation|
|
@@ -1475,7 +1501,9 @@ module Google
|
|
1475
1501
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
1476
1502
|
metadata: metadata,
|
1477
1503
|
retry_policy: @config.rpcs.set_iam_policy.retry_policy
|
1478
|
-
|
1504
|
+
|
1505
|
+
options.apply_defaults timeout: @config.timeout,
|
1506
|
+
metadata: @config.metadata,
|
1479
1507
|
retry_policy: @config.retry_policy
|
1480
1508
|
|
1481
1509
|
@registration_service_stub.call_rpc :set_iam_policy, request, options: options do |response, operation|
|
@@ -1547,7 +1575,9 @@ module Google
|
|
1547
1575
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
1548
1576
|
metadata: metadata,
|
1549
1577
|
retry_policy: @config.rpcs.test_iam_permissions.retry_policy
|
1550
|
-
|
1578
|
+
|
1579
|
+
options.apply_defaults timeout: @config.timeout,
|
1580
|
+
metadata: @config.metadata,
|
1551
1581
|
retry_policy: @config.retry_policy
|
1552
1582
|
|
1553
1583
|
@registration_service_stub.call_rpc :test_iam_permissions, request, options: options do |response, operation|
|
@@ -1571,22 +1601,21 @@ module Google
|
|
1571
1601
|
# Configuration can be applied globally to all clients, or to a single client
|
1572
1602
|
# on construction.
|
1573
1603
|
#
|
1574
|
-
#
|
1575
|
-
#
|
1576
|
-
#
|
1577
|
-
# to 20 seconds,
|
1578
|
-
#
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
#
|
1582
|
-
#
|
1583
|
-
#
|
1584
|
-
#
|
1585
|
-
#
|
1586
|
-
#
|
1587
|
-
#
|
1588
|
-
#
|
1589
|
-
# end
|
1604
|
+
# @example
|
1605
|
+
#
|
1606
|
+
# # Modify the global config, setting the timeout for
|
1607
|
+
# # create_namespace to 20 seconds,
|
1608
|
+
# # and all remaining timeouts to 10 seconds.
|
1609
|
+
# ::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client.configure do |config|
|
1610
|
+
# config.timeout = 10.0
|
1611
|
+
# config.rpcs.create_namespace.timeout = 20.0
|
1612
|
+
# end
|
1613
|
+
#
|
1614
|
+
# # Apply the above configuration only to a new client.
|
1615
|
+
# client = ::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client.new do |config|
|
1616
|
+
# config.timeout = 10.0
|
1617
|
+
# config.rpcs.create_namespace.timeout = 20.0
|
1618
|
+
# end
|
1590
1619
|
#
|
1591
1620
|
# @!attribute [rw] endpoint
|
1592
1621
|
# The hostname or hostname:port of the service endpoint.
|
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.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-11 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
|
+
version: '0.7'
|
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.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|