google-apis-oslogin_v1beta 0.9.0 → 0.13.0

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: bb9228b3e41a0fc34cdd05b80379fb3c93a894fefbc78d1ef11d2eba1821e867
4
- data.tar.gz: c89b9402c5a2c7346322c7a9b4047339250730dce69703b8d4b303d9826e859f
3
+ metadata.gz: e849ae7be12822c1e110f262503254c3e45d6eb0619fbf45de434ce74dccf6ba
4
+ data.tar.gz: de1a7254f85ab7e4b6401bdc39f05f7db5c8ddd25b76040489baef8bfe654923
5
5
  SHA512:
6
- metadata.gz: 2c589c7c54d52b965e6d74a7e351cbde2076025a52e2373e620fe15c39b0b1658e2e6a39bc2fc9dccdd84f1529d65594020e0e89637a216f5b056133bf7ed22a
7
- data.tar.gz: '08eb86513046cc3ee5880e0836720f88b03af409d9a43843a5f179bffbb6c9b9846dd77cab6c7c337ff1fe8a374c31393e7bbf7a39f4addb0f3fc49822458c63'
6
+ metadata.gz: 32b35cc75331f5be912cd868c62f5f1a71c95ff9fe5c934b73daced9bcc111abf9c2a1f31b012e7b882129573a9295a42cee47f5d5d0ed52f3a6b5aebdb67701
7
+ data.tar.gz: 8eb16dd3c03553115d1d1b7c0392b98c58a4d6ecd4e6dbab105b02b800568132facf985eb0e9d9f2189fb0c41ae275c0ce39e0d4a51ab8dd3feebcf8bd2464d9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-oslogin_v1beta
2
2
 
3
+ ### v0.13.0 (2021-12-14)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.12.0 (2021-12-09)
8
+
9
+ * Regenerated from discovery document revision 20211203
10
+
11
+ ### v0.11.0 (2021-10-30)
12
+
13
+ * Regenerated from discovery document revision 20211022
14
+
15
+ ### v0.10.0 (2021-10-21)
16
+
17
+ * Unspecified changes
18
+
3
19
  ### v0.9.0 (2021-08-19)
4
20
 
5
21
  * Regenerated from discovery document revision 20210813
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/oslogin_v1beta"
51
51
  client = Google::Apis::OsloginV1beta::CloudOSLoginService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Oslogin service in particular.)
67
67
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OsloginV1beta
18
18
  # Version of the google-apis-oslogin_v1beta gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210813"
25
+ REVISION = "20211203"
26
26
  end
27
27
  end
28
28
  end
@@ -162,6 +162,39 @@ module Google
162
162
  execute_or_queue_command(command, &block)
163
163
  end
164
164
 
165
+ # Create an SSH public key
166
+ # @param [String] parent
167
+ # Required. The unique ID for the user in format `users/`user``.
168
+ # @param [Google::Apis::OsloginV1beta::SshPublicKey] ssh_public_key_object
169
+ # @param [String] fields
170
+ # Selector specifying which fields to include in a partial response.
171
+ # @param [String] quota_user
172
+ # Available to use for quota purposes for server-side applications. Can be any
173
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
174
+ # @param [Google::Apis::RequestOptions] options
175
+ # Request-specific options
176
+ #
177
+ # @yield [result, err] Result & error if block supplied
178
+ # @yieldparam result [Google::Apis::OsloginV1beta::SshPublicKey] parsed result object
179
+ # @yieldparam err [StandardError] error object if request failed
180
+ #
181
+ # @return [Google::Apis::OsloginV1beta::SshPublicKey]
182
+ #
183
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
184
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
185
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
186
+ def create_user_ssh_public_key(parent, ssh_public_key_object = nil, fields: nil, quota_user: nil, options: nil, &block)
187
+ command = make_simple_command(:post, 'v1beta/{+parent}/sshPublicKeys', options)
188
+ command.request_representation = Google::Apis::OsloginV1beta::SshPublicKey::Representation
189
+ command.request_object = ssh_public_key_object
190
+ command.response_representation = Google::Apis::OsloginV1beta::SshPublicKey::Representation
191
+ command.response_class = Google::Apis::OsloginV1beta::SshPublicKey
192
+ command.params['parent'] = parent unless parent.nil?
193
+ command.query['fields'] = fields unless fields.nil?
194
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
195
+ execute_or_queue_command(command, &block)
196
+ end
197
+
165
198
  # Deletes an SSH public key.
166
199
  # @param [String] name
167
200
  # Required. The fingerprint of the public key to update. Public keys are
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-oslogin_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.13.0
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-08-23 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-oslogin_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.9.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-oslogin_v1beta
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1beta/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.13.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud OS Login API V1beta