google-apis-oslogin_v1beta 0.6.0 → 0.10.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: f7efee779469679e84eb05351cff845464ec3bff4789577f87fb3f557ff60316
4
- data.tar.gz: 57634ef1ac42e40a9b17cdf7519a7db86c5eb8cddf995f874d1e0a4482f5202c
3
+ metadata.gz: a58da834960713582dcac75685b3eed953aacd7fb0f4b9b1c02034f35ce5dd06
4
+ data.tar.gz: 3d605c22f6c289811633b311108f965ab2d095b50bb9ee12475817c969dd34af
5
5
  SHA512:
6
- metadata.gz: 396498d4e21e0528f47a384f170e7a8553670475fa29f30207585e245b2c0d1eeb1e92352bc903aa6ab30bb21ba6a0ae37674fc4e2a32056b024ed37eb57e2a3
7
- data.tar.gz: 5e953d8ae5d2027e267ca0d50df0b2ee3759eaab47aab4a62ba0a7057738d56a1f7da07014999b959f0b8fde74d4ac438b8ffd9faf600dfd8ba2270010f057bf
6
+ metadata.gz: 2084c5a0f810baaadcca44a3547e9583e0d6628b45d6323069c95ed48c1b2042da0770805dad84fc4ad977c294ef08b36a8298ec28c1de7206296669ca071101
7
+ data.tar.gz: 3f2d15f485a0ff1f1150b851a7f6eea7a0d1eb33832d230ee1a7e3de5de05a9481f58a5c4ffca00072bf0cb0c133af2f64fc4f8de8c43f93696ef1eb3e58662b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-oslogin_v1beta
2
2
 
3
+ ### v0.10.0 (2021-10-21)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.9.0 (2021-08-19)
8
+
9
+ * Regenerated from discovery document revision 20210813
10
+
11
+ ### v0.8.0 (2021-08-04)
12
+
13
+ * Regenerated from discovery document revision 20210731
14
+
15
+ ### v0.7.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.6.0 (2021-06-24)
4
20
 
5
21
  * Regenerated using generator version 0.3.0
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Oslogin service in particular.)
67
67
 
@@ -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.6.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
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 = "20210813"
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
@@ -29,10 +29,10 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
- # View your data across Google Cloud Platform services
35
+ # View your data across Google Cloud services and see the email address of your Google Account
36
36
  AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
37
37
 
38
38
  # View and manage your Google Compute Engine resources
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.6.0
4
+ version: 0.10.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-06-28 00:00:00.000000000 Z
11
+ date: 2021-10-27 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.3'
19
+ version: '0.4'
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.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
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.6.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-oslogin_v1beta
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.10.0
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: []
65
65
  require_paths: