google-apis-oslogin_v1beta 0.7.0 → 0.8.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: bac2016df5ebea0a79c97e9242ca212dd1d54058626581963818a64aad0d8614
4
- data.tar.gz: ea45c20a92d312f8e08a7ed6aeb9b81a0681e553098ea2e02e487e5cdd2bcfe3
3
+ metadata.gz: 1b630b3a397ab20582fa9eb8d36c9a9a9283bcd00ce26c05836f4f6204690887
4
+ data.tar.gz: f6d41f1227dbbfd5dee64bcd2edfd093634ffef73ad5a73ce8a0f3097045bdc1
5
5
  SHA512:
6
- metadata.gz: 6224f912cf171395e438417b0d70a0484d829ff18f19cfce31b9fbc900a69fd96f2df8ce510545160cda652243253f85583772998a3fb00fc83a8fa8c49ab602
7
- data.tar.gz: 9783dacc090cf84ffb6d23a53fce6e9d17a660e524bc5be1c79dba889e0c80f611696a320d8475cc0ee270a9877162d7792ea41b72cbe35b306806a4868208ee
6
+ metadata.gz: 970bfd80be401cf97b37d42a932bf3186ce1a35b1430821ba4c9b3e3687bd9e0d7fdade81a168c58fd41a1934c8e8866d6052000753af418fe11e0f17d7e9b2b
7
+ data.tar.gz: 6966f28ce7a0281bcb7338c324c27b359272d57b03b3f2d7d002022e9eba1795d4cc09b5058e2446c09a43a3f7e14ccf98217bd427cd07021697ac5cac40b501
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-oslogin_v1beta
2
2
 
3
+ ### v0.8.0 (2021-08-04)
4
+
5
+ * Regenerated from discovery document revision 20210731
6
+
3
7
  ### v0.7.0 (2021-06-29)
4
8
 
5
9
  * Regenerated using generator version 0.4.0
@@ -80,6 +80,11 @@ module Google
80
80
  # @return [Array<Google::Apis::OsloginV1beta::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::OsloginV1beta::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::OsloginV1beta::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::OsloginV1beta::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::OsloginV1beta::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 OsloginV1beta
18
18
  # Version of the google-apis-oslogin_v1beta gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.8.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 = "20210501"
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::OsloginV1beta::PosixAccount, decorator: Google::Apis::OsloginV1beta::PosixAccount::Representation
75
93
 
94
+ collection :security_keys, as: 'securityKeys', class: Google::Apis::OsloginV1beta::SecurityKey, decorator: Google::Apis::OsloginV1beta::SecurityKey::Representation
95
+
76
96
  hash :ssh_public_keys, as: 'sshPublicKeys', class: Google::Apis::OsloginV1beta::SshPublicKey, decorator: Google::Apis::OsloginV1beta::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::OsloginV1beta::UniversalTwoFactor, decorator: Google::Apis::OsloginV1beta::UniversalTwoFactor::Representation
124
+
125
+ property :web_authn, as: 'webAuthn', class: Google::Apis::OsloginV1beta::WebAuthn, decorator: Google::Apis::OsloginV1beta::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_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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-07-05 00:00:00.000000000 Z
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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-oslogin_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []