google-apis-oslogin_v1beta 0.10.0 → 0.11.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: a58da834960713582dcac75685b3eed953aacd7fb0f4b9b1c02034f35ce5dd06
4
- data.tar.gz: 3d605c22f6c289811633b311108f965ab2d095b50bb9ee12475817c969dd34af
3
+ metadata.gz: 41b078d414865819b8aa23dd737f92cad3f4c09e218e3b56e3e45a22c060505b
4
+ data.tar.gz: 8761d0b8e3d9b305d2865bbd6cd3eb8977a1bf237c1cc31444dad61dbd94fe1f
5
5
  SHA512:
6
- metadata.gz: 2084c5a0f810baaadcca44a3547e9583e0d6628b45d6323069c95ed48c1b2042da0770805dad84fc4ad977c294ef08b36a8298ec28c1de7206296669ca071101
7
- data.tar.gz: 3f2d15f485a0ff1f1150b851a7f6eea7a0d1eb33832d230ee1a7e3de5de05a9481f58a5c4ffca00072bf0cb0c133af2f64fc4f8de8c43f93696ef1eb3e58662b
6
+ metadata.gz: 284e16b7a1cb6abc7cbe8e7e167b5b6898c90061c87b81b299d149a9dd1185d351218fff8ed1827002f53e8d247e26dd1574fedeb1b7c332b1188906af0c6806
7
+ data.tar.gz: a0d6d3bad4c8dd5c6b2556a2f75bfa40e964ed67d2251e4156938392d766cf8e7dbaa8708dba7070d4fdcda6b32dabd1afa88048066dba2841a9a2641ab23bb6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-oslogin_v1beta
2
2
 
3
+ ### v0.11.0 (2021-10-30)
4
+
5
+ * Regenerated from discovery document revision 20211022
6
+
3
7
  ### v0.10.0 (2021-10-21)
4
8
 
5
9
  * Unspecified changes
@@ -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.10.0"
19
+ GEM_VERSION = "0.11.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 = "20211022"
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}/sshPublicKey', 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.10.0
4
+ version: 0.11.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-10-27 00:00:00.000000000 Z
11
+ date: 2021-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
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.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.11.0
62
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: []