google-cloud-os_login-v1beta 0.4.2 → 0.4.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: 55c509458a1e2e1f9891320c7355532f3f99a2277282f22d66ddb4f588830aa3
4
- data.tar.gz: d1e47c0108face760e9700c4e19bfd07525fd89acb461ad6faa844a817f864e0
3
+ metadata.gz: 52551dd58db75a33770335b0850515f41e9f7b3dcb5952f4417c68b838a38758
4
+ data.tar.gz: 25fb66e0c05607e8c9e196ec08cb038563b275526906b8714b59ecc769392785
5
5
  SHA512:
6
- metadata.gz: 88ffc58ff0e36d4e7c23110645dd5883992f37170bb84689ef1e91a3aaa9406f8b3ab1778b0abaf9f69a13f6445605a51c99876f49b9b8ebf3a7a4e11590871a
7
- data.tar.gz: cadc656e517b8ec9d6f25c26e26c632a684a454ee814424c3b2a2209351a30ed5c1aa99f2e16edb47bb3a24c3ed0843321fd55d74aa1c7a0277df3884f9df336
6
+ metadata.gz: 6ba2f3721a781015b4b25f104092e0919e06622e2f0afb04e6446bbbdd11e9a79f009d465a8be1caf36e2e3d7a69cea9861205221e852c2c11d0d0e2ee916eca
7
+ data.tar.gz: 42ebb0e0775157309a762cee503bf6e2fdb4046516ec3a144633dcda75aacbe44f8262818ec701a8fe1d309741e05465ad7b739a7255fe84dbce327a9003fc4f
@@ -44,13 +44,12 @@ module Google
44
44
  # See {::Google::Cloud::OsLogin::V1beta::OsLoginService::Client::Configuration}
45
45
  # for a description of the configuration fields.
46
46
  #
47
- # ## Example
47
+ # @example
48
48
  #
49
- # To modify the configuration for all OsLoginService clients:
50
- #
51
- # ::Google::Cloud::OsLogin::V1beta::OsLoginService::Client.configure do |config|
52
- # config.timeout = 10.0
53
- # end
49
+ # # Modify the configuration for all OsLoginService clients
50
+ # ::Google::Cloud::OsLogin::V1beta::OsLoginService::Client.configure do |config|
51
+ # config.timeout = 10.0
52
+ # end
54
53
  #
55
54
  # @yield [config] Configure the Client client.
56
55
  # @yieldparam config [Client::Configuration]
@@ -127,19 +126,15 @@ module Google
127
126
  ##
128
127
  # Create a new OsLoginService client object.
129
128
  #
130
- # ## Examples
131
- #
132
- # To create a new OsLoginService client with the default
133
- # configuration:
129
+ # @example
134
130
  #
135
- # client = ::Google::Cloud::OsLogin::V1beta::OsLoginService::Client.new
131
+ # # Create a client using the default configuration
132
+ # client = ::Google::Cloud::OsLogin::V1beta::OsLoginService::Client.new
136
133
  #
137
- # To create a new OsLoginService client with a custom
138
- # configuration:
139
- #
140
- # client = ::Google::Cloud::OsLogin::V1beta::OsLoginService::Client.new do |config|
141
- # config.timeout = 10.0
142
- # end
134
+ # # Create a client using a custom configuration
135
+ # client = ::Google::Cloud::OsLogin::V1beta::OsLoginService::Client.new do |config|
136
+ # config.timeout = 10.0
137
+ # end
143
138
  #
144
139
  # @yield [config] Configure the OsLoginService client.
145
140
  # @yieldparam config [Client::Configuration]
@@ -159,10 +154,9 @@ module Google
159
154
 
160
155
  # Create credentials
161
156
  credentials = @config.credentials
162
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
157
+ # Use self-signed JWT if the endpoint is unchanged from default,
163
158
  # but only if the default endpoint does not have a region prefix.
164
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
165
- @config.endpoint == Client.configure.endpoint &&
159
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
166
160
  !@config.endpoint.split(".").first.include?("-")
167
161
  credentials ||= Credentials.default scope: @config.scope,
168
162
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -240,7 +234,9 @@ module Google
240
234
  options.apply_defaults timeout: @config.rpcs.delete_posix_account.timeout,
241
235
  metadata: metadata,
242
236
  retry_policy: @config.rpcs.delete_posix_account.retry_policy
243
- options.apply_defaults metadata: @config.metadata,
237
+
238
+ options.apply_defaults timeout: @config.timeout,
239
+ metadata: @config.metadata,
244
240
  retry_policy: @config.retry_policy
245
241
 
246
242
  @os_login_service_stub.call_rpc :delete_posix_account, request, options: options do |response, operation|
@@ -308,7 +304,9 @@ module Google
308
304
  options.apply_defaults timeout: @config.rpcs.delete_ssh_public_key.timeout,
309
305
  metadata: metadata,
310
306
  retry_policy: @config.rpcs.delete_ssh_public_key.retry_policy
311
- options.apply_defaults metadata: @config.metadata,
307
+
308
+ options.apply_defaults timeout: @config.timeout,
309
+ metadata: @config.metadata,
312
310
  retry_policy: @config.retry_policy
313
311
 
314
312
  @os_login_service_stub.call_rpc :delete_ssh_public_key, request, options: options do |response, operation|
@@ -379,7 +377,9 @@ module Google
379
377
  options.apply_defaults timeout: @config.rpcs.get_login_profile.timeout,
380
378
  metadata: metadata,
381
379
  retry_policy: @config.rpcs.get_login_profile.retry_policy
382
- options.apply_defaults metadata: @config.metadata,
380
+
381
+ options.apply_defaults timeout: @config.timeout,
382
+ metadata: @config.metadata,
383
383
  retry_policy: @config.retry_policy
384
384
 
385
385
  @os_login_service_stub.call_rpc :get_login_profile, request, options: options do |response, operation|
@@ -447,7 +447,9 @@ module Google
447
447
  options.apply_defaults timeout: @config.rpcs.get_ssh_public_key.timeout,
448
448
  metadata: metadata,
449
449
  retry_policy: @config.rpcs.get_ssh_public_key.retry_policy
450
- options.apply_defaults metadata: @config.metadata,
450
+
451
+ options.apply_defaults timeout: @config.timeout,
452
+ metadata: @config.metadata,
451
453
  retry_policy: @config.retry_policy
452
454
 
453
455
  @os_login_service_stub.call_rpc :get_ssh_public_key, request, options: options do |response, operation|
@@ -519,7 +521,9 @@ module Google
519
521
  options.apply_defaults timeout: @config.rpcs.import_ssh_public_key.timeout,
520
522
  metadata: metadata,
521
523
  retry_policy: @config.rpcs.import_ssh_public_key.retry_policy
522
- options.apply_defaults metadata: @config.metadata,
524
+
525
+ options.apply_defaults timeout: @config.timeout,
526
+ metadata: @config.metadata,
523
527
  retry_policy: @config.retry_policy
524
528
 
525
529
  @os_login_service_stub.call_rpc :import_ssh_public_key, request, options: options do |response, operation|
@@ -592,7 +596,9 @@ module Google
592
596
  options.apply_defaults timeout: @config.rpcs.update_ssh_public_key.timeout,
593
597
  metadata: metadata,
594
598
  retry_policy: @config.rpcs.update_ssh_public_key.retry_policy
595
- options.apply_defaults metadata: @config.metadata,
599
+
600
+ options.apply_defaults timeout: @config.timeout,
601
+ metadata: @config.metadata,
596
602
  retry_policy: @config.retry_policy
597
603
 
598
604
  @os_login_service_stub.call_rpc :update_ssh_public_key, request, options: options do |response, operation|
@@ -616,22 +622,21 @@ module Google
616
622
  # Configuration can be applied globally to all clients, or to a single client
617
623
  # on construction.
618
624
  #
619
- # # Examples
620
- #
621
- # To modify the global config, setting the timeout for delete_posix_account
622
- # to 20 seconds, and all remaining timeouts to 10 seconds:
623
- #
624
- # ::Google::Cloud::OsLogin::V1beta::OsLoginService::Client.configure do |config|
625
- # config.timeout = 10.0
626
- # config.rpcs.delete_posix_account.timeout = 20.0
627
- # end
628
- #
629
- # To apply the above configuration only to a new client:
630
- #
631
- # client = ::Google::Cloud::OsLogin::V1beta::OsLoginService::Client.new do |config|
632
- # config.timeout = 10.0
633
- # config.rpcs.delete_posix_account.timeout = 20.0
634
- # end
625
+ # @example
626
+ #
627
+ # # Modify the global config, setting the timeout for
628
+ # # delete_posix_account to 20 seconds,
629
+ # # and all remaining timeouts to 10 seconds.
630
+ # ::Google::Cloud::OsLogin::V1beta::OsLoginService::Client.configure do |config|
631
+ # config.timeout = 10.0
632
+ # config.rpcs.delete_posix_account.timeout = 20.0
633
+ # end
634
+ #
635
+ # # Apply the above configuration only to a new client.
636
+ # client = ::Google::Cloud::OsLogin::V1beta::OsLoginService::Client.new do |config|
637
+ # config.timeout = 10.0
638
+ # config.rpcs.delete_posix_account.timeout = 20.0
639
+ # end
635
640
  #
636
641
  # @!attribute [rw] endpoint
637
642
  # The hostname or hostname:port of the service endpoint.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module OsLogin
23
23
  module V1beta
24
- VERSION = "0.4.2"
24
+ VERSION = "0.4.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-os_login-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.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