google-cloud-managed_identities-v1 0.3.2 → 0.3.3
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fc811fc7bc19b2d9d97d168ca8470522f5bc40891522f819d49439f7641dc11
|
4
|
+
data.tar.gz: 288644711a9fce0dac79fac608cbdfbed366e84e9ea61a2f7414ef8bf153f595
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e88d3be517da1cdbdcfa0bc3b26d4bfc019e1999559e875f6b3e43fa3b828ca50ec52e9cdbe49101e30501c9f349dba626b8029cee52fa8e7e7dc7b54327563a
|
7
|
+
data.tar.gz: 83e3d2fe8bddd8aa77a886449c5bcd805f5fd96c7bbeb34cb1c7872981af3310a5129e827ffee379f69d0926c6f80568f4285bdec302559495d9cd060665406d
|
@@ -72,13 +72,12 @@ module Google
|
|
72
72
|
# See {::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client::Configuration}
|
73
73
|
# for a description of the configuration fields.
|
74
74
|
#
|
75
|
-
#
|
75
|
+
# @example
|
76
76
|
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
# end
|
77
|
+
# # Modify the configuration for all ManagedIdentitiesService clients
|
78
|
+
# ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.configure do |config|
|
79
|
+
# config.timeout = 10.0
|
80
|
+
# end
|
82
81
|
#
|
83
82
|
# @yield [config] Configure the Client client.
|
84
83
|
# @yieldparam config [Client::Configuration]
|
@@ -145,19 +144,15 @@ module Google
|
|
145
144
|
##
|
146
145
|
# Create a new ManagedIdentitiesService client object.
|
147
146
|
#
|
148
|
-
#
|
149
|
-
#
|
150
|
-
# To create a new ManagedIdentitiesService client with the default
|
151
|
-
# configuration:
|
152
|
-
#
|
153
|
-
# client = ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.new
|
147
|
+
# @example
|
154
148
|
#
|
155
|
-
#
|
156
|
-
#
|
149
|
+
# # Create a client using the default configuration
|
150
|
+
# client = ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.new
|
157
151
|
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
152
|
+
# # Create a client using a custom configuration
|
153
|
+
# client = ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.new do |config|
|
154
|
+
# config.timeout = 10.0
|
155
|
+
# end
|
161
156
|
#
|
162
157
|
# @yield [config] Configure the ManagedIdentitiesService client.
|
163
158
|
# @yieldparam config [Client::Configuration]
|
@@ -177,10 +172,9 @@ module Google
|
|
177
172
|
|
178
173
|
# Create credentials
|
179
174
|
credentials = @config.credentials
|
180
|
-
# Use self-signed JWT if the
|
175
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
181
176
|
# but only if the default endpoint does not have a region prefix.
|
182
|
-
enable_self_signed_jwt = @config.
|
183
|
-
@config.endpoint == Client.configure.endpoint &&
|
177
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
184
178
|
!@config.endpoint.split(".").first.include?("-")
|
185
179
|
credentials ||= Credentials.default scope: @config.scope,
|
186
180
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -284,7 +278,9 @@ module Google
|
|
284
278
|
options.apply_defaults timeout: @config.rpcs.create_microsoft_ad_domain.timeout,
|
285
279
|
metadata: metadata,
|
286
280
|
retry_policy: @config.rpcs.create_microsoft_ad_domain.retry_policy
|
287
|
-
|
281
|
+
|
282
|
+
options.apply_defaults timeout: @config.timeout,
|
283
|
+
metadata: @config.metadata,
|
288
284
|
retry_policy: @config.retry_policy
|
289
285
|
|
290
286
|
@managed_identities_service_stub.call_rpc :create_microsoft_ad_domain, request, options: options do |response, operation|
|
@@ -352,7 +348,9 @@ module Google
|
|
352
348
|
options.apply_defaults timeout: @config.rpcs.reset_admin_password.timeout,
|
353
349
|
metadata: metadata,
|
354
350
|
retry_policy: @config.rpcs.reset_admin_password.retry_policy
|
355
|
-
|
351
|
+
|
352
|
+
options.apply_defaults timeout: @config.timeout,
|
353
|
+
metadata: @config.metadata,
|
356
354
|
retry_policy: @config.retry_policy
|
357
355
|
|
358
356
|
@managed_identities_service_stub.call_rpc :reset_admin_password, request, options: options do |response, operation|
|
@@ -437,7 +435,9 @@ module Google
|
|
437
435
|
options.apply_defaults timeout: @config.rpcs.list_domains.timeout,
|
438
436
|
metadata: metadata,
|
439
437
|
retry_policy: @config.rpcs.list_domains.retry_policy
|
440
|
-
|
438
|
+
|
439
|
+
options.apply_defaults timeout: @config.timeout,
|
440
|
+
metadata: @config.metadata,
|
441
441
|
retry_policy: @config.retry_policy
|
442
442
|
|
443
443
|
@managed_identities_service_stub.call_rpc :list_domains, request, options: options do |response, operation|
|
@@ -505,7 +505,9 @@ module Google
|
|
505
505
|
options.apply_defaults timeout: @config.rpcs.get_domain.timeout,
|
506
506
|
metadata: metadata,
|
507
507
|
retry_policy: @config.rpcs.get_domain.retry_policy
|
508
|
-
|
508
|
+
|
509
|
+
options.apply_defaults timeout: @config.timeout,
|
510
|
+
metadata: @config.metadata,
|
509
511
|
retry_policy: @config.retry_policy
|
510
512
|
|
511
513
|
@managed_identities_service_stub.call_rpc :get_domain, request, options: options do |response, operation|
|
@@ -579,7 +581,9 @@ module Google
|
|
579
581
|
options.apply_defaults timeout: @config.rpcs.update_domain.timeout,
|
580
582
|
metadata: metadata,
|
581
583
|
retry_policy: @config.rpcs.update_domain.retry_policy
|
582
|
-
|
584
|
+
|
585
|
+
options.apply_defaults timeout: @config.timeout,
|
586
|
+
metadata: @config.metadata,
|
583
587
|
retry_policy: @config.retry_policy
|
584
588
|
|
585
589
|
@managed_identities_service_stub.call_rpc :update_domain, request, options: options do |response, operation|
|
@@ -647,7 +651,9 @@ module Google
|
|
647
651
|
options.apply_defaults timeout: @config.rpcs.delete_domain.timeout,
|
648
652
|
metadata: metadata,
|
649
653
|
retry_policy: @config.rpcs.delete_domain.retry_policy
|
650
|
-
|
654
|
+
|
655
|
+
options.apply_defaults timeout: @config.timeout,
|
656
|
+
metadata: @config.metadata,
|
651
657
|
retry_policy: @config.retry_policy
|
652
658
|
|
653
659
|
@managed_identities_service_stub.call_rpc :delete_domain, request, options: options do |response, operation|
|
@@ -717,7 +723,9 @@ module Google
|
|
717
723
|
options.apply_defaults timeout: @config.rpcs.attach_trust.timeout,
|
718
724
|
metadata: metadata,
|
719
725
|
retry_policy: @config.rpcs.attach_trust.retry_policy
|
720
|
-
|
726
|
+
|
727
|
+
options.apply_defaults timeout: @config.timeout,
|
728
|
+
metadata: @config.metadata,
|
721
729
|
retry_policy: @config.retry_policy
|
722
730
|
|
723
731
|
@managed_identities_service_stub.call_rpc :attach_trust, request, options: options do |response, operation|
|
@@ -791,7 +799,9 @@ module Google
|
|
791
799
|
options.apply_defaults timeout: @config.rpcs.reconfigure_trust.timeout,
|
792
800
|
metadata: metadata,
|
793
801
|
retry_policy: @config.rpcs.reconfigure_trust.retry_policy
|
794
|
-
|
802
|
+
|
803
|
+
options.apply_defaults timeout: @config.timeout,
|
804
|
+
metadata: @config.metadata,
|
795
805
|
retry_policy: @config.retry_policy
|
796
806
|
|
797
807
|
@managed_identities_service_stub.call_rpc :reconfigure_trust, request, options: options do |response, operation|
|
@@ -861,7 +871,9 @@ module Google
|
|
861
871
|
options.apply_defaults timeout: @config.rpcs.detach_trust.timeout,
|
862
872
|
metadata: metadata,
|
863
873
|
retry_policy: @config.rpcs.detach_trust.retry_policy
|
864
|
-
|
874
|
+
|
875
|
+
options.apply_defaults timeout: @config.timeout,
|
876
|
+
metadata: @config.metadata,
|
865
877
|
retry_policy: @config.retry_policy
|
866
878
|
|
867
879
|
@managed_identities_service_stub.call_rpc :detach_trust, request, options: options do |response, operation|
|
@@ -932,7 +944,9 @@ module Google
|
|
932
944
|
options.apply_defaults timeout: @config.rpcs.validate_trust.timeout,
|
933
945
|
metadata: metadata,
|
934
946
|
retry_policy: @config.rpcs.validate_trust.retry_policy
|
935
|
-
|
947
|
+
|
948
|
+
options.apply_defaults timeout: @config.timeout,
|
949
|
+
metadata: @config.metadata,
|
936
950
|
retry_policy: @config.retry_policy
|
937
951
|
|
938
952
|
@managed_identities_service_stub.call_rpc :validate_trust, request, options: options do |response, operation|
|
@@ -957,22 +971,21 @@ module Google
|
|
957
971
|
# Configuration can be applied globally to all clients, or to a single client
|
958
972
|
# on construction.
|
959
973
|
#
|
960
|
-
#
|
961
|
-
#
|
962
|
-
#
|
963
|
-
# to 20 seconds,
|
964
|
-
#
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
968
|
-
#
|
969
|
-
#
|
970
|
-
#
|
971
|
-
#
|
972
|
-
#
|
973
|
-
#
|
974
|
-
#
|
975
|
-
# end
|
974
|
+
# @example
|
975
|
+
#
|
976
|
+
# # Modify the global config, setting the timeout for
|
977
|
+
# # create_microsoft_ad_domain to 20 seconds,
|
978
|
+
# # and all remaining timeouts to 10 seconds.
|
979
|
+
# ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.configure do |config|
|
980
|
+
# config.timeout = 10.0
|
981
|
+
# config.rpcs.create_microsoft_ad_domain.timeout = 20.0
|
982
|
+
# end
|
983
|
+
#
|
984
|
+
# # Apply the above configuration only to a new client.
|
985
|
+
# client = ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.new do |config|
|
986
|
+
# config.timeout = 10.0
|
987
|
+
# config.rpcs.create_microsoft_ad_domain.timeout = 20.0
|
988
|
+
# end
|
976
989
|
#
|
977
990
|
# @!attribute [rw] endpoint
|
978
991
|
# 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-managed_identities-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
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
|