google-apis-identitytoolkit_v2 0.15.0 → 0.16.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: 5d794517390b4ead950c937c6b6472e4bf4ee70a46aba6eac33f7a01df94b3a9
4
- data.tar.gz: ea3dc5b35c4f27684e8246de2b741a3cc983952f1d8724f467795ceecaf0a323
3
+ metadata.gz: c3477e06e8caecb30a30997a825c31d3220b54be01c5630b90e564cdcb4def35
4
+ data.tar.gz: 68880fc8325959665c1e820c7a7b5cee08845db705882a595699897786753fb2
5
5
  SHA512:
6
- metadata.gz: 13a682fdc7457d4d33355fca209d35573c4f7c66dcd8b48db21541e2c4b1d49fefca94401208820705eca83add92ce344ca06078f1ecc38ec9f9c45e1a628415
7
- data.tar.gz: b1b7846d9a63e396be1f86173459834f89d3201f059bc3bbecfe04ba1710fcafce3feeb5ac490ca814008d7ca738124edf313ac44efdeef0380cee1e7a8152cf
6
+ metadata.gz: 543c49611ea6b5241bc27b40c0a4cb30b3e9711f83fc81c461d95aa69af1e52f3cded09965897cade2f75c0e09e25368cc1adb5ed8c7ce1f7f54a121d7a52013
7
+ data.tar.gz: 39c7340fbf8d12ca241cf9c697df01b8dfcfd587a25461d1926cb3ecf2e151f759ac96bc50ccd961e3088c864dd7edba59a07923026c9e4eff3a620c0c65223a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-identitytoolkit_v2
2
2
 
3
+ ### v0.16.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231027
6
+
3
7
  ### v0.15.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230804
@@ -1233,40 +1233,6 @@ module Google
1233
1233
  end
1234
1234
  end
1235
1235
 
1236
- # Configuration for signing in users using passkeys.
1237
- class GoogleCloudIdentitytoolkitAdminV2PasskeyConfig
1238
- include Google::Apis::Core::Hashable
1239
-
1240
- # Required. The website or app origins associated with the customer's sites or
1241
- # apps. Only challenges signed from these origins will be allowed to sign in
1242
- # with passkeys.
1243
- # Corresponds to the JSON property `expectedOrigins`
1244
- # @return [Array<String>]
1245
- attr_accessor :expected_origins
1246
-
1247
- # Required. The name of the PasskeyConfig resource.
1248
- # Corresponds to the JSON property `name`
1249
- # @return [String]
1250
- attr_accessor :name
1251
-
1252
- # Required. The relying party ID for the purpose of passkeys verifications. This
1253
- # cannot be changed once created.
1254
- # Corresponds to the JSON property `rpId`
1255
- # @return [String]
1256
- attr_accessor :rp_id
1257
-
1258
- def initialize(**args)
1259
- update!(**args)
1260
- end
1261
-
1262
- # Update properties of this object
1263
- def update!(**args)
1264
- @expected_origins = args[:expected_origins] if args.key?(:expected_origins)
1265
- @name = args[:name] if args.key?(:name)
1266
- @rp_id = args[:rp_id] if args.key?(:rp_id)
1267
- end
1268
- end
1269
-
1270
1236
  # The configuration for the password policy on the project.
1271
1237
  class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig
1272
1238
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IdentitytoolkitV2
18
18
  # Version of the google-apis-identitytoolkit_v2 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.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 = "20230804"
25
+ REVISION = "20231027"
26
26
  end
27
27
  end
28
28
  end
@@ -238,12 +238,6 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
- class GoogleCloudIdentitytoolkitAdminV2PasskeyConfig
242
- class Representation < Google::Apis::Core::JsonRepresentation; end
243
-
244
- include Google::Apis::Core::JsonObjectSupport
245
- end
246
-
247
241
  class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig
248
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
243
 
@@ -953,15 +947,6 @@ module Google
953
947
  end
954
948
  end
955
949
 
956
- class GoogleCloudIdentitytoolkitAdminV2PasskeyConfig
957
- # @private
958
- class Representation < Google::Apis::Core::JsonRepresentation
959
- collection :expected_origins, as: 'expectedOrigins'
960
- property :name, as: 'name'
961
- property :rp_id, as: 'rpId'
962
- end
963
- end
964
-
965
950
  class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig
966
951
  # @private
967
952
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -298,37 +298,6 @@ module Google
298
298
  execute_or_queue_command(command, &block)
299
299
  end
300
300
 
301
- # Retrieve a passkey configuration for an Identity Toolkit project.
302
- # @param [String] name
303
- # Required. The resource name of the config, for example: 'projects/my-awesome-
304
- # project/passkeyConfig'.
305
- # @param [String] fields
306
- # Selector specifying which fields to include in a partial response.
307
- # @param [String] quota_user
308
- # Available to use for quota purposes for server-side applications. Can be any
309
- # arbitrary string assigned to a user, but should not exceed 40 characters.
310
- # @param [Google::Apis::RequestOptions] options
311
- # Request-specific options
312
- #
313
- # @yield [result, err] Result & error if block supplied
314
- # @yieldparam result [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig] parsed result object
315
- # @yieldparam err [StandardError] error object if request failed
316
- #
317
- # @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig]
318
- #
319
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
320
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
321
- # @raise [Google::Apis::AuthorizationError] Authorization is required
322
- def get_project_passkey_config(name, fields: nil, quota_user: nil, options: nil, &block)
323
- command = make_simple_command(:get, 'v2/{+name}', options)
324
- command.response_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig::Representation
325
- command.response_class = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig
326
- command.params['name'] = name unless name.nil?
327
- command.query['fields'] = fields unless fields.nil?
328
- command.query['quotaUser'] = quota_user unless quota_user.nil?
329
- execute_or_queue_command(command, &block)
330
- end
331
-
332
301
  # Update an Identity Toolkit project configuration.
333
302
  # @param [String] name
334
303
  # Output only. The name of the Config resource. Example: "projects/my-awesome-
@@ -369,45 +338,6 @@ module Google
369
338
  execute_or_queue_command(command, &block)
370
339
  end
371
340
 
372
- # Update a passkey configuration for an Identity Toolkit project.
373
- # @param [String] name
374
- # Required. The name of the PasskeyConfig resource.
375
- # @param [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig] google_cloud_identitytoolkit_admin_v2_passkey_config_object
376
- # @param [String] update_mask
377
- # Optional. The update mask applies to the resource. Empty update mask will
378
- # result in updating nothing. For the `FieldMask` definition, see https://
379
- # developers.google.com/protocol-buffers/docs/reference/google.protobuf#
380
- # fieldmask
381
- # @param [String] fields
382
- # Selector specifying which fields to include in a partial response.
383
- # @param [String] quota_user
384
- # Available to use for quota purposes for server-side applications. Can be any
385
- # arbitrary string assigned to a user, but should not exceed 40 characters.
386
- # @param [Google::Apis::RequestOptions] options
387
- # Request-specific options
388
- #
389
- # @yield [result, err] Result & error if block supplied
390
- # @yieldparam result [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig] parsed result object
391
- # @yieldparam err [StandardError] error object if request failed
392
- #
393
- # @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig]
394
- #
395
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
396
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
397
- # @raise [Google::Apis::AuthorizationError] Authorization is required
398
- def update_project_passkey_config(name, google_cloud_identitytoolkit_admin_v2_passkey_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
399
- command = make_simple_command(:patch, 'v2/{+name}', options)
400
- command.request_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig::Representation
401
- command.request_object = google_cloud_identitytoolkit_admin_v2_passkey_config_object
402
- command.response_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig::Representation
403
- command.response_class = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig
404
- command.params['name'] = name unless name.nil?
405
- command.query['updateMask'] = update_mask unless update_mask.nil?
406
- command.query['fields'] = fields unless fields.nil?
407
- command.query['quotaUser'] = quota_user unless quota_user.nil?
408
- execute_or_queue_command(command, &block)
409
- end
410
-
411
341
  # Create a default supported Idp configuration for an Identity Toolkit project.
412
342
  # @param [String] parent
413
343
  # The parent resource name where the config to be created, for example: "
@@ -1101,37 +1031,6 @@ module Google
1101
1031
  execute_or_queue_command(command, &block)
1102
1032
  end
1103
1033
 
1104
- # Retrieve a passkey configuration for an Identity Toolkit project.
1105
- # @param [String] name
1106
- # Required. The resource name of the config, for example: 'projects/my-awesome-
1107
- # project/passkeyConfig'.
1108
- # @param [String] fields
1109
- # Selector specifying which fields to include in a partial response.
1110
- # @param [String] quota_user
1111
- # Available to use for quota purposes for server-side applications. Can be any
1112
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1113
- # @param [Google::Apis::RequestOptions] options
1114
- # Request-specific options
1115
- #
1116
- # @yield [result, err] Result & error if block supplied
1117
- # @yieldparam result [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig] parsed result object
1118
- # @yieldparam err [StandardError] error object if request failed
1119
- #
1120
- # @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig]
1121
- #
1122
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1123
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1124
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1125
- def get_project_tenant_passkey_config(name, fields: nil, quota_user: nil, options: nil, &block)
1126
- command = make_simple_command(:get, 'v2/{+name}', options)
1127
- command.response_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig::Representation
1128
- command.response_class = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig
1129
- command.params['name'] = name unless name.nil?
1130
- command.query['fields'] = fields unless fields.nil?
1131
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1132
- execute_or_queue_command(command, &block)
1133
- end
1134
-
1135
1034
  # List tenants under the given agent project. Requires read permission on the
1136
1035
  # Agent project.
1137
1036
  # @param [String] parent
@@ -1283,45 +1182,6 @@ module Google
1283
1182
  execute_or_queue_command(command, &block)
1284
1183
  end
1285
1184
 
1286
- # Update a passkey configuration for an Identity Toolkit project.
1287
- # @param [String] name
1288
- # Required. The name of the PasskeyConfig resource.
1289
- # @param [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig] google_cloud_identitytoolkit_admin_v2_passkey_config_object
1290
- # @param [String] update_mask
1291
- # Optional. The update mask applies to the resource. Empty update mask will
1292
- # result in updating nothing. For the `FieldMask` definition, see https://
1293
- # developers.google.com/protocol-buffers/docs/reference/google.protobuf#
1294
- # fieldmask
1295
- # @param [String] fields
1296
- # Selector specifying which fields to include in a partial response.
1297
- # @param [String] quota_user
1298
- # Available to use for quota purposes for server-side applications. Can be any
1299
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1300
- # @param [Google::Apis::RequestOptions] options
1301
- # Request-specific options
1302
- #
1303
- # @yield [result, err] Result & error if block supplied
1304
- # @yieldparam result [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig] parsed result object
1305
- # @yieldparam err [StandardError] error object if request failed
1306
- #
1307
- # @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig]
1308
- #
1309
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1310
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1311
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1312
- def update_project_tenant_passkey_config(name, google_cloud_identitytoolkit_admin_v2_passkey_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1313
- command = make_simple_command(:patch, 'v2/{+name}', options)
1314
- command.request_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig::Representation
1315
- command.request_object = google_cloud_identitytoolkit_admin_v2_passkey_config_object
1316
- command.response_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig::Representation
1317
- command.response_class = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig
1318
- command.params['name'] = name unless name.nil?
1319
- command.query['updateMask'] = update_mask unless update_mask.nil?
1320
- command.query['fields'] = fields unless fields.nil?
1321
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1322
- execute_or_queue_command(command, &block)
1323
- end
1324
-
1325
1185
  # Create a default supported Idp configuration for an Identity Toolkit project.
1326
1186
  # @param [String] parent
1327
1187
  # The parent resource name where the config to be created, for example: "
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-identitytoolkit_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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-20 00:00:00.000000000 Z
11
+ date: 2023-11-05 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-identitytoolkit_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v2/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v2/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-identitytoolkit_v2
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.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Identity Toolkit API V2