google-cloud-os_login-v1 0.4.2 → 0.4.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: e6140806dc2ce4fdf8bd921a10e52093ca1b6cca219cd87f75d4b5cef56b0152
|
4
|
+
data.tar.gz: 93fda8a0125fdb6c7c9d2cbaec03eb2a7ee8791ae97aae03d426cb92bb16a58d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2fb0549184ddac911b57cfad781db10db58e0887ba60b8bc21a883c56b48a495913f51018633bed5e42b86f63798b48dd1f1aea2acf4e5b88ab702f8258db39
|
7
|
+
data.tar.gz: 3caf15cba0a2554fb960c741e08b5852f7b20e55910931a9dce1e3e70cff75385420465df909315d2201ab74943cfe1dd758a77dba7d08de1f04783c1a8eb670
|
@@ -44,13 +44,12 @@ module Google
|
|
44
44
|
# See {::Google::Cloud::OsLogin::V1::OsLoginService::Client::Configuration}
|
45
45
|
# for a description of the configuration fields.
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# @example
|
48
48
|
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
# end
|
49
|
+
# # Modify the configuration for all OsLoginService clients
|
50
|
+
# ::Google::Cloud::OsLogin::V1::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
|
-
#
|
131
|
-
#
|
132
|
-
# To create a new OsLoginService client with the default
|
133
|
-
# configuration:
|
129
|
+
# @example
|
134
130
|
#
|
135
|
-
#
|
131
|
+
# # Create a client using the default configuration
|
132
|
+
# client = ::Google::Cloud::OsLogin::V1::OsLoginService::Client.new
|
136
133
|
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
# config.timeout = 10.0
|
142
|
-
# end
|
134
|
+
# # Create a client using a custom configuration
|
135
|
+
# client = ::Google::Cloud::OsLogin::V1::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
|
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.
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
#
|
620
|
-
#
|
621
|
-
#
|
622
|
-
# to 20 seconds,
|
623
|
-
#
|
624
|
-
#
|
625
|
-
#
|
626
|
-
#
|
627
|
-
#
|
628
|
-
#
|
629
|
-
#
|
630
|
-
#
|
631
|
-
#
|
632
|
-
#
|
633
|
-
#
|
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::V1::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::V1::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.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-os_login-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
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-
|
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
|