google-cloud-service_management-v1 0.3.3 → 0.3.4
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: 054edd452b456f703d00dbbdc125759e97f21ea27973d3e8bece456ed4415e8e
|
4
|
+
data.tar.gz: e98b2408120b7703445f016eddce248f2213e3505e85299a1af2ab958adc2eaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20c429c30df6f90de4055c00d78cc5ca20607d54a3d3b8daa33fea111438cff919f903d5797c21d96d1f78df9b9c4404b959621aac2dec81d150654b473a2843
|
7
|
+
data.tar.gz: e1b875870b5039e9b674a2de088ac47a977e10c440f1a34daf0df1d6ac491050d1201f48476d824d77e646b7af712cc5130593b725422b1fd45b8a6e8aa02f4f
|
@@ -39,13 +39,12 @@ module Google
|
|
39
39
|
# See {::Google::Cloud::ServiceManagement::V1::ServiceManager::Client::Configuration}
|
40
40
|
# for a description of the configuration fields.
|
41
41
|
#
|
42
|
-
#
|
42
|
+
# @example
|
43
43
|
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
# end
|
44
|
+
# # Modify the configuration for all ServiceManager clients
|
45
|
+
# ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.configure do |config|
|
46
|
+
# config.timeout = 10.0
|
47
|
+
# end
|
49
48
|
#
|
50
49
|
# @yield [config] Configure the Client client.
|
51
50
|
# @yieldparam config [Client::Configuration]
|
@@ -92,19 +91,15 @@ module Google
|
|
92
91
|
##
|
93
92
|
# Create a new ServiceManager client object.
|
94
93
|
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
# To create a new ServiceManager client with the default
|
98
|
-
# configuration:
|
99
|
-
#
|
100
|
-
# client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new
|
94
|
+
# @example
|
101
95
|
#
|
102
|
-
#
|
103
|
-
#
|
96
|
+
# # Create a client using the default configuration
|
97
|
+
# client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new
|
104
98
|
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
99
|
+
# # Create a client using a custom configuration
|
100
|
+
# client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new do |config|
|
101
|
+
# config.timeout = 10.0
|
102
|
+
# end
|
108
103
|
#
|
109
104
|
# @yield [config] Configure the ServiceManager client.
|
110
105
|
# @yieldparam config [Client::Configuration]
|
@@ -124,10 +119,9 @@ module Google
|
|
124
119
|
|
125
120
|
# Create credentials
|
126
121
|
credentials = @config.credentials
|
127
|
-
# Use self-signed JWT if the
|
122
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
128
123
|
# but only if the default endpoint does not have a region prefix.
|
129
|
-
enable_self_signed_jwt = @config.
|
130
|
-
@config.endpoint == Client.configure.endpoint &&
|
124
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
131
125
|
!@config.endpoint.split(".").first.include?("-")
|
132
126
|
credentials ||= Credentials.default scope: @config.scope,
|
133
127
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -229,7 +223,9 @@ module Google
|
|
229
223
|
options.apply_defaults timeout: @config.rpcs.list_services.timeout,
|
230
224
|
metadata: metadata,
|
231
225
|
retry_policy: @config.rpcs.list_services.retry_policy
|
232
|
-
|
226
|
+
|
227
|
+
options.apply_defaults timeout: @config.timeout,
|
228
|
+
metadata: @config.metadata,
|
233
229
|
retry_policy: @config.retry_policy
|
234
230
|
|
235
231
|
@service_manager_stub.call_rpc :list_services, request, options: options do |response, operation|
|
@@ -298,7 +294,9 @@ module Google
|
|
298
294
|
options.apply_defaults timeout: @config.rpcs.get_service.timeout,
|
299
295
|
metadata: metadata,
|
300
296
|
retry_policy: @config.rpcs.get_service.retry_policy
|
301
|
-
|
297
|
+
|
298
|
+
options.apply_defaults timeout: @config.timeout,
|
299
|
+
metadata: @config.metadata,
|
302
300
|
retry_policy: @config.retry_policy
|
303
301
|
|
304
302
|
@service_manager_stub.call_rpc :get_service, request, options: options do |response, operation|
|
@@ -361,7 +359,9 @@ module Google
|
|
361
359
|
options.apply_defaults timeout: @config.rpcs.create_service.timeout,
|
362
360
|
metadata: metadata,
|
363
361
|
retry_policy: @config.rpcs.create_service.retry_policy
|
364
|
-
|
362
|
+
|
363
|
+
options.apply_defaults timeout: @config.timeout,
|
364
|
+
metadata: @config.metadata,
|
365
365
|
retry_policy: @config.retry_policy
|
366
366
|
|
367
367
|
@service_manager_stub.call_rpc :create_service, request, options: options do |response, operation|
|
@@ -434,7 +434,9 @@ module Google
|
|
434
434
|
options.apply_defaults timeout: @config.rpcs.delete_service.timeout,
|
435
435
|
metadata: metadata,
|
436
436
|
retry_policy: @config.rpcs.delete_service.retry_policy
|
437
|
-
|
437
|
+
|
438
|
+
options.apply_defaults timeout: @config.timeout,
|
439
|
+
metadata: @config.metadata,
|
438
440
|
retry_policy: @config.retry_policy
|
439
441
|
|
440
442
|
@service_manager_stub.call_rpc :delete_service, request, options: options do |response, operation|
|
@@ -507,7 +509,9 @@ module Google
|
|
507
509
|
options.apply_defaults timeout: @config.rpcs.undelete_service.timeout,
|
508
510
|
metadata: metadata,
|
509
511
|
retry_policy: @config.rpcs.undelete_service.retry_policy
|
510
|
-
|
512
|
+
|
513
|
+
options.apply_defaults timeout: @config.timeout,
|
514
|
+
metadata: @config.metadata,
|
511
515
|
retry_policy: @config.retry_policy
|
512
516
|
|
513
517
|
@service_manager_stub.call_rpc :undelete_service, request, options: options do |response, operation|
|
@@ -581,7 +585,9 @@ module Google
|
|
581
585
|
options.apply_defaults timeout: @config.rpcs.list_service_configs.timeout,
|
582
586
|
metadata: metadata,
|
583
587
|
retry_policy: @config.rpcs.list_service_configs.retry_policy
|
584
|
-
|
588
|
+
|
589
|
+
options.apply_defaults timeout: @config.timeout,
|
590
|
+
metadata: @config.metadata,
|
585
591
|
retry_policy: @config.retry_policy
|
586
592
|
|
587
593
|
@service_manager_stub.call_rpc :list_service_configs, request, options: options do |response, operation|
|
@@ -658,7 +664,9 @@ module Google
|
|
658
664
|
options.apply_defaults timeout: @config.rpcs.get_service_config.timeout,
|
659
665
|
metadata: metadata,
|
660
666
|
retry_policy: @config.rpcs.get_service_config.retry_policy
|
661
|
-
|
667
|
+
|
668
|
+
options.apply_defaults timeout: @config.timeout,
|
669
|
+
metadata: @config.metadata,
|
662
670
|
retry_policy: @config.retry_policy
|
663
671
|
|
664
672
|
@service_manager_stub.call_rpc :get_service_config, request, options: options do |response, operation|
|
@@ -734,7 +742,9 @@ module Google
|
|
734
742
|
options.apply_defaults timeout: @config.rpcs.create_service_config.timeout,
|
735
743
|
metadata: metadata,
|
736
744
|
retry_policy: @config.rpcs.create_service_config.retry_policy
|
737
|
-
|
745
|
+
|
746
|
+
options.apply_defaults timeout: @config.timeout,
|
747
|
+
metadata: @config.metadata,
|
738
748
|
retry_policy: @config.retry_policy
|
739
749
|
|
740
750
|
@service_manager_stub.call_rpc :create_service_config, request, options: options do |response, operation|
|
@@ -819,7 +829,9 @@ module Google
|
|
819
829
|
options.apply_defaults timeout: @config.rpcs.submit_config_source.timeout,
|
820
830
|
metadata: metadata,
|
821
831
|
retry_policy: @config.rpcs.submit_config_source.retry_policy
|
822
|
-
|
832
|
+
|
833
|
+
options.apply_defaults timeout: @config.timeout,
|
834
|
+
metadata: @config.metadata,
|
823
835
|
retry_policy: @config.retry_policy
|
824
836
|
|
825
837
|
@service_manager_stub.call_rpc :submit_config_source, request, options: options do |response, operation|
|
@@ -902,7 +914,9 @@ module Google
|
|
902
914
|
options.apply_defaults timeout: @config.rpcs.list_service_rollouts.timeout,
|
903
915
|
metadata: metadata,
|
904
916
|
retry_policy: @config.rpcs.list_service_rollouts.retry_policy
|
905
|
-
|
917
|
+
|
918
|
+
options.apply_defaults timeout: @config.timeout,
|
919
|
+
metadata: @config.metadata,
|
906
920
|
retry_policy: @config.retry_policy
|
907
921
|
|
908
922
|
@service_manager_stub.call_rpc :list_service_rollouts, request, options: options do |response, operation|
|
@@ -973,7 +987,9 @@ module Google
|
|
973
987
|
options.apply_defaults timeout: @config.rpcs.get_service_rollout.timeout,
|
974
988
|
metadata: metadata,
|
975
989
|
retry_policy: @config.rpcs.get_service_rollout.retry_policy
|
976
|
-
|
990
|
+
|
991
|
+
options.apply_defaults timeout: @config.timeout,
|
992
|
+
metadata: @config.metadata,
|
977
993
|
retry_policy: @config.retry_policy
|
978
994
|
|
979
995
|
@service_manager_stub.call_rpc :get_service_rollout, request, options: options do |response, operation|
|
@@ -1055,7 +1071,9 @@ module Google
|
|
1055
1071
|
options.apply_defaults timeout: @config.rpcs.create_service_rollout.timeout,
|
1056
1072
|
metadata: metadata,
|
1057
1073
|
retry_policy: @config.rpcs.create_service_rollout.retry_policy
|
1058
|
-
|
1074
|
+
|
1075
|
+
options.apply_defaults timeout: @config.timeout,
|
1076
|
+
metadata: @config.metadata,
|
1059
1077
|
retry_policy: @config.retry_policy
|
1060
1078
|
|
1061
1079
|
@service_manager_stub.call_rpc :create_service_rollout, request, options: options do |response, operation|
|
@@ -1136,7 +1154,9 @@ module Google
|
|
1136
1154
|
options.apply_defaults timeout: @config.rpcs.generate_config_report.timeout,
|
1137
1155
|
metadata: metadata,
|
1138
1156
|
retry_policy: @config.rpcs.generate_config_report.retry_policy
|
1139
|
-
|
1157
|
+
|
1158
|
+
options.apply_defaults timeout: @config.timeout,
|
1159
|
+
metadata: @config.metadata,
|
1140
1160
|
retry_policy: @config.retry_policy
|
1141
1161
|
|
1142
1162
|
@service_manager_stub.call_rpc :generate_config_report, request, options: options do |response, operation|
|
@@ -1155,6 +1175,8 @@ module Google
|
|
1155
1175
|
#
|
1156
1176
|
# Operation<response: EnableServiceResponse>
|
1157
1177
|
#
|
1178
|
+
# @deprecated This method is deprecated and may be removed in the next major version update.
|
1179
|
+
#
|
1158
1180
|
# @overload enable_service(request, options = nil)
|
1159
1181
|
# Pass arguments to `enable_service` via a request object, either of type
|
1160
1182
|
# {::Google::Cloud::ServiceManagement::V1::EnableServiceRequest} or an equivalent Hash.
|
@@ -1218,7 +1240,9 @@ module Google
|
|
1218
1240
|
options.apply_defaults timeout: @config.rpcs.enable_service.timeout,
|
1219
1241
|
metadata: metadata,
|
1220
1242
|
retry_policy: @config.rpcs.enable_service.retry_policy
|
1221
|
-
|
1243
|
+
|
1244
|
+
options.apply_defaults timeout: @config.timeout,
|
1245
|
+
metadata: @config.metadata,
|
1222
1246
|
retry_policy: @config.retry_policy
|
1223
1247
|
|
1224
1248
|
@service_manager_stub.call_rpc :enable_service, request, options: options do |response, operation|
|
@@ -1237,6 +1261,8 @@ module Google
|
|
1237
1261
|
#
|
1238
1262
|
# Operation<response: DisableServiceResponse>
|
1239
1263
|
#
|
1264
|
+
# @deprecated This method is deprecated and may be removed in the next major version update.
|
1265
|
+
#
|
1240
1266
|
# @overload disable_service(request, options = nil)
|
1241
1267
|
# Pass arguments to `disable_service` via a request object, either of type
|
1242
1268
|
# {::Google::Cloud::ServiceManagement::V1::DisableServiceRequest} or an equivalent Hash.
|
@@ -1300,7 +1326,9 @@ module Google
|
|
1300
1326
|
options.apply_defaults timeout: @config.rpcs.disable_service.timeout,
|
1301
1327
|
metadata: metadata,
|
1302
1328
|
retry_policy: @config.rpcs.disable_service.retry_policy
|
1303
|
-
|
1329
|
+
|
1330
|
+
options.apply_defaults timeout: @config.timeout,
|
1331
|
+
metadata: @config.metadata,
|
1304
1332
|
retry_policy: @config.retry_policy
|
1305
1333
|
|
1306
1334
|
@service_manager_stub.call_rpc :disable_service, request, options: options do |response, operation|
|
@@ -1325,22 +1353,21 @@ module Google
|
|
1325
1353
|
# Configuration can be applied globally to all clients, or to a single client
|
1326
1354
|
# on construction.
|
1327
1355
|
#
|
1328
|
-
#
|
1329
|
-
#
|
1330
|
-
#
|
1331
|
-
# to 20 seconds,
|
1332
|
-
#
|
1333
|
-
#
|
1334
|
-
#
|
1335
|
-
#
|
1336
|
-
#
|
1337
|
-
#
|
1338
|
-
#
|
1339
|
-
#
|
1340
|
-
#
|
1341
|
-
#
|
1342
|
-
#
|
1343
|
-
# end
|
1356
|
+
# @example
|
1357
|
+
#
|
1358
|
+
# # Modify the global config, setting the timeout for
|
1359
|
+
# # list_services to 20 seconds,
|
1360
|
+
# # and all remaining timeouts to 10 seconds.
|
1361
|
+
# ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.configure do |config|
|
1362
|
+
# config.timeout = 10.0
|
1363
|
+
# config.rpcs.list_services.timeout = 20.0
|
1364
|
+
# end
|
1365
|
+
#
|
1366
|
+
# # Apply the above configuration only to a new client.
|
1367
|
+
# client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new do |config|
|
1368
|
+
# config.timeout = 10.0
|
1369
|
+
# config.rpcs.list_services.timeout = 20.0
|
1370
|
+
# end
|
1344
1371
|
#
|
1345
1372
|
# @!attribute [rw] endpoint
|
1346
1373
|
# The hostname or hostname:port of the service endpoint.
|
@@ -169,7 +169,9 @@ module Google
|
|
169
169
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
170
170
|
metadata: metadata,
|
171
171
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
172
|
-
|
172
|
+
|
173
|
+
options.apply_defaults timeout: @config.timeout,
|
174
|
+
metadata: @config.metadata,
|
173
175
|
retry_policy: @config.retry_policy
|
174
176
|
|
175
177
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -239,7 +241,9 @@ module Google
|
|
239
241
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
240
242
|
metadata: metadata,
|
241
243
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
242
|
-
|
244
|
+
|
245
|
+
options.apply_defaults timeout: @config.timeout,
|
246
|
+
metadata: @config.metadata,
|
243
247
|
retry_policy: @config.retry_policy
|
244
248
|
|
245
249
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -309,7 +313,9 @@ module Google
|
|
309
313
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
310
314
|
metadata: metadata,
|
311
315
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
312
|
-
|
316
|
+
|
317
|
+
options.apply_defaults timeout: @config.timeout,
|
318
|
+
metadata: @config.metadata,
|
313
319
|
retry_policy: @config.retry_policy
|
314
320
|
|
315
321
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -384,7 +390,9 @@ module Google
|
|
384
390
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
385
391
|
metadata: metadata,
|
386
392
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
387
|
-
|
393
|
+
|
394
|
+
options.apply_defaults timeout: @config.timeout,
|
395
|
+
metadata: @config.metadata,
|
388
396
|
retry_policy: @config.retry_policy
|
389
397
|
|
390
398
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -456,7 +464,9 @@ module Google
|
|
456
464
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
457
465
|
metadata: metadata,
|
458
466
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
459
|
-
|
467
|
+
|
468
|
+
options.apply_defaults timeout: @config.timeout,
|
469
|
+
metadata: @config.metadata,
|
460
470
|
retry_policy: @config.retry_policy
|
461
471
|
|
462
472
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -481,22 +491,21 @@ module Google
|
|
481
491
|
# Configuration can be applied globally to all clients, or to a single client
|
482
492
|
# on construction.
|
483
493
|
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
# to 20 seconds,
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# end
|
494
|
+
# @example
|
495
|
+
#
|
496
|
+
# # Modify the global config, setting the timeout for
|
497
|
+
# # list_operations to 20 seconds,
|
498
|
+
# # and all remaining timeouts to 10 seconds.
|
499
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
500
|
+
# config.timeout = 10.0
|
501
|
+
# config.rpcs.list_operations.timeout = 20.0
|
502
|
+
# end
|
503
|
+
#
|
504
|
+
# # Apply the above configuration only to a new client.
|
505
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
506
|
+
# config.timeout = 10.0
|
507
|
+
# config.rpcs.list_operations.timeout = 20.0
|
508
|
+
# end
|
500
509
|
#
|
501
510
|
# @!attribute [rw] endpoint
|
502
511
|
# 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_management-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
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
|