google-iam-v1beta 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: 4420ddee301813abfa2926262ffa5bee0eb36f6319d1741d85d8cd30618dc83e
|
4
|
+
data.tar.gz: a43ae15b5f262cdf85458a1915ef6f06569e5b5a62257c1890e244db96338bd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ad4de686d86eaca65a30bc683acf4d99c276f3afdcdc85b6658fd8700950e10c4d9705047833bb31aad3696f3468faf3a9b5a86d6fb4386990957816257e6c0
|
7
|
+
data.tar.gz: 1da394b251fd0f113751fce6fdada37872228c5b7ae8e6db3adae9143a579fa2d9e71ab86fbf1467fa76d24f7ece6913c6bd9b235b4a311400d75d245f5acb91
|
@@ -40,13 +40,12 @@ module Google
|
|
40
40
|
# See {::Google::Iam::V1beta::WorkloadIdentityPools::Client::Configuration}
|
41
41
|
# for a description of the configuration fields.
|
42
42
|
#
|
43
|
-
#
|
43
|
+
# @example
|
44
44
|
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# end
|
45
|
+
# # Modify the configuration for all WorkloadIdentityPools clients
|
46
|
+
# ::Google::Iam::V1beta::WorkloadIdentityPools::Client.configure do |config|
|
47
|
+
# config.timeout = 10.0
|
48
|
+
# end
|
50
49
|
#
|
51
50
|
# @yield [config] Configure the Client client.
|
52
51
|
# @yieldparam config [Client::Configuration]
|
@@ -153,19 +152,15 @@ module Google
|
|
153
152
|
##
|
154
153
|
# Create a new WorkloadIdentityPools client object.
|
155
154
|
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
# To create a new WorkloadIdentityPools client with the default
|
159
|
-
# configuration:
|
160
|
-
#
|
161
|
-
# client = ::Google::Iam::V1beta::WorkloadIdentityPools::Client.new
|
155
|
+
# @example
|
162
156
|
#
|
163
|
-
#
|
164
|
-
#
|
157
|
+
# # Create a client using the default configuration
|
158
|
+
# client = ::Google::Iam::V1beta::WorkloadIdentityPools::Client.new
|
165
159
|
#
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
160
|
+
# # Create a client using a custom configuration
|
161
|
+
# client = ::Google::Iam::V1beta::WorkloadIdentityPools::Client.new do |config|
|
162
|
+
# config.timeout = 10.0
|
163
|
+
# end
|
169
164
|
#
|
170
165
|
# @yield [config] Configure the WorkloadIdentityPools client.
|
171
166
|
# @yieldparam config [Client::Configuration]
|
@@ -185,10 +180,9 @@ module Google
|
|
185
180
|
|
186
181
|
# Create credentials
|
187
182
|
credentials = @config.credentials
|
188
|
-
# Use self-signed JWT if the
|
183
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
189
184
|
# but only if the default endpoint does not have a region prefix.
|
190
|
-
enable_self_signed_jwt = @config.
|
191
|
-
@config.endpoint == Client.configure.endpoint &&
|
185
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
192
186
|
!@config.endpoint.split(".").first.include?("-")
|
193
187
|
credentials ||= Credentials.default scope: @config.scope,
|
194
188
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -288,7 +282,9 @@ module Google
|
|
288
282
|
options.apply_defaults timeout: @config.rpcs.list_workload_identity_pools.timeout,
|
289
283
|
metadata: metadata,
|
290
284
|
retry_policy: @config.rpcs.list_workload_identity_pools.retry_policy
|
291
|
-
|
285
|
+
|
286
|
+
options.apply_defaults timeout: @config.timeout,
|
287
|
+
metadata: @config.metadata,
|
292
288
|
retry_policy: @config.retry_policy
|
293
289
|
|
294
290
|
@workload_identity_pools_stub.call_rpc :list_workload_identity_pools, request, options: options do |response, operation|
|
@@ -356,7 +352,9 @@ module Google
|
|
356
352
|
options.apply_defaults timeout: @config.rpcs.get_workload_identity_pool.timeout,
|
357
353
|
metadata: metadata,
|
358
354
|
retry_policy: @config.rpcs.get_workload_identity_pool.retry_policy
|
359
|
-
|
355
|
+
|
356
|
+
options.apply_defaults timeout: @config.timeout,
|
357
|
+
metadata: @config.metadata,
|
360
358
|
retry_policy: @config.retry_policy
|
361
359
|
|
362
360
|
@workload_identity_pools_stub.call_rpc :get_workload_identity_pool, request, options: options do |response, operation|
|
@@ -433,7 +431,9 @@ module Google
|
|
433
431
|
options.apply_defaults timeout: @config.rpcs.create_workload_identity_pool.timeout,
|
434
432
|
metadata: metadata,
|
435
433
|
retry_policy: @config.rpcs.create_workload_identity_pool.retry_policy
|
436
|
-
|
434
|
+
|
435
|
+
options.apply_defaults timeout: @config.timeout,
|
436
|
+
metadata: @config.metadata,
|
437
437
|
retry_policy: @config.retry_policy
|
438
438
|
|
439
439
|
@workload_identity_pools_stub.call_rpc :create_workload_identity_pool, request, options: options do |response, operation|
|
@@ -503,7 +503,9 @@ module Google
|
|
503
503
|
options.apply_defaults timeout: @config.rpcs.update_workload_identity_pool.timeout,
|
504
504
|
metadata: metadata,
|
505
505
|
retry_policy: @config.rpcs.update_workload_identity_pool.retry_policy
|
506
|
-
|
506
|
+
|
507
|
+
options.apply_defaults timeout: @config.timeout,
|
508
|
+
metadata: @config.metadata,
|
507
509
|
retry_policy: @config.retry_policy
|
508
510
|
|
509
511
|
@workload_identity_pools_stub.call_rpc :update_workload_identity_pool, request, options: options do |response, operation|
|
@@ -581,7 +583,9 @@ module Google
|
|
581
583
|
options.apply_defaults timeout: @config.rpcs.delete_workload_identity_pool.timeout,
|
582
584
|
metadata: metadata,
|
583
585
|
retry_policy: @config.rpcs.delete_workload_identity_pool.retry_policy
|
584
|
-
|
586
|
+
|
587
|
+
options.apply_defaults timeout: @config.timeout,
|
588
|
+
metadata: @config.metadata,
|
585
589
|
retry_policy: @config.retry_policy
|
586
590
|
|
587
591
|
@workload_identity_pools_stub.call_rpc :delete_workload_identity_pool, request, options: options do |response, operation|
|
@@ -649,7 +653,9 @@ module Google
|
|
649
653
|
options.apply_defaults timeout: @config.rpcs.undelete_workload_identity_pool.timeout,
|
650
654
|
metadata: metadata,
|
651
655
|
retry_policy: @config.rpcs.undelete_workload_identity_pool.retry_policy
|
652
|
-
|
656
|
+
|
657
|
+
options.apply_defaults timeout: @config.timeout,
|
658
|
+
metadata: @config.metadata,
|
653
659
|
retry_policy: @config.retry_policy
|
654
660
|
|
655
661
|
@workload_identity_pools_stub.call_rpc :undelete_workload_identity_pool, request, options: options do |response, operation|
|
@@ -729,7 +735,9 @@ module Google
|
|
729
735
|
options.apply_defaults timeout: @config.rpcs.list_workload_identity_pool_providers.timeout,
|
730
736
|
metadata: metadata,
|
731
737
|
retry_policy: @config.rpcs.list_workload_identity_pool_providers.retry_policy
|
732
|
-
|
738
|
+
|
739
|
+
options.apply_defaults timeout: @config.timeout,
|
740
|
+
metadata: @config.metadata,
|
733
741
|
retry_policy: @config.retry_policy
|
734
742
|
|
735
743
|
@workload_identity_pools_stub.call_rpc :list_workload_identity_pool_providers, request, options: options do |response, operation|
|
@@ -797,7 +805,9 @@ module Google
|
|
797
805
|
options.apply_defaults timeout: @config.rpcs.get_workload_identity_pool_provider.timeout,
|
798
806
|
metadata: metadata,
|
799
807
|
retry_policy: @config.rpcs.get_workload_identity_pool_provider.retry_policy
|
800
|
-
|
808
|
+
|
809
|
+
options.apply_defaults timeout: @config.timeout,
|
810
|
+
metadata: @config.metadata,
|
801
811
|
retry_policy: @config.retry_policy
|
802
812
|
|
803
813
|
@workload_identity_pools_stub.call_rpc :get_workload_identity_pool_provider, request, options: options do |response, operation|
|
@@ -875,7 +885,9 @@ module Google
|
|
875
885
|
options.apply_defaults timeout: @config.rpcs.create_workload_identity_pool_provider.timeout,
|
876
886
|
metadata: metadata,
|
877
887
|
retry_policy: @config.rpcs.create_workload_identity_pool_provider.retry_policy
|
878
|
-
|
888
|
+
|
889
|
+
options.apply_defaults timeout: @config.timeout,
|
890
|
+
metadata: @config.metadata,
|
879
891
|
retry_policy: @config.retry_policy
|
880
892
|
|
881
893
|
@workload_identity_pools_stub.call_rpc :create_workload_identity_pool_provider, request, options: options do |response, operation|
|
@@ -945,7 +957,9 @@ module Google
|
|
945
957
|
options.apply_defaults timeout: @config.rpcs.update_workload_identity_pool_provider.timeout,
|
946
958
|
metadata: metadata,
|
947
959
|
retry_policy: @config.rpcs.update_workload_identity_pool_provider.retry_policy
|
948
|
-
|
960
|
+
|
961
|
+
options.apply_defaults timeout: @config.timeout,
|
962
|
+
metadata: @config.metadata,
|
949
963
|
retry_policy: @config.retry_policy
|
950
964
|
|
951
965
|
@workload_identity_pools_stub.call_rpc :update_workload_identity_pool_provider, request, options: options do |response, operation|
|
@@ -1018,7 +1032,9 @@ module Google
|
|
1018
1032
|
options.apply_defaults timeout: @config.rpcs.delete_workload_identity_pool_provider.timeout,
|
1019
1033
|
metadata: metadata,
|
1020
1034
|
retry_policy: @config.rpcs.delete_workload_identity_pool_provider.retry_policy
|
1021
|
-
|
1035
|
+
|
1036
|
+
options.apply_defaults timeout: @config.timeout,
|
1037
|
+
metadata: @config.metadata,
|
1022
1038
|
retry_policy: @config.retry_policy
|
1023
1039
|
|
1024
1040
|
@workload_identity_pools_stub.call_rpc :delete_workload_identity_pool_provider, request, options: options do |response, operation|
|
@@ -1087,7 +1103,9 @@ module Google
|
|
1087
1103
|
options.apply_defaults timeout: @config.rpcs.undelete_workload_identity_pool_provider.timeout,
|
1088
1104
|
metadata: metadata,
|
1089
1105
|
retry_policy: @config.rpcs.undelete_workload_identity_pool_provider.retry_policy
|
1090
|
-
|
1106
|
+
|
1107
|
+
options.apply_defaults timeout: @config.timeout,
|
1108
|
+
metadata: @config.metadata,
|
1091
1109
|
retry_policy: @config.retry_policy
|
1092
1110
|
|
1093
1111
|
@workload_identity_pools_stub.call_rpc :undelete_workload_identity_pool_provider, request, options: options do |response, operation|
|
@@ -1112,22 +1130,21 @@ module Google
|
|
1112
1130
|
# Configuration can be applied globally to all clients, or to a single client
|
1113
1131
|
# on construction.
|
1114
1132
|
#
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
# to 20 seconds,
|
1119
|
-
#
|
1120
|
-
#
|
1121
|
-
#
|
1122
|
-
#
|
1123
|
-
#
|
1124
|
-
#
|
1125
|
-
#
|
1126
|
-
#
|
1127
|
-
#
|
1128
|
-
#
|
1129
|
-
#
|
1130
|
-
# end
|
1133
|
+
# @example
|
1134
|
+
#
|
1135
|
+
# # Modify the global config, setting the timeout for
|
1136
|
+
# # list_workload_identity_pools to 20 seconds,
|
1137
|
+
# # and all remaining timeouts to 10 seconds.
|
1138
|
+
# ::Google::Iam::V1beta::WorkloadIdentityPools::Client.configure do |config|
|
1139
|
+
# config.timeout = 10.0
|
1140
|
+
# config.rpcs.list_workload_identity_pools.timeout = 20.0
|
1141
|
+
# end
|
1142
|
+
#
|
1143
|
+
# # Apply the above configuration only to a new client.
|
1144
|
+
# client = ::Google::Iam::V1beta::WorkloadIdentityPools::Client.new do |config|
|
1145
|
+
# config.timeout = 10.0
|
1146
|
+
# config.rpcs.list_workload_identity_pools.timeout = 20.0
|
1147
|
+
# end
|
1131
1148
|
#
|
1132
1149
|
# @!attribute [rw] endpoint
|
1133
1150
|
# The hostname or hostname:port of the service endpoint.
|
@@ -168,7 +168,9 @@ module Google
|
|
168
168
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
169
169
|
metadata: metadata,
|
170
170
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
171
|
-
|
171
|
+
|
172
|
+
options.apply_defaults timeout: @config.timeout,
|
173
|
+
metadata: @config.metadata,
|
172
174
|
retry_policy: @config.retry_policy
|
173
175
|
|
174
176
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -238,7 +240,9 @@ module Google
|
|
238
240
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
239
241
|
metadata: metadata,
|
240
242
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
241
|
-
|
243
|
+
|
244
|
+
options.apply_defaults timeout: @config.timeout,
|
245
|
+
metadata: @config.metadata,
|
242
246
|
retry_policy: @config.retry_policy
|
243
247
|
|
244
248
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -308,7 +312,9 @@ module Google
|
|
308
312
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
309
313
|
metadata: metadata,
|
310
314
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
311
|
-
|
315
|
+
|
316
|
+
options.apply_defaults timeout: @config.timeout,
|
317
|
+
metadata: @config.metadata,
|
312
318
|
retry_policy: @config.retry_policy
|
313
319
|
|
314
320
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -383,7 +389,9 @@ module Google
|
|
383
389
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
384
390
|
metadata: metadata,
|
385
391
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
386
|
-
|
392
|
+
|
393
|
+
options.apply_defaults timeout: @config.timeout,
|
394
|
+
metadata: @config.metadata,
|
387
395
|
retry_policy: @config.retry_policy
|
388
396
|
|
389
397
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -455,7 +463,9 @@ module Google
|
|
455
463
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
456
464
|
metadata: metadata,
|
457
465
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
458
|
-
|
466
|
+
|
467
|
+
options.apply_defaults timeout: @config.timeout,
|
468
|
+
metadata: @config.metadata,
|
459
469
|
retry_policy: @config.retry_policy
|
460
470
|
|
461
471
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -480,22 +490,21 @@ module Google
|
|
480
490
|
# Configuration can be applied globally to all clients, or to a single client
|
481
491
|
# on construction.
|
482
492
|
#
|
483
|
-
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
# to 20 seconds,
|
487
|
-
#
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
# end
|
493
|
+
# @example
|
494
|
+
#
|
495
|
+
# # Modify the global config, setting the timeout for
|
496
|
+
# # list_operations to 20 seconds,
|
497
|
+
# # and all remaining timeouts to 10 seconds.
|
498
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
499
|
+
# config.timeout = 10.0
|
500
|
+
# config.rpcs.list_operations.timeout = 20.0
|
501
|
+
# end
|
502
|
+
#
|
503
|
+
# # Apply the above configuration only to a new client.
|
504
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
505
|
+
# config.timeout = 10.0
|
506
|
+
# config.rpcs.list_operations.timeout = 20.0
|
507
|
+
# end
|
499
508
|
#
|
500
509
|
# @!attribute [rw] endpoint
|
501
510
|
# 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-iam-v1beta
|
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
|