Skip to content

Commit 3380cae

Browse files
feat(identitytoolkit): update the api
#### identitytoolkit:v2 The following keys were deleted: - resources.projects.methods.getPasskeyConfig (Total Keys: 11) - resources.projects.methods.updatePasskeyConfig (Total Keys: 15) - resources.projects.resources.tenants.methods.getPasskeyConfig (Total Keys: 11) - resources.projects.resources.tenants.methods.updatePasskeyConfig (Total Keys: 15) - schemas.GoogleCloudIdentitytoolkitAdminV2PasskeyConfig (Total Keys: 6)
1 parent 4dc6c35 commit 3380cae

7 files changed

+8
-280
lines changed

docs/dyn/identitytoolkit_v1.accounts.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ <h3>Method Details</h3>
177177
&quot;providerId&quot;: &quot;A String&quot;, # The provider ID from the request, if provided.
178178
&quot;registered&quot;: True or False, # Whether the email identifier represents an existing account. Present only when an email identifier is set in the request.
179179
&quot;sessionId&quot;: &quot;A String&quot;, # The session ID from the request, or a random string generated by CreateAuthUri if absent. It is used to prevent session fixation attacks.
180-
&quot;signinMethods&quot;: [ # The list of sign-in methods that the user has previously used. Each element is one of `password`, `emailLink`, or the provider ID of an IdP. Present only when a registered email identifier is set in the request.
180+
&quot;signinMethods&quot;: [ # The list of sign-in methods that the user has previously used. Each element is one of `password`, `emailLink`, or the provider ID of an IdP. Present only when a registered email identifier is set in the request. If [email enumeration protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, this method returns an empty list.
181181
&quot;A String&quot;,
182182
],
183183
}</pre>
@@ -867,7 +867,7 @@ <h3>Method Details</h3>
867867
],
868868
&quot;disableUser&quot;: True or False, # If true, marks the account as disabled, meaning the user will no longer be able to sign-in.
869869
&quot;displayName&quot;: &quot;A String&quot;, # The user&#x27;s new display name to be updated in the account&#x27;s attributes. The length of the display name must be less than or equal to 256 characters.
870-
&quot;email&quot;: &quot;A String&quot;, # The user&#x27;s new email to be updated in the account&#x27;s attributes. The length of email should be less than 256 characters and in the format of `[email protected]`. The email should also match the [RFC 822](https://tools.ietf.org/html/rfc822) addr-spec production.
870+
&quot;email&quot;: &quot;A String&quot;, # The user&#x27;s new email to be updated in the account&#x27;s attributes. The length of email should be less than 256 characters and in the format of `[email protected]`. The email should also match the [RFC 822](https://tools.ietf.org/html/rfc822) addr-spec production. If [email enumeration protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, the email cannot be changed by the user without verifying the email first, but it can be changed by an administrator.
871871
&quot;emailVerified&quot;: True or False, # Whether the user&#x27;s email has been verified. Specifying this field requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).
872872
&quot;idToken&quot;: &quot;A String&quot;, # A valid Identity Platform ID token. Required when attempting to change user-related information.
873873
&quot;instanceId&quot;: &quot;A String&quot;,

docs/dyn/identitytoolkit_v1.projects.accounts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ <h3>Method Details</h3>
644644
],
645645
&quot;disableUser&quot;: True or False, # If true, marks the account as disabled, meaning the user will no longer be able to sign-in.
646646
&quot;displayName&quot;: &quot;A String&quot;, # The user&#x27;s new display name to be updated in the account&#x27;s attributes. The length of the display name must be less than or equal to 256 characters.
647-
&quot;email&quot;: &quot;A String&quot;, # The user&#x27;s new email to be updated in the account&#x27;s attributes. The length of email should be less than 256 characters and in the format of `[email protected]`. The email should also match the [RFC 822](https://tools.ietf.org/html/rfc822) addr-spec production.
647+
&quot;email&quot;: &quot;A String&quot;, # The user&#x27;s new email to be updated in the account&#x27;s attributes. The length of email should be less than 256 characters and in the format of `[email protected]`. The email should also match the [RFC 822](https://tools.ietf.org/html/rfc822) addr-spec production. If [email enumeration protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, the email cannot be changed by the user without verifying the email first, but it can be changed by an administrator.
648648
&quot;emailVerified&quot;: True or False, # Whether the user&#x27;s email has been verified. Specifying this field requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).
649649
&quot;idToken&quot;: &quot;A String&quot;, # A valid Identity Platform ID token. Required when attempting to change user-related information.
650650
&quot;instanceId&quot;: &quot;A String&quot;,

docs/dyn/identitytoolkit_v1.projects.tenants.accounts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ <h3>Method Details</h3>
651651
],
652652
&quot;disableUser&quot;: True or False, # If true, marks the account as disabled, meaning the user will no longer be able to sign-in.
653653
&quot;displayName&quot;: &quot;A String&quot;, # The user&#x27;s new display name to be updated in the account&#x27;s attributes. The length of the display name must be less than or equal to 256 characters.
654-
&quot;email&quot;: &quot;A String&quot;, # The user&#x27;s new email to be updated in the account&#x27;s attributes. The length of email should be less than 256 characters and in the format of `[email protected]`. The email should also match the [RFC 822](https://tools.ietf.org/html/rfc822) addr-spec production.
654+
&quot;email&quot;: &quot;A String&quot;, # The user&#x27;s new email to be updated in the account&#x27;s attributes. The length of email should be less than 256 characters and in the format of `[email protected]`. The email should also match the [RFC 822](https://tools.ietf.org/html/rfc822) addr-spec production. If [email enumeration protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, the email cannot be changed by the user without verifying the email first, but it can be changed by an administrator.
655655
&quot;emailVerified&quot;: True or False, # Whether the user&#x27;s email has been verified. Specifying this field requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).
656656
&quot;idToken&quot;: &quot;A String&quot;, # A valid Identity Platform ID token. Required when attempting to change user-related information.
657657
&quot;instanceId&quot;: &quot;A String&quot;,

docs/dyn/identitytoolkit_v2.projects.html

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,9 @@ <h2>Instance Methods</h2>
105105
<p class="toc_element">
106106
<code><a href="#getConfig">getConfig(name, x__xgafv=None)</a></code></p>
107107
<p class="firstline">Retrieve an Identity Toolkit project configuration.</p>
108-
<p class="toc_element">
109-
<code><a href="#getPasskeyConfig">getPasskeyConfig(name, x__xgafv=None)</a></code></p>
110-
<p class="firstline">Retrieve a passkey configuration for an Identity Toolkit project.</p>
111108
<p class="toc_element">
112109
<code><a href="#updateConfig">updateConfig(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
113110
<p class="firstline">Update an Identity Toolkit project configuration.</p>
114-
<p class="toc_element">
115-
<code><a href="#updatePasskeyConfig">updatePasskeyConfig(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
116-
<p class="firstline">Update a passkey configuration for an Identity Toolkit project.</p>
117111
<h3>Method Details</h3>
118112
<div class="method">
119113
<code class="details" id="close">close()</code>
@@ -340,29 +334,6 @@ <h3>Method Details</h3>
340334
}</pre>
341335
</div>
342336

343-
<div class="method">
344-
<code class="details" id="getPasskeyConfig">getPasskeyConfig(name, x__xgafv=None)</code>
345-
<pre>Retrieve a passkey configuration for an Identity Toolkit project.
346-
347-
Args:
348-
name: string, Required. The resource name of the config, for example: &#x27;projects/my-awesome-project/passkeyConfig&#x27;. (required)
349-
x__xgafv: string, V1 error format.
350-
Allowed values
351-
1 - v1 error format
352-
2 - v2 error format
353-
354-
Returns:
355-
An object of the form:
356-
357-
{ # Configuration for signing in users using passkeys.
358-
&quot;expectedOrigins&quot;: [ # Required. The website or app origins associated with the customer&#x27;s sites or apps. Only challenges signed from these origins will be allowed to sign in with passkeys.
359-
&quot;A String&quot;,
360-
],
361-
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the PasskeyConfig resource.
362-
&quot;rpId&quot;: &quot;A String&quot;, # Required. The relying party ID for the purpose of passkeys verifications. This cannot be changed once created.
363-
}</pre>
364-
</div>
365-
366337
<div class="method">
367338
<code class="details" id="updateConfig">updateConfig(name, body=None, updateMask=None, x__xgafv=None)</code>
368339
<pre>Update an Identity Toolkit project configuration.
@@ -792,39 +763,4 @@ <h3>Method Details</h3>
792763
}</pre>
793764
</div>
794765

795-
<div class="method">
796-
<code class="details" id="updatePasskeyConfig">updatePasskeyConfig(name, body=None, updateMask=None, x__xgafv=None)</code>
797-
<pre>Update a passkey configuration for an Identity Toolkit project.
798-
799-
Args:
800-
name: string, Required. The name of the PasskeyConfig resource. (required)
801-
body: object, The request body.
802-
The object takes the form of:
803-
804-
{ # Configuration for signing in users using passkeys.
805-
&quot;expectedOrigins&quot;: [ # Required. The website or app origins associated with the customer&#x27;s sites or apps. Only challenges signed from these origins will be allowed to sign in with passkeys.
806-
&quot;A String&quot;,
807-
],
808-
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the PasskeyConfig resource.
809-
&quot;rpId&quot;: &quot;A String&quot;, # Required. The relying party ID for the purpose of passkeys verifications. This cannot be changed once created.
810-
}
811-
812-
updateMask: string, Optional. The update mask applies to the resource. Empty update mask will result in updating nothing. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
813-
x__xgafv: string, V1 error format.
814-
Allowed values
815-
1 - v1 error format
816-
2 - v2 error format
817-
818-
Returns:
819-
An object of the form:
820-
821-
{ # Configuration for signing in users using passkeys.
822-
&quot;expectedOrigins&quot;: [ # Required. The website or app origins associated with the customer&#x27;s sites or apps. Only challenges signed from these origins will be allowed to sign in with passkeys.
823-
&quot;A String&quot;,
824-
],
825-
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the PasskeyConfig resource.
826-
&quot;rpId&quot;: &quot;A String&quot;, # Required. The relying party ID for the purpose of passkeys verifications. This cannot be changed once created.
827-
}</pre>
828-
</div>
829-
830766
</body></html>

docs/dyn/identitytoolkit_v2.projects.tenants.html

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@ <h2>Instance Methods</h2>
104104
<p class="toc_element">
105105
<code><a href="#getIamPolicy">getIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
106106
<p class="firstline">Gets the access control policy for a resource. An error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Caller must have the right Google IAM permission on the resource.</p>
107-
<p class="toc_element">
108-
<code><a href="#getPasskeyConfig">getPasskeyConfig(name, x__xgafv=None)</a></code></p>
109-
<p class="firstline">Retrieve a passkey configuration for an Identity Toolkit project.</p>
110107
<p class="toc_element">
111108
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
112109
<p class="firstline">List tenants under the given agent project. Requires read permission on the Agent project.</p>
@@ -122,9 +119,6 @@ <h2>Instance Methods</h2>
122119
<p class="toc_element">
123120
<code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
124121
<p class="firstline">Returns the caller's permissions on a resource. An error is returned if the resource does not exist. A caller is not required to have Google IAM permission to make this request.</p>
125-
<p class="toc_element">
126-
<code><a href="#updatePasskeyConfig">updatePasskeyConfig(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
127-
<p class="firstline">Update a passkey configuration for an Identity Toolkit project.</p>
128122
<h3>Method Details</h3>
129123
<div class="method">
130124
<code class="details" id="close">close()</code>
@@ -529,29 +523,6 @@ <h3>Method Details</h3>
529523
}</pre>
530524
</div>
531525

532-
<div class="method">
533-
<code class="details" id="getPasskeyConfig">getPasskeyConfig(name, x__xgafv=None)</code>
534-
<pre>Retrieve a passkey configuration for an Identity Toolkit project.
535-
536-
Args:
537-
name: string, Required. The resource name of the config, for example: &#x27;projects/my-awesome-project/passkeyConfig&#x27;. (required)
538-
x__xgafv: string, V1 error format.
539-
Allowed values
540-
1 - v1 error format
541-
2 - v2 error format
542-
543-
Returns:
544-
An object of the form:
545-
546-
{ # Configuration for signing in users using passkeys.
547-
&quot;expectedOrigins&quot;: [ # Required. The website or app origins associated with the customer&#x27;s sites or apps. Only challenges signed from these origins will be allowed to sign in with passkeys.
548-
&quot;A String&quot;,
549-
],
550-
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the PasskeyConfig resource.
551-
&quot;rpId&quot;: &quot;A String&quot;, # Required. The relying party ID for the purpose of passkeys verifications. This cannot be changed once created.
552-
}</pre>
553-
</div>
554-
555526
<div class="method">
556527
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
557528
<pre>List tenants under the given agent project. Requires read permission on the Agent project.
@@ -1013,39 +984,4 @@ <h3>Method Details</h3>
1013984
}</pre>
1014985
</div>
1015986

1016-
<div class="method">
1017-
<code class="details" id="updatePasskeyConfig">updatePasskeyConfig(name, body=None, updateMask=None, x__xgafv=None)</code>
1018-
<pre>Update a passkey configuration for an Identity Toolkit project.
1019-
1020-
Args:
1021-
name: string, Required. The name of the PasskeyConfig resource. (required)
1022-
body: object, The request body.
1023-
The object takes the form of:
1024-
1025-
{ # Configuration for signing in users using passkeys.
1026-
&quot;expectedOrigins&quot;: [ # Required. The website or app origins associated with the customer&#x27;s sites or apps. Only challenges signed from these origins will be allowed to sign in with passkeys.
1027-
&quot;A String&quot;,
1028-
],
1029-
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the PasskeyConfig resource.
1030-
&quot;rpId&quot;: &quot;A String&quot;, # Required. The relying party ID for the purpose of passkeys verifications. This cannot be changed once created.
1031-
}
1032-
1033-
updateMask: string, Optional. The update mask applies to the resource. Empty update mask will result in updating nothing. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
1034-
x__xgafv: string, V1 error format.
1035-
Allowed values
1036-
1 - v1 error format
1037-
2 - v2 error format
1038-
1039-
Returns:
1040-
An object of the form:
1041-
1042-
{ # Configuration for signing in users using passkeys.
1043-
&quot;expectedOrigins&quot;: [ # Required. The website or app origins associated with the customer&#x27;s sites or apps. Only challenges signed from these origins will be allowed to sign in with passkeys.
1044-
&quot;A String&quot;,
1045-
],
1046-
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the PasskeyConfig resource.
1047-
&quot;rpId&quot;: &quot;A String&quot;, # Required. The relying party ID for the purpose of passkeys verifications. This cannot be changed once created.
1048-
}</pre>
1049-
</div>
1050-
1051987
</body></html>

googleapiclient/discovery_cache/documents/identitytoolkit.v1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@
12391239
}
12401240
}
12411241
},
1242-
"revision": "20231016",
1242+
"revision": "20231027",
12431243
"rootUrl": "https://identitytoolkit.googleapis.com/",
12441244
"schemas": {
12451245
"GoogleCloudIdentitytoolkitV1Argon2Parameters": {
@@ -1477,7 +1477,7 @@
14771477
"type": "string"
14781478
},
14791479
"signinMethods": {
1480-
"description": "The list of sign-in methods that the user has previously used. Each element is one of `password`, `emailLink`, or the provider ID of an IdP. Present only when a registered email identifier is set in the request.",
1480+
"description": "The list of sign-in methods that the user has previously used. Each element is one of `password`, `emailLink`, or the provider ID of an IdP. Present only when a registered email identifier is set in the request. If [email enumeration protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, this method returns an empty list.",
14811481
"items": {
14821482
"type": "string"
14831483
},
@@ -2557,7 +2557,7 @@
25572557
"type": "string"
25582558
},
25592559
"email": {
2560-
"description": "The user's new email to be updated in the account's attributes. The length of email should be less than 256 characters and in the format of `[email protected]`. The email should also match the [RFC 822](https://tools.ietf.org/html/rfc822) addr-spec production.",
2560+
"description": "The user's new email to be updated in the account's attributes. The length of email should be less than 256 characters and in the format of `[email protected]`. The email should also match the [RFC 822](https://tools.ietf.org/html/rfc822) addr-spec production. If [email enumeration protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, the email cannot be changed by the user without verifying the email first, but it can be changed by an administrator.",
25612561
"type": "string"
25622562
},
25632563
"emailVerified": {

0 commit comments

Comments
 (0)