google-apis-oslogin_v1beta 0.21.0 → 0.23.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e388c488b6277ec796809246ef3a385f884c4d00d07a8091a18eaa5a5199517
|
4
|
+
data.tar.gz: 694805b81df52b37637f512b9330cd84d0f6a34d7fa00510609d4ffb8f8523fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d09aec5203d9f75a45457084757c4e2065a79db5ff04ec0036eb203cd447630c48831e6884eee23b32b5b15a4cc00df63177d4e1368788f4af5ad31bcdc9ea56
|
7
|
+
data.tar.gz: 9436909d7747bfbb90d5ea34cc8cc14d3f1d20e6fcf3264e688d418220a385eed5d8f1da60da1b241b296813f3bc4bffeedfe30fd6ec2f050b45f92332aa9b15
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-oslogin_v1beta
|
2
2
|
|
3
|
+
### v0.23.0 (2023-10-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231001
|
6
|
+
|
7
|
+
### v0.22.0 (2023-09-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230903
|
10
|
+
|
3
11
|
### v0.21.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 OsloginV1beta
|
18
18
|
# Version of the google-apis-oslogin_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.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 = "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::OsloginV1beta::UniversalTwoFactor, decorator: Google::Apis::OsloginV1beta::UniversalTwoFactor::Representation
|
@@ -162,6 +162,41 @@ module Google
|
|
162
162
|
execute_or_queue_command(command, &block)
|
163
163
|
end
|
164
164
|
|
165
|
+
# Signs an SSH public key for a user to authenticate to an instance.
|
166
|
+
# @param [String] parent
|
167
|
+
# The parent project and zone for the signing request. This is needed to
|
168
|
+
# properly ensure per-organization ISS processing and potentially to provide for
|
169
|
+
# the possibility of zone-specific certificates used in the signing process.
|
170
|
+
# @param [Google::Apis::OsloginV1beta::SignSshPublicKeyRequest] sign_ssh_public_key_request_object
|
171
|
+
# @param [String] fields
|
172
|
+
# Selector specifying which fields to include in a partial response.
|
173
|
+
# @param [String] quota_user
|
174
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
175
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
176
|
+
# @param [Google::Apis::RequestOptions] options
|
177
|
+
# Request-specific options
|
178
|
+
#
|
179
|
+
# @yield [result, err] Result & error if block supplied
|
180
|
+
# @yieldparam result [Google::Apis::OsloginV1beta::SignSshPublicKeyResponse] parsed result object
|
181
|
+
# @yieldparam err [StandardError] error object if request failed
|
182
|
+
#
|
183
|
+
# @return [Google::Apis::OsloginV1beta::SignSshPublicKeyResponse]
|
184
|
+
#
|
185
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
186
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
187
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
188
|
+
def sign_location_ssh_public_key(parent, sign_ssh_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
189
|
+
command = make_simple_command(:post, 'v1beta/{+parent}:signSshPublicKey', options)
|
190
|
+
command.request_representation = Google::Apis::OsloginV1beta::SignSshPublicKeyRequest::Representation
|
191
|
+
command.request_object = sign_ssh_public_key_request_object
|
192
|
+
command.response_representation = Google::Apis::OsloginV1beta::SignSshPublicKeyResponse::Representation
|
193
|
+
command.response_class = Google::Apis::OsloginV1beta::SignSshPublicKeyResponse
|
194
|
+
command.params['parent'] = parent unless parent.nil?
|
195
|
+
command.query['fields'] = fields unless fields.nil?
|
196
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
197
|
+
execute_or_queue_command(command, &block)
|
198
|
+
end
|
199
|
+
|
165
200
|
# Signs an SSH public key for a user to authenticate to an instance.
|
166
201
|
# @param [String] parent
|
167
202
|
# The parent project and zone for the signing request. This is needed to
|
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.
|
4
|
+
version: 0.23.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
|
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_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.23.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: []
|
@@ -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 V1beta
|