google-apis-oslogin_v1alpha 0.20.0 → 0.22.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: 0c973fe95de322d5950b50880178ec52f364407c9f878971b97d79a58412ca1b
4
- data.tar.gz: '072991958ce002964383a47ecf0cc041f39ac8f7d257c8164b48675fa671da9d'
3
+ metadata.gz: 319316d9fd13a1a59b9c0b64a9c7255193d46b1153677a0158459955f1ed298e
4
+ data.tar.gz: b21c4041d9e87fe5324c56049e5b85e8427d02607e8e37c309661891e8149839
5
5
  SHA512:
6
- metadata.gz: 65f9192909e4d7926c65c76157d5b0636ad9191bea150bfc863c920112a82c1f74a7ead56f3bd71284403e2d2ec6ee0c9e2fc43bc8cfa91799561f3fc7761b13
7
- data.tar.gz: d2a8a380d47595b85482f9d0c7fac248823ce59a7c493d11cc1812675fa398603c8ed6ee6ebd46c39be3de2e1fc8d86036595ff244795ee10d1e4ccd16999fc2
6
+ metadata.gz: 74626fd19060ad5185de41d68fd15f223e1233ed920d355405c0eb5006b3da63be3c02d6a80b9f7abb7118016889c198a3386509cb3c4e512548667e9d8a49c2
7
+ data.tar.gz: e9c664cfde90c064464a51e45854986934c39e391d219d53128e154780813ce34210d3ea6c6a568b0b8c22fe599a7f9e39b0fa440cad275eeca1c57380b39de8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-oslogin_v1alpha
2
2
 
3
+ ### v0.22.0 (2023-10-08)
4
+
5
+ * Regenerated from discovery document revision 20231001
6
+
7
+ ### v0.21.0 (2023-09-10)
8
+
9
+ * Regenerated from discovery document revision 20230903
10
+
3
11
  ### v0.20.0 (2023-08-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20230729
@@ -187,6 +187,11 @@ module Google
187
187
  class SecurityKey
188
188
  include Google::Apis::Core::Hashable
189
189
 
190
+ # The security key nickname explicitly set by the user.
191
+ # Corresponds to the JSON property `deviceNickname`
192
+ # @return [String]
193
+ attr_accessor :device_nickname
194
+
190
195
  # Hardware-backed private key text in SSH format.
191
196
  # Corresponds to the JSON property `privateKey`
192
197
  # @return [String]
@@ -214,6 +219,7 @@ module Google
214
219
 
215
220
  # Update properties of this object
216
221
  def update!(**args)
222
+ @device_nickname = args[:device_nickname] if args.key?(:device_nickname)
217
223
  @private_key = args[:private_key] if args.key?(:private_key)
218
224
  @public_key = args[:public_key] if args.key?(:public_key)
219
225
  @universal_two_factor = args[:universal_two_factor] if args.key?(:universal_two_factor)
@@ -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.20.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230729"
25
+ REVISION = "20231001"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,7 @@ module Google
130
130
  class SecurityKey
131
131
  # @private
132
132
  class Representation < Google::Apis::Core::JsonRepresentation
133
+ property :device_nickname, as: 'deviceNickname'
133
134
  property :private_key, as: 'privateKey'
134
135
  property :public_key, as: 'publicKey'
135
136
  property :universal_two_factor, as: 'universalTwoFactor', class: Google::Apis::OsloginV1alpha::UniversalTwoFactor, decorator: Google::Apis::OsloginV1alpha::UniversalTwoFactor::Representation
@@ -168,6 +168,42 @@ module Google
168
168
  execute_or_queue_command(command, &block)
169
169
  end
170
170
 
171
+ # Signs an SSH public key for a user to authenticate to a virtual machine on
172
+ # Google Compute Engine.
173
+ # @param [String] parent
174
+ # The parent project and zone for the signing request. This is needed to
175
+ # properly ensure per-organization ISS processing and potentially to provide for
176
+ # the possibility of zone-specific certificates used in the signing process.
177
+ # @param [Google::Apis::OsloginV1alpha::SignSshPublicKeyRequest] sign_ssh_public_key_request_object
178
+ # @param [String] fields
179
+ # Selector specifying which fields to include in a partial response.
180
+ # @param [String] quota_user
181
+ # Available to use for quota purposes for server-side applications. Can be any
182
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
183
+ # @param [Google::Apis::RequestOptions] options
184
+ # Request-specific options
185
+ #
186
+ # @yield [result, err] Result & error if block supplied
187
+ # @yieldparam result [Google::Apis::OsloginV1alpha::SignSshPublicKeyResponse] parsed result object
188
+ # @yieldparam err [StandardError] error object if request failed
189
+ #
190
+ # @return [Google::Apis::OsloginV1alpha::SignSshPublicKeyResponse]
191
+ #
192
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
193
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
194
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
195
+ def sign_location_ssh_public_key(parent, sign_ssh_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
196
+ command = make_simple_command(:post, 'v1alpha/{+parent}:signSshPublicKey', options)
197
+ command.request_representation = Google::Apis::OsloginV1alpha::SignSshPublicKeyRequest::Representation
198
+ command.request_object = sign_ssh_public_key_request_object
199
+ command.response_representation = Google::Apis::OsloginV1alpha::SignSshPublicKeyResponse::Representation
200
+ command.response_class = Google::Apis::OsloginV1alpha::SignSshPublicKeyResponse
201
+ command.params['parent'] = parent unless parent.nil?
202
+ command.query['fields'] = fields unless fields.nil?
203
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
204
+ execute_or_queue_command(command, &block)
205
+ end
206
+
171
207
  # Signs an SSH public key for a user to authenticate to a virtual machine on
172
208
  # Google Compute Engine.
173
209
  # @param [String] parent
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.20.0
4
+ version: 0.22.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: 2023-08-06 00:00:00.000000000 Z
11
+ date: 2023-10-08 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.22.0
62
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: []
@@ -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.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud OS Login API V1alpha