google-apis-oslogin_v1alpha 0.19.0 → 0.21.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 988d1c9babb972bb2b423915e665e2af70909a6cdbeb33878fffb2295682b9ff
|
4
|
+
data.tar.gz: 90fad3ea9ecb769f60cc5c5bf7f94f0eb8da83211f8ba3b9cffedee337cd3b95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a87e3ac63baceff100ba721ff4008319bd6c1b1fb79e8330bdcf539be069c0afd305bf06842b9486e60fab54f364a7db06b6f8cd489b890b6065c1136f8eb761
|
7
|
+
data.tar.gz: 0be5856e83e97a2efb955a874ead2828d09a08f5a4ef0042ed62a4f83328d2ce9cc8bc5b0a73b69d0e4c4383f3119332a181730a5e4563cbfcbdb7fb1767a50e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-oslogin_v1alpha
|
2
2
|
|
3
|
+
### v0.21.0 (2023-09-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230903
|
6
|
+
|
7
|
+
### v0.20.0 (2023-08-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230729
|
10
|
+
|
3
11
|
### v0.19.0 (2023-02-26)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.12.0
|
@@ -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)
|
@@ -221,6 +227,44 @@ module Google
|
|
221
227
|
end
|
222
228
|
end
|
223
229
|
|
230
|
+
#
|
231
|
+
class SignSshPublicKeyRequest
|
232
|
+
include Google::Apis::Core::Hashable
|
233
|
+
|
234
|
+
# The SSH public key to sign.
|
235
|
+
# Corresponds to the JSON property `sshPublicKey`
|
236
|
+
# @return [String]
|
237
|
+
attr_accessor :ssh_public_key
|
238
|
+
|
239
|
+
def initialize(**args)
|
240
|
+
update!(**args)
|
241
|
+
end
|
242
|
+
|
243
|
+
# Update properties of this object
|
244
|
+
def update!(**args)
|
245
|
+
@ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
#
|
250
|
+
class SignSshPublicKeyResponse
|
251
|
+
include Google::Apis::Core::Hashable
|
252
|
+
|
253
|
+
# The signed SSH public key to use in the SSH handshake.
|
254
|
+
# Corresponds to the JSON property `signedSshPublicKey`
|
255
|
+
# @return [String]
|
256
|
+
attr_accessor :signed_ssh_public_key
|
257
|
+
|
258
|
+
def initialize(**args)
|
259
|
+
update!(**args)
|
260
|
+
end
|
261
|
+
|
262
|
+
# Update properties of this object
|
263
|
+
def update!(**args)
|
264
|
+
@signed_ssh_public_key = args[:signed_ssh_public_key] if args.key?(:signed_ssh_public_key)
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
224
268
|
# The SSH public key information associated with a Google account.
|
225
269
|
class SshPublicKey
|
226
270
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.21.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 = "
|
25
|
+
REVISION = "20230903"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,18 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class SignSshPublicKeyRequest
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class SignSshPublicKeyResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
55
67
|
class SshPublicKey
|
56
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
69
|
|
@@ -118,6 +130,7 @@ module Google
|
|
118
130
|
class SecurityKey
|
119
131
|
# @private
|
120
132
|
class Representation < Google::Apis::Core::JsonRepresentation
|
133
|
+
property :device_nickname, as: 'deviceNickname'
|
121
134
|
property :private_key, as: 'privateKey'
|
122
135
|
property :public_key, as: 'publicKey'
|
123
136
|
property :universal_two_factor, as: 'universalTwoFactor', class: Google::Apis::OsloginV1alpha::UniversalTwoFactor, decorator: Google::Apis::OsloginV1alpha::UniversalTwoFactor::Representation
|
@@ -127,6 +140,20 @@ module Google
|
|
127
140
|
end
|
128
141
|
end
|
129
142
|
|
143
|
+
class SignSshPublicKeyRequest
|
144
|
+
# @private
|
145
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
146
|
+
property :ssh_public_key, as: 'sshPublicKey'
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
class SignSshPublicKeyResponse
|
151
|
+
# @private
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
153
|
+
property :signed_ssh_public_key, as: 'signedSshPublicKey'
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
130
157
|
class SshPublicKey
|
131
158
|
# @private
|
132
159
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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_zone_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
|
# Create an SSH public key
|
172
208
|
# @param [String] parent
|
173
209
|
# Required. The unique ID for the user in format `users/`user``.
|
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.
|
4
|
+
version: 0.21.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-
|
11
|
+
date: 2023-09-10 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.21.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.
|
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
|