google-apis-oslogin_v1alpha 0.8.0 → 0.9.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: 40bc03d021f37a6958d22534e9e7dc3721b7929030c3ff32687ffe182350ffc5
4
- data.tar.gz: 6da294b43aaa2380a3996afc17100d1141c94613c82530dce558d2dc6a11f83f
3
+ metadata.gz: 2c4777af7a60eccf0ee6b6f4b4a1895376f9035aeed80b397b4c662d63c93cd4
4
+ data.tar.gz: 54be5539f208ebd33714c5c424e9dec872b89ae6294e2caf16774577828765aa
5
5
  SHA512:
6
- metadata.gz: a4879930b61a5331f9365cdf6cdb78ac649186204b253f17a355bba30397aa768521a732cb9489860f2a60d50baf5d1d4f4ece0743163a811dd69978a57568a7
7
- data.tar.gz: 07c97d59aaaf49936bf8a01274711a97faefe6b8d33fc3d83cc7aaa1094b9d00ad7ef0fd462ba801a50f1fd4bb3c3df4d48f1864f43a90d21be7df873956771a
6
+ metadata.gz: 76e671412083bf877823050447184d852e9c9cc6b7a5a12c01536f6d6f2fdaa1d2c3ef3bdc9405a1246dc25106e071e8bcb0afde0c18d8b000df7edc5b8ee405
7
+ data.tar.gz: 47d733e6472a71e21dedbed639b1281769ef87a13eab7fda105f77c717ea7092d61b736427e52096d9b07c101448df13b02477e5975dd1a6bb46a2887b664e3d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-oslogin_v1alpha
2
2
 
3
+ ### v0.9.0 (2021-10-21)
4
+
5
+ * Regenerated from discovery document revision 20211015
6
+
3
7
  ### v0.8.0 (2021-08-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20210813
data/OVERVIEW.md CHANGED
@@ -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 OsloginV1alpha
18
18
  # Version of the google-apis-oslogin_v1alpha gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.9.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 = "20211015"
26
26
  end
27
27
  end
28
28
  end
@@ -168,6 +168,39 @@ module Google
168
168
  execute_or_queue_command(command, &block)
169
169
  end
170
170
 
171
+ # Create an SSH public key
172
+ # @param [String] parent
173
+ # Required. The unique ID for the user in format `users/`user``.
174
+ # @param [Google::Apis::OsloginV1alpha::SshPublicKey] ssh_public_key_object
175
+ # @param [String] fields
176
+ # Selector specifying which fields to include in a partial response.
177
+ # @param [String] quota_user
178
+ # Available to use for quota purposes for server-side applications. Can be any
179
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
180
+ # @param [Google::Apis::RequestOptions] options
181
+ # Request-specific options
182
+ #
183
+ # @yield [result, err] Result & error if block supplied
184
+ # @yieldparam result [Google::Apis::OsloginV1alpha::SshPublicKey] parsed result object
185
+ # @yieldparam err [StandardError] error object if request failed
186
+ #
187
+ # @return [Google::Apis::OsloginV1alpha::SshPublicKey]
188
+ #
189
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
190
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
191
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
192
+ def create_user_ssh_public_key(parent, ssh_public_key_object = nil, fields: nil, quota_user: nil, options: nil, &block)
193
+ command = make_simple_command(:post, 'v1alpha/{+parent}/sshPublicKey', options)
194
+ command.request_representation = Google::Apis::OsloginV1alpha::SshPublicKey::Representation
195
+ command.request_object = ssh_public_key_object
196
+ command.response_representation = Google::Apis::OsloginV1alpha::SshPublicKey::Representation
197
+ command.response_class = Google::Apis::OsloginV1alpha::SshPublicKey
198
+ command.params['parent'] = parent unless parent.nil?
199
+ command.query['fields'] = fields unless fields.nil?
200
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
201
+ execute_or_queue_command(command, &block)
202
+ end
203
+
171
204
  # Deletes an SSH public key.
172
205
  # @param [String] name
173
206
  # 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_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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: 2021-10-27 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-oslogin_v1alpha
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1alpha/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.9.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: