google-apis-identitytoolkit_v2 0.13.0 → 0.15.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/identitytoolkit_v2/classes.rb +67 -20
- data/lib/google/apis/identitytoolkit_v2/gem_version.rb +2 -2
- data/lib/google/apis/identitytoolkit_v2/representations.rb +17 -0
- data/lib/google/apis/identitytoolkit_v2/service.rb +140 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d794517390b4ead950c937c6b6472e4bf4ee70a46aba6eac33f7a01df94b3a9
|
4
|
+
data.tar.gz: ea3dc5b35c4f27684e8246de2b741a3cc983952f1d8724f467795ceecaf0a323
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13a682fdc7457d4d33355fca209d35573c4f7c66dcd8b48db21541e2c4b1d49fefca94401208820705eca83add92ce344ca06078f1ecc38ec9f9c45e1a628415
|
7
|
+
data.tar.gz: b1b7846d9a63e396be1f86173459834f89d3201f059bc3bbecfe04ba1710fcafce3feeb5ac490ca814008d7ca738124edf313ac44efdeef0380cee1e7a8152cf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-identitytoolkit_v2
|
2
2
|
|
3
|
+
### v0.15.0 (2023-08-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230804
|
6
|
+
|
7
|
+
### v0.14.0 (2023-07-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230707
|
10
|
+
|
3
11
|
### v0.13.0 (2023-06-04)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230531
|
@@ -1233,6 +1233,40 @@ 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
|
+
|
1236
1270
|
# The configuration for the password policy on the project.
|
1237
1271
|
class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig
|
1238
1272
|
include Google::Apis::Core::Hashable
|
@@ -2417,6 +2451,17 @@ module Google
|
|
2417
2451
|
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2CustomStrengthOptions]
|
2418
2452
|
attr_accessor :custom_strength_options
|
2419
2453
|
|
2454
|
+
# Output only. Which enforcement mode to use for the password policy.
|
2455
|
+
# Corresponds to the JSON property `enforcementState`
|
2456
|
+
# @return [String]
|
2457
|
+
attr_accessor :enforcement_state
|
2458
|
+
|
2459
|
+
# Users must have a password compliant with the password policy to sign-in.
|
2460
|
+
# Corresponds to the JSON property `forceUpgradeOnSignin`
|
2461
|
+
# @return [Boolean]
|
2462
|
+
attr_accessor :force_upgrade_on_signin
|
2463
|
+
alias_method :force_upgrade_on_signin?, :force_upgrade_on_signin
|
2464
|
+
|
2420
2465
|
# Output only. schema version number for the password policy
|
2421
2466
|
# Corresponds to the JSON property `schemaVersion`
|
2422
2467
|
# @return [Fixnum]
|
@@ -2430,6 +2475,8 @@ module Google
|
|
2430
2475
|
def update!(**args)
|
2431
2476
|
@allowed_non_alphanumeric_characters = args[:allowed_non_alphanumeric_characters] if args.key?(:allowed_non_alphanumeric_characters)
|
2432
2477
|
@custom_strength_options = args[:custom_strength_options] if args.key?(:custom_strength_options)
|
2478
|
+
@enforcement_state = args[:enforcement_state] if args.key?(:enforcement_state)
|
2479
|
+
@force_upgrade_on_signin = args[:force_upgrade_on_signin] if args.key?(:force_upgrade_on_signin)
|
2433
2480
|
@schema_version = args[:schema_version] if args.key?(:schema_version)
|
2434
2481
|
end
|
2435
2482
|
end
|
@@ -3086,22 +3133,22 @@ module Google
|
|
3086
3133
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
3087
3134
|
# the request, the resource, or both. To learn which resources support
|
3088
3135
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3089
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3136
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
3090
3137
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3091
3138
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3092
3139
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3093
3140
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3094
3141
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3095
3142
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3096
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
3097
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
3098
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
3099
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
3100
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
3101
|
-
# access description: Does not grant access after Sep 2020
|
3102
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3103
|
-
# a description of IAM and its features, see the
|
3104
|
-
# cloud.google.com/iam/docs/).
|
3143
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
3144
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
3145
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
3146
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
3147
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
3148
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
3149
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3150
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
3151
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
3105
3152
|
class GoogleIamV1Policy
|
3106
3153
|
include Google::Apis::Core::Hashable
|
3107
3154
|
|
@@ -3185,22 +3232,22 @@ module Google
|
|
3185
3232
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
3186
3233
|
# the request, the resource, or both. To learn which resources support
|
3187
3234
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3188
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3235
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
3189
3236
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3190
3237
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3191
3238
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3192
3239
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3193
3240
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3194
3241
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3195
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
3196
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
3197
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
3198
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
3199
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
3200
|
-
# access description: Does not grant access after Sep 2020
|
3201
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3202
|
-
# a description of IAM and its features, see the
|
3203
|
-
# cloud.google.com/iam/docs/).
|
3242
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
3243
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
3244
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
3245
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
3246
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
3247
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
3248
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3249
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
3250
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
3204
3251
|
# Corresponds to the JSON property `policy`
|
3205
3252
|
# @return [Google::Apis::IdentitytoolkitV2::GoogleIamV1Policy]
|
3206
3253
|
attr_accessor :policy
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.15.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 = "20230804"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -238,6 +238,12 @@ 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
|
+
|
241
247
|
class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig
|
242
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
249
|
|
@@ -947,6 +953,15 @@ module Google
|
|
947
953
|
end
|
948
954
|
end
|
949
955
|
|
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
|
+
|
950
965
|
class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig
|
951
966
|
# @private
|
952
967
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1297,6 +1312,8 @@ module Google
|
|
1297
1312
|
collection :allowed_non_alphanumeric_characters, as: 'allowedNonAlphanumericCharacters'
|
1298
1313
|
property :custom_strength_options, as: 'customStrengthOptions', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2CustomStrengthOptions, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2CustomStrengthOptions::Representation
|
1299
1314
|
|
1315
|
+
property :enforcement_state, as: 'enforcementState'
|
1316
|
+
property :force_upgrade_on_signin, as: 'forceUpgradeOnSignin'
|
1300
1317
|
property :schema_version, as: 'schemaVersion'
|
1301
1318
|
end
|
1302
1319
|
end
|
@@ -298,6 +298,37 @@ 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
|
+
|
301
332
|
# Update an Identity Toolkit project configuration.
|
302
333
|
# @param [String] name
|
303
334
|
# Output only. The name of the Config resource. Example: "projects/my-awesome-
|
@@ -338,6 +369,45 @@ module Google
|
|
338
369
|
execute_or_queue_command(command, &block)
|
339
370
|
end
|
340
371
|
|
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
|
+
|
341
411
|
# Create a default supported Idp configuration for an Identity Toolkit project.
|
342
412
|
# @param [String] parent
|
343
413
|
# The parent resource name where the config to be created, for example: "
|
@@ -1031,6 +1101,37 @@ module Google
|
|
1031
1101
|
execute_or_queue_command(command, &block)
|
1032
1102
|
end
|
1033
1103
|
|
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
|
+
|
1034
1135
|
# List tenants under the given agent project. Requires read permission on the
|
1035
1136
|
# Agent project.
|
1036
1137
|
# @param [String] parent
|
@@ -1182,6 +1283,45 @@ module Google
|
|
1182
1283
|
execute_or_queue_command(command, &block)
|
1183
1284
|
end
|
1184
1285
|
|
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
|
+
|
1185
1325
|
# Create a default supported Idp configuration for an Identity Toolkit project.
|
1186
1326
|
# @param [String] parent
|
1187
1327
|
# 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.
|
4
|
+
version: 0.15.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-
|
11
|
+
date: 2023-08-20 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v2/v0.15.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: []
|