google-cloud-os_login-v1 0.6.0 → 0.7.0
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 +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/os_login/v1/os_login_service/client.rb +12 -12
- data/lib/google/cloud/os_login/v1/os_login_service/rest/client.rb +817 -0
- data/lib/google/cloud/os_login/v1/os_login_service/rest/service_stub.rb +464 -0
- data/lib/google/cloud/os_login/v1/os_login_service/rest.rb +55 -0
- data/lib/google/cloud/os_login/v1/os_login_service.rb +7 -1
- data/lib/google/cloud/os_login/v1/rest.rb +37 -0
- data/lib/google/cloud/os_login/v1/version.rb +1 -1
- data/lib/google/cloud/os_login/v1.rb +7 -2
- data/proto_docs/google/cloud/oslogin/v1/oslogin.rb +12 -12
- metadata +12 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4c709002d1b400fba3a1c212af14736200d8d09e07e25f0add825e5c5802a68
|
4
|
+
data.tar.gz: 9eeeeee9acc498e7b00abfca8ea376b974cf9a513c02f97049557f2a1d5f28a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c74bca4bd419523a4a44f39bb76cb9a33f8c4dd5239d081a15237627448466c58274e62e429ee5cc134e71a4e83d478057529a87841ef99557acaa71e9e041a
|
7
|
+
data.tar.gz: 2913d6f6441c969cf2a6e48189b421cf9e4ba1c9e588f9c19bc78a00828db7f11bde22043e0b863b5491ddfa67470085dfa4285b548aace9c3b2b693bbc48d51
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Cloud OS Login V1 API
|
2
2
|
|
3
|
-
|
3
|
+
You can use OS Login to manage access to your VM instances using IAM roles.
|
4
4
|
|
5
5
|
Use OS Login to manage SSH access to your instances using IAM without having to create and manage individual SSH keys. OS Login maintains a consistent Linux user identity across VM instances and is the recommended way to manage many users across multiple instances or projects.
|
6
6
|
|
@@ -46,7 +46,7 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
50
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
@@ -283,9 +283,9 @@ module Google
|
|
283
283
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
284
284
|
#
|
285
285
|
# @param name [::String]
|
286
|
-
# Required. A reference to the POSIX account to update. POSIX accounts are
|
287
|
-
# by the project ID they are associated with. A reference to the
|
288
|
-
# account is in format `users/{user}/projects/{project}`.
|
286
|
+
# Required. A reference to the POSIX account to update. POSIX accounts are
|
287
|
+
# identified by the project ID they are associated with. A reference to the
|
288
|
+
# POSIX account is in format `users/{user}/projects/{project}`.
|
289
289
|
#
|
290
290
|
# @yield [response, operation] Access the result along with the RPC operation
|
291
291
|
# @yieldparam response [::Google::Protobuf::Empty]
|
@@ -370,9 +370,9 @@ module Google
|
|
370
370
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
371
371
|
#
|
372
372
|
# @param name [::String]
|
373
|
-
# Required. The fingerprint of the public key to update. Public keys are
|
374
|
-
# their SHA-256 fingerprint. The fingerprint of the public key
|
375
|
-
# `users/{user}/sshPublicKeys/{fingerprint}`.
|
373
|
+
# Required. The fingerprint of the public key to update. Public keys are
|
374
|
+
# identified by their SHA-256 fingerprint. The fingerprint of the public key
|
375
|
+
# is in format `users/{user}/sshPublicKeys/{fingerprint}`.
|
376
376
|
#
|
377
377
|
# @yield [response, operation] Access the result along with the RPC operation
|
378
378
|
# @yieldparam response [::Google::Protobuf::Empty]
|
@@ -547,9 +547,9 @@ module Google
|
|
547
547
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
548
548
|
#
|
549
549
|
# @param name [::String]
|
550
|
-
# Required. The fingerprint of the public key to retrieve. Public keys are
|
551
|
-
# by their SHA-256 fingerprint. The fingerprint of the public key
|
552
|
-
# format `users/{user}/sshPublicKeys/{fingerprint}`.
|
550
|
+
# Required. The fingerprint of the public key to retrieve. Public keys are
|
551
|
+
# identified by their SHA-256 fingerprint. The fingerprint of the public key
|
552
|
+
# is in format `users/{user}/sshPublicKeys/{fingerprint}`.
|
553
553
|
#
|
554
554
|
# @yield [response, operation] Access the result along with the RPC operation
|
555
555
|
# @yieldparam response [::Google::Cloud::OsLogin::Common::SshPublicKey]
|
@@ -726,9 +726,9 @@ module Google
|
|
726
726
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
727
727
|
#
|
728
728
|
# @param name [::String]
|
729
|
-
# Required. The fingerprint of the public key to update. Public keys are
|
730
|
-
# their SHA-256 fingerprint. The fingerprint of the public key
|
731
|
-
# `users/{user}/sshPublicKeys/{fingerprint}`.
|
729
|
+
# Required. The fingerprint of the public key to update. Public keys are
|
730
|
+
# identified by their SHA-256 fingerprint. The fingerprint of the public key
|
731
|
+
# is in format `users/{user}/sshPublicKeys/{fingerprint}`.
|
732
732
|
# @param ssh_public_key [::Google::Cloud::OsLogin::Common::SshPublicKey, ::Hash]
|
733
733
|
# Required. The SSH public key and expiration time.
|
734
734
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|