google-cloud-managed_identities-v1 0.3.2 → 0.3.3

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: 90f590a9d3f126ff994b32d63dbacf33ee7d8208bc102ebcb94639ae5a431345
4
- data.tar.gz: b6d6f1500998a18d8b1946ca4ff9d9ff19fe5d3df5e60934f2511a05753862cb
3
+ metadata.gz: 3fc811fc7bc19b2d9d97d168ca8470522f5bc40891522f819d49439f7641dc11
4
+ data.tar.gz: 288644711a9fce0dac79fac608cbdfbed366e84e9ea61a2f7414ef8bf153f595
5
5
  SHA512:
6
- metadata.gz: 07b90af1c15be2925a50b498ba541cdbf63f12315fda3fb85d3edb9c184a806fb4a9b2ab0b0fb720e8bd7aabf0e74167faa287f8696c5a2d19fbab0e2678f008
7
- data.tar.gz: f2e33514285e3a47d0adac0c5645d4bd94389aa8db462f7f057d88ef9381538229f9215f1eaf7aac6f1e546c28cd69f2fe6cfa75ff62433c0f635e055cd4a744
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
- # ## Example
75
+ # @example
76
76
  #
77
- # To modify the configuration for all ManagedIdentitiesService clients:
78
- #
79
- # ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.configure do |config|
80
- # config.timeout = 10.0
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
- # ## Examples
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
- # To create a new ManagedIdentitiesService client with a custom
156
- # configuration:
149
+ # # Create a client using the default configuration
150
+ # client = ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.new
157
151
  #
158
- # client = ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.new do |config|
159
- # config.timeout = 10.0
160
- # end
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 scope and endpoint are unchanged from default,
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.scope == Client.configure.scope &&
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- # # Examples
961
- #
962
- # To modify the global config, setting the timeout for create_microsoft_ad_domain
963
- # to 20 seconds, and all remaining timeouts to 10 seconds:
964
- #
965
- # ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.configure do |config|
966
- # config.timeout = 10.0
967
- # config.rpcs.create_microsoft_ad_domain.timeout = 20.0
968
- # end
969
- #
970
- # To apply the above configuration only to a new client:
971
- #
972
- # client = ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.new do |config|
973
- # config.timeout = 10.0
974
- # config.rpcs.create_microsoft_ad_domain.timeout = 20.0
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- # # Examples
485
- #
486
- # To modify the global config, setting the timeout for list_operations
487
- # to 20 seconds, and all remaining timeouts to 10 seconds:
488
- #
489
- # ::Google::Longrunning::Operations::Client.configure do |config|
490
- # config.timeout = 10.0
491
- # config.rpcs.list_operations.timeout = 20.0
492
- # end
493
- #
494
- # To apply the above configuration only to a new client:
495
- #
496
- # client = ::Google::Longrunning::Operations::Client.new do |config|
497
- # config.timeout = 10.0
498
- # config.rpcs.list_operations.timeout = 20.0
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ManagedIdentities
23
23
  module V1
24
- VERSION = "0.3.2"
24
+ VERSION = "0.3.3"
25
25
  end
26
26
  end
27
27
  end
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.2
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-07-12 00:00:00.000000000 Z
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.5'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a