google-cloud-os_login 2.0.2 → 2.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e6eda63eee1fb9cb36587dacaa0adde50d40dad2b452c072816a5db281a679a
4
- data.tar.gz: f9ba1a4c6e05818c9e0040207220bd5b32d7d85c13a1cd816254eb6746252fd3
3
+ metadata.gz: 8bb4107e97fa3ce0f4acf496ae6ec86dcb9eac8a268b6b25d9eebd36207396b8
4
+ data.tar.gz: 8a5f0531aa350ad59c50ca9c3392732178129aed861dd4b796ac9bc3d97f4163
5
5
  SHA512:
6
- metadata.gz: 9dac5c32c0681a3a94a3f5b87e16e26466db484bd37be561d46ba35c420eb72bb3f41b700e730e226ec915771b575ce0000e695866e1c77b3b8f6659352fe92e
7
- data.tar.gz: 0e19a2af54316e2595398890dae0c9febf081693f72ac5bd4dde031f9645a337bd0851d6a0e7cdb80eb3bc0f967c298d742231775eaeb4976e1535d972f18814
6
+ metadata.gz: 493fbd0381550fd3be3eca22bcfe0e8765d73e539ef43a25b702745cee04a4d920f4f0f65372a13d6ebb49e1d864feff8be90594214462626da8212c88db036d
7
+ data.tar.gz: 0abd9e6ab99e6589186f81e9681df8c1ecc89b6cdea6a21607843c6c042e50c5cb273f4e9bc8c3909cb0df2377180cceb9f5e286e38ad4440d789ae88caf3839
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.1.0"
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.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -64,7 +64,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: '3.0'
67
+ version: '3.2'
68
68
  required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  requirements:
70
70
  - - ">="