google-cloud-os_login 2.0.2 → 2.0.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: 2e6eda63eee1fb9cb36587dacaa0adde50d40dad2b452c072816a5db281a679a
4
- data.tar.gz: f9ba1a4c6e05818c9e0040207220bd5b32d7d85c13a1cd816254eb6746252fd3
3
+ metadata.gz: 50a348924b491c733d56e5f0dae7d0e6392cfdd62e042824f2669ace30e1e719
4
+ data.tar.gz: 27eb3493711ae4915f46dccd625c55ddb99edf24e41aab599e2988b892ff4a22
5
5
  SHA512:
6
- metadata.gz: 9dac5c32c0681a3a94a3f5b87e16e26466db484bd37be561d46ba35c420eb72bb3f41b700e730e226ec915771b575ce0000e695866e1c77b3b8f6659352fe92e
7
- data.tar.gz: 0e19a2af54316e2595398890dae0c9febf081693f72ac5bd4dde031f9645a337bd0851d6a0e7cdb80eb3bc0f967c298d742231775eaeb4976e1535d972f18814
6
+ metadata.gz: df209dff0130b0ca95b9e514cd78eb10783124cd0827833d48803a84f3d0d16bb06d222679127be11256d539fd08cd94721f96c01da61178a8b675e89c962ab5
7
+ data.tar.gz: ebe1297e0b4e4e9cf37774a1d27a2828f8b85ca08a86be031fc3dfafa1bb9fe020a7ceaa8733fb27020460ff5164e5dc769d82e601456bde25df94ff1d03db4c
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/oslogin.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/os_login"
39
+
40
+ client = Google::Cloud::OsLogin.os_login_service
41
+ request = ::Google::Cloud::OsLogin::V1::CreateSshPublicKeyRequest.new # (request fields as keyword arguments...)
42
+ response = client.create_ssh_public_key request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module OsLogin
23
- VERSION = "2.0.2"
23
+ VERSION = "2.0.3"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-os_login
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC