google-apis-oslogin_v1alpha 0.18.0 → 0.20.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: 0c973fe95de322d5950b50880178ec52f364407c9f878971b97d79a58412ca1b
|
4
|
+
data.tar.gz: '072991958ce002964383a47ecf0cc041f39ac8f7d257c8164b48675fa671da9d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65f9192909e4d7926c65c76157d5b0636ad9191bea150bfc863c920112a82c1f74a7ead56f3bd71284403e2d2ec6ee0c9e2fc43bc8cfa91799561f3fc7761b13
|
7
|
+
data.tar.gz: d2a8a380d47595b85482f9d0c7fac248823ce59a7c493d11cc1812675fa398603c8ed6ee6ebd46c39be3de2e1fc8d86036595ff244795ee10d1e4ccd16999fc2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-oslogin_v1alpha
|
2
2
|
|
3
|
+
### v0.20.0 (2023-08-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230729
|
6
|
+
|
7
|
+
### v0.19.0 (2023-02-26)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.12.0
|
10
|
+
|
3
11
|
### v0.18.0 (2022-10-27)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.11.0
|
@@ -221,6 +221,44 @@ module Google
|
|
221
221
|
end
|
222
222
|
end
|
223
223
|
|
224
|
+
#
|
225
|
+
class SignSshPublicKeyRequest
|
226
|
+
include Google::Apis::Core::Hashable
|
227
|
+
|
228
|
+
# The SSH public key to sign.
|
229
|
+
# Corresponds to the JSON property `sshPublicKey`
|
230
|
+
# @return [String]
|
231
|
+
attr_accessor :ssh_public_key
|
232
|
+
|
233
|
+
def initialize(**args)
|
234
|
+
update!(**args)
|
235
|
+
end
|
236
|
+
|
237
|
+
# Update properties of this object
|
238
|
+
def update!(**args)
|
239
|
+
@ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
#
|
244
|
+
class SignSshPublicKeyResponse
|
245
|
+
include Google::Apis::Core::Hashable
|
246
|
+
|
247
|
+
# The signed SSH public key to use in the SSH handshake.
|
248
|
+
# Corresponds to the JSON property `signedSshPublicKey`
|
249
|
+
# @return [String]
|
250
|
+
attr_accessor :signed_ssh_public_key
|
251
|
+
|
252
|
+
def initialize(**args)
|
253
|
+
update!(**args)
|
254
|
+
end
|
255
|
+
|
256
|
+
# Update properties of this object
|
257
|
+
def update!(**args)
|
258
|
+
@signed_ssh_public_key = args[:signed_ssh_public_key] if args.key?(:signed_ssh_public_key)
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
224
262
|
# The SSH public key information associated with a Google account.
|
225
263
|
class SshPublicKey
|
226
264
|
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.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230729"
|
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
|
|
@@ -127,6 +139,20 @@ module Google
|
|
127
139
|
end
|
128
140
|
end
|
129
141
|
|
142
|
+
class SignSshPublicKeyRequest
|
143
|
+
# @private
|
144
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
145
|
+
property :ssh_public_key, as: 'sshPublicKey'
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
class SignSshPublicKeyResponse
|
150
|
+
# @private
|
151
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
152
|
+
property :signed_ssh_public_key, as: 'signedSshPublicKey'
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
130
156
|
class SshPublicKey
|
131
157
|
# @private
|
132
158
|
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.20.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:
|
11
|
+
date: 2023-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.11.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.11.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.20.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.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud OS Login API V1alpha
|