google-apis-oslogin_v1alpha 0.6.0 → 0.7.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: e30f73891b1c7f0ad82d0d628d5d5594bcc2c7912349fb96ce49861ccfe4f558
|
4
|
+
data.tar.gz: 613c96ee381c65e44efd85592912c57fcc85cc220f40ee379054e839196b9519
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b063fb7c142f8db91f1bed558d542a2c4ca32ae14a2a88c3be5647931815d52567f597d406a0519e9c66265fad3da923a2036e32a4d1a1654fb5098725df4c18
|
7
|
+
data.tar.gz: fb5017c2ef36bc0b38aacf441288eeb1620b06d163976f8839ed3a1bb77b66f4cf749f772a4cd15d64d6e244753c7c4b426fcc9a2b1e106442773067bcdfd8cc
|
data/CHANGELOG.md
CHANGED
@@ -80,6 +80,11 @@ module Google
|
|
80
80
|
# @return [Array<Google::Apis::OsloginV1alpha::PosixAccount>]
|
81
81
|
attr_accessor :posix_accounts
|
82
82
|
|
83
|
+
# The registered security key credentials for a user.
|
84
|
+
# Corresponds to the JSON property `securityKeys`
|
85
|
+
# @return [Array<Google::Apis::OsloginV1alpha::SecurityKey>]
|
86
|
+
attr_accessor :security_keys
|
87
|
+
|
83
88
|
# A map from SSH public key fingerprint to the associated key object.
|
84
89
|
# Corresponds to the JSON property `sshPublicKeys`
|
85
90
|
# @return [Hash<String,Google::Apis::OsloginV1alpha::SshPublicKey>]
|
@@ -93,6 +98,7 @@ module Google
|
|
93
98
|
def update!(**args)
|
94
99
|
@name = args[:name] if args.key?(:name)
|
95
100
|
@posix_accounts = args[:posix_accounts] if args.key?(:posix_accounts)
|
101
|
+
@security_keys = args[:security_keys] if args.key?(:security_keys)
|
96
102
|
@ssh_public_keys = args[:ssh_public_keys] if args.key?(:ssh_public_keys)
|
97
103
|
end
|
98
104
|
end
|
@@ -178,6 +184,44 @@ module Google
|
|
178
184
|
end
|
179
185
|
end
|
180
186
|
|
187
|
+
# The credential information for a Google registered security key.
|
188
|
+
class SecurityKey
|
189
|
+
include Google::Apis::Core::Hashable
|
190
|
+
|
191
|
+
# Hardware-backed private key text in SSH format.
|
192
|
+
# Corresponds to the JSON property `privateKey`
|
193
|
+
# @return [String]
|
194
|
+
attr_accessor :private_key
|
195
|
+
|
196
|
+
# Public key text in SSH format, defined by [RFC4253]("https://www.ietf.org/rfc/
|
197
|
+
# rfc4253.txt") section 6.6.
|
198
|
+
# Corresponds to the JSON property `publicKey`
|
199
|
+
# @return [String]
|
200
|
+
attr_accessor :public_key
|
201
|
+
|
202
|
+
# Security key information specific to the U2F protocol.
|
203
|
+
# Corresponds to the JSON property `universalTwoFactor`
|
204
|
+
# @return [Google::Apis::OsloginV1alpha::UniversalTwoFactor]
|
205
|
+
attr_accessor :universal_two_factor
|
206
|
+
|
207
|
+
# Security key information specific to the Web Authentication protocol.
|
208
|
+
# Corresponds to the JSON property `webAuthn`
|
209
|
+
# @return [Google::Apis::OsloginV1alpha::WebAuthn]
|
210
|
+
attr_accessor :web_authn
|
211
|
+
|
212
|
+
def initialize(**args)
|
213
|
+
update!(**args)
|
214
|
+
end
|
215
|
+
|
216
|
+
# Update properties of this object
|
217
|
+
def update!(**args)
|
218
|
+
@private_key = args[:private_key] if args.key?(:private_key)
|
219
|
+
@public_key = args[:public_key] if args.key?(:public_key)
|
220
|
+
@universal_two_factor = args[:universal_two_factor] if args.key?(:universal_two_factor)
|
221
|
+
@web_authn = args[:web_authn] if args.key?(:web_authn)
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
181
225
|
# The SSH public key information associated with a Google account.
|
182
226
|
class SshPublicKey
|
183
227
|
include Google::Apis::Core::Hashable
|
@@ -214,6 +258,44 @@ module Google
|
|
214
258
|
@name = args[:name] if args.key?(:name)
|
215
259
|
end
|
216
260
|
end
|
261
|
+
|
262
|
+
# Security key information specific to the U2F protocol.
|
263
|
+
class UniversalTwoFactor
|
264
|
+
include Google::Apis::Core::Hashable
|
265
|
+
|
266
|
+
# Application ID for the U2F protocol.
|
267
|
+
# Corresponds to the JSON property `appId`
|
268
|
+
# @return [String]
|
269
|
+
attr_accessor :app_id
|
270
|
+
|
271
|
+
def initialize(**args)
|
272
|
+
update!(**args)
|
273
|
+
end
|
274
|
+
|
275
|
+
# Update properties of this object
|
276
|
+
def update!(**args)
|
277
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
# Security key information specific to the Web Authentication protocol.
|
282
|
+
class WebAuthn
|
283
|
+
include Google::Apis::Core::Hashable
|
284
|
+
|
285
|
+
# Relying party ID for Web Authentication.
|
286
|
+
# Corresponds to the JSON property `rpId`
|
287
|
+
# @return [String]
|
288
|
+
attr_accessor :rp_id
|
289
|
+
|
290
|
+
def initialize(**args)
|
291
|
+
update!(**args)
|
292
|
+
end
|
293
|
+
|
294
|
+
# Update properties of this object
|
295
|
+
def update!(**args)
|
296
|
+
@rp_id = args[:rp_id] if args.key?(:rp_id)
|
297
|
+
end
|
298
|
+
end
|
217
299
|
end
|
218
300
|
end
|
219
301
|
end
|
@@ -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.7.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 = "
|
25
|
+
REVISION = "20210731"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,12 +46,30 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class SecurityKey
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class SshPublicKey
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
52
58
|
include Google::Apis::Core::JsonObjectSupport
|
53
59
|
end
|
54
60
|
|
61
|
+
class UniversalTwoFactor
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class WebAuthn
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
55
73
|
class Empty
|
56
74
|
# @private
|
57
75
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -73,6 +91,8 @@ module Google
|
|
73
91
|
property :name, as: 'name'
|
74
92
|
collection :posix_accounts, as: 'posixAccounts', class: Google::Apis::OsloginV1alpha::PosixAccount, decorator: Google::Apis::OsloginV1alpha::PosixAccount::Representation
|
75
93
|
|
94
|
+
collection :security_keys, as: 'securityKeys', class: Google::Apis::OsloginV1alpha::SecurityKey, decorator: Google::Apis::OsloginV1alpha::SecurityKey::Representation
|
95
|
+
|
76
96
|
hash :ssh_public_keys, as: 'sshPublicKeys', class: Google::Apis::OsloginV1alpha::SshPublicKey, decorator: Google::Apis::OsloginV1alpha::SshPublicKey::Representation
|
77
97
|
|
78
98
|
end
|
@@ -95,6 +115,18 @@ module Google
|
|
95
115
|
end
|
96
116
|
end
|
97
117
|
|
118
|
+
class SecurityKey
|
119
|
+
# @private
|
120
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
121
|
+
property :private_key, as: 'privateKey'
|
122
|
+
property :public_key, as: 'publicKey'
|
123
|
+
property :universal_two_factor, as: 'universalTwoFactor', class: Google::Apis::OsloginV1alpha::UniversalTwoFactor, decorator: Google::Apis::OsloginV1alpha::UniversalTwoFactor::Representation
|
124
|
+
|
125
|
+
property :web_authn, as: 'webAuthn', class: Google::Apis::OsloginV1alpha::WebAuthn, decorator: Google::Apis::OsloginV1alpha::WebAuthn::Representation
|
126
|
+
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
98
130
|
class SshPublicKey
|
99
131
|
# @private
|
100
132
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -104,6 +136,20 @@ module Google
|
|
104
136
|
property :name, as: 'name'
|
105
137
|
end
|
106
138
|
end
|
139
|
+
|
140
|
+
class UniversalTwoFactor
|
141
|
+
# @private
|
142
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
143
|
+
property :app_id, as: 'appId'
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
class WebAuthn
|
148
|
+
# @private
|
149
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
150
|
+
property :rp_id, as: 'rpId'
|
151
|
+
end
|
152
|
+
end
|
107
153
|
end
|
108
154
|
end
|
109
155
|
end
|
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.7.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-
|
11
|
+
date: 2021-08-09 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/master/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.7.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-oslogin_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|