google-apis-oslogin_v1 0.9.0 → 0.10.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: 7b13e9aacc11681a22def9a95c410aeabaf15509e9727f4cf15cc3400db9a391
4
- data.tar.gz: '0994e7740ce74af39d966a613c67a4bbce8441fd252a8682c208970fae2bc6b6'
3
+ metadata.gz: fe3a8b049dbbb35931bb6e537404800fc4bd465e384a28739217e519dd98e747
4
+ data.tar.gz: 9d3fdc77b1118494d569ce33b0e7a02c00543b7d74c167d2bdc4835e68258485
5
5
  SHA512:
6
- metadata.gz: add7405b8c32aa8806b9fdf1f5e9da424f514340c5136a97e84de277ff366a82a5e31561ea961c02181e4da1c189623c21c4872934bfad566e484d9ebcc04790
7
- data.tar.gz: deac9cbacdb3478f333f4337285417776326f4305cf1da3938ed74a8a4c691dfb36a0ee789f7bff817c2699f09e01542bd15da12a091412247a5cce90f6391fa
6
+ metadata.gz: 6c2b980938e133c228ae76452e8d9f6ffb6609d495d2d743c6a31471ce28ae900bca5b9c8a291ecedb4bb1a360449f0b1bc6aef19df5be60effcaffa9d542e00
7
+ data.tar.gz: 6fdee99fe88eb1a7661089ecd73c2449f56345f16fef19546a110e314e1fb9f4eb8620a08243284ec088023fea0afe0898fbeb19847bf221f378b230c835e2a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-oslogin_v1
2
2
 
3
+ ### v0.10.0 (2021-10-30)
4
+
5
+ * Regenerated from discovery document revision 20211022
6
+
3
7
  ### v0.9.0 (2021-10-21)
4
8
 
5
9
  * Unspecified changes
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OsloginV1
18
18
  # Version of the google-apis-oslogin_v1 gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.10.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 = "20210920"
25
+ REVISION = "20211022"
26
26
  end
27
27
  end
28
28
  end
@@ -156,6 +156,39 @@ module Google
156
156
  execute_or_queue_command(command, &block)
157
157
  end
158
158
 
159
+ # Create an SSH public key
160
+ # @param [String] parent
161
+ # Required. The unique ID for the user in format `users/`user``.
162
+ # @param [Google::Apis::OsloginV1::SshPublicKey] ssh_public_key_object
163
+ # @param [String] fields
164
+ # Selector specifying which fields to include in a partial response.
165
+ # @param [String] quota_user
166
+ # Available to use for quota purposes for server-side applications. Can be any
167
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
168
+ # @param [Google::Apis::RequestOptions] options
169
+ # Request-specific options
170
+ #
171
+ # @yield [result, err] Result & error if block supplied
172
+ # @yieldparam result [Google::Apis::OsloginV1::SshPublicKey] parsed result object
173
+ # @yieldparam err [StandardError] error object if request failed
174
+ #
175
+ # @return [Google::Apis::OsloginV1::SshPublicKey]
176
+ #
177
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
178
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
179
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
180
+ def create_user_ssh_public_key(parent, ssh_public_key_object = nil, fields: nil, quota_user: nil, options: nil, &block)
181
+ command = make_simple_command(:post, 'v1/{+parent}/sshPublicKey', options)
182
+ command.request_representation = Google::Apis::OsloginV1::SshPublicKey::Representation
183
+ command.request_object = ssh_public_key_object
184
+ command.response_representation = Google::Apis::OsloginV1::SshPublicKey::Representation
185
+ command.response_class = Google::Apis::OsloginV1::SshPublicKey
186
+ command.params['parent'] = parent unless parent.nil?
187
+ command.query['fields'] = fields unless fields.nil?
188
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
189
+ execute_or_queue_command(command, &block)
190
+ end
191
+
159
192
  # Deletes an SSH public key.
160
193
  # @param [String] name
161
194
  # 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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1
63
63
  post_install_message:
64
64
  rdoc_options: []