Skip to content

Commit

Permalink
feat(identitytoolkit): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Oct 31, 2023
1 parent 4dc6c35 commit 3380cae
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 280 deletions.
4 changes: 2 additions & 2 deletions docs/dyn/identitytoolkit_v1.accounts.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ <h3>Method Details</h3>
&quot;providerId&quot;: &quot;A String&quot;, # The provider ID from the request, if provided.
&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.
&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.
&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.
&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.
&quot;A String&quot;,
],
}</pre>
Expand Down Expand Up @@ -867,7 +867,7 @@ <h3>Method Details</h3>
],
&quot;disableUser&quot;: True or False, # If true, marks the account as disabled, meaning the user will no longer be able to sign-in.
&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.
&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.
&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.
&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).
&quot;idToken&quot;: &quot;A String&quot;, # A valid Identity Platform ID token. Required when attempting to change user-related information.
&quot;instanceId&quot;: &quot;A String&quot;,
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/identitytoolkit_v1.projects.accounts.html
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ <h3>Method Details</h3>
],
&quot;disableUser&quot;: True or False, # If true, marks the account as disabled, meaning the user will no longer be able to sign-in.
&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.
&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.
&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.
&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).
&quot;idToken&quot;: &quot;A String&quot;, # A valid Identity Platform ID token. Required when attempting to change user-related information.
&quot;instanceId&quot;: &quot;A String&quot;,
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/identitytoolkit_v1.projects.tenants.accounts.html
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ <h3>Method Details</h3>
],
&quot;disableUser&quot;: True or False, # If true, marks the account as disabled, meaning the user will no longer be able to sign-in.
&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.
&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.
&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.
&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).
&quot;idToken&quot;: &quot;A String&quot;, # A valid Identity Platform ID token. Required when attempting to change user-related information.
&quot;instanceId&quot;: &quot;A String&quot;,
Expand Down
64 changes: 0 additions & 64 deletions docs/dyn/identitytoolkit_v2.projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#getConfig">getConfig(name, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieve an Identity Toolkit project configuration.</p>
<p class="toc_element">
<code><a href="#getPasskeyConfig">getPasskeyConfig(name, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieve a passkey configuration for an Identity Toolkit project.</p>
<p class="toc_element">
<code><a href="#updateConfig">updateConfig(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Update an Identity Toolkit project configuration.</p>
<p class="toc_element">
<code><a href="#updatePasskeyConfig">updatePasskeyConfig(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Update a passkey configuration for an Identity Toolkit project.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
Expand Down Expand Up @@ -340,29 +334,6 @@ <h3>Method Details</h3>
}</pre>
</div>

<div class="method">
<code class="details" id="getPasskeyConfig">getPasskeyConfig(name, x__xgafv=None)</code>
<pre>Retrieve a passkey configuration for an Identity Toolkit project.

Args:
name: string, Required. The resource name of the config, for example: &#x27;projects/my-awesome-project/passkeyConfig&#x27;. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Configuration for signing in users using passkeys.
&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.
&quot;A String&quot;,
],
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the PasskeyConfig resource.
&quot;rpId&quot;: &quot;A String&quot;, # Required. The relying party ID for the purpose of passkeys verifications. This cannot be changed once created.
}</pre>
</div>

<div class="method">
<code class="details" id="updateConfig">updateConfig(name, body=None, updateMask=None, x__xgafv=None)</code>
<pre>Update an Identity Toolkit project configuration.
Expand Down Expand Up @@ -792,39 +763,4 @@ <h3>Method Details</h3>
}</pre>
</div>

<div class="method">
<code class="details" id="updatePasskeyConfig">updatePasskeyConfig(name, body=None, updateMask=None, x__xgafv=None)</code>
<pre>Update a passkey configuration for an Identity Toolkit project.

Args:
name: string, Required. The name of the PasskeyConfig resource. (required)
body: object, The request body.
The object takes the form of:

{ # Configuration for signing in users using passkeys.
&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.
&quot;A String&quot;,
],
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the PasskeyConfig resource.
&quot;rpId&quot;: &quot;A String&quot;, # Required. The relying party ID for the purpose of passkeys verifications. This cannot be changed once created.
}

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
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Configuration for signing in users using passkeys.
&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.
&quot;A String&quot;,
],
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the PasskeyConfig resource.
&quot;rpId&quot;: &quot;A String&quot;, # Required. The relying party ID for the purpose of passkeys verifications. This cannot be changed once created.
}</pre>
</div>

</body></html>
64 changes: 0 additions & 64 deletions docs/dyn/identitytoolkit_v2.projects.tenants.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#getIamPolicy">getIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
<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>
<p class="toc_element">
<code><a href="#getPasskeyConfig">getPasskeyConfig(name, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieve a passkey configuration for an Identity Toolkit project.</p>
<p class="toc_element">
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">List tenants under the given agent project. Requires read permission on the Agent project.</p>
Expand All @@ -122,9 +119,6 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
<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>
<p class="toc_element">
<code><a href="#updatePasskeyConfig">updatePasskeyConfig(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Update a passkey configuration for an Identity Toolkit project.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
Expand Down Expand Up @@ -529,29 +523,6 @@ <h3>Method Details</h3>
}</pre>
</div>

<div class="method">
<code class="details" id="getPasskeyConfig">getPasskeyConfig(name, x__xgafv=None)</code>
<pre>Retrieve a passkey configuration for an Identity Toolkit project.

Args:
name: string, Required. The resource name of the config, for example: &#x27;projects/my-awesome-project/passkeyConfig&#x27;. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Configuration for signing in users using passkeys.
&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.
&quot;A String&quot;,
],
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the PasskeyConfig resource.
&quot;rpId&quot;: &quot;A String&quot;, # Required. The relying party ID for the purpose of passkeys verifications. This cannot be changed once created.
}</pre>
</div>

<div class="method">
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>List tenants under the given agent project. Requires read permission on the Agent project.
Expand Down Expand Up @@ -1013,39 +984,4 @@ <h3>Method Details</h3>
}</pre>
</div>

<div class="method">
<code class="details" id="updatePasskeyConfig">updatePasskeyConfig(name, body=None, updateMask=None, x__xgafv=None)</code>
<pre>Update a passkey configuration for an Identity Toolkit project.

Args:
name: string, Required. The name of the PasskeyConfig resource. (required)
body: object, The request body.
The object takes the form of:

{ # Configuration for signing in users using passkeys.
&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.
&quot;A String&quot;,
],
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the PasskeyConfig resource.
&quot;rpId&quot;: &quot;A String&quot;, # Required. The relying party ID for the purpose of passkeys verifications. This cannot be changed once created.
}

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
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Configuration for signing in users using passkeys.
&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.
&quot;A String&quot;,
],
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the PasskeyConfig resource.
&quot;rpId&quot;: &quot;A String&quot;, # Required. The relying party ID for the purpose of passkeys verifications. This cannot be changed once created.
}</pre>
</div>

</body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@
}
}
},
"revision": "20231016",
"revision": "20231027",
"rootUrl": "https://identitytoolkit.googleapis.com/",
"schemas": {
"GoogleCloudIdentitytoolkitV1Argon2Parameters": {
Expand Down Expand Up @@ -1477,7 +1477,7 @@
"type": "string"
},
"signinMethods": {
"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.",
"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.",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -2557,7 +2557,7 @@
"type": "string"
},
"email": {
"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.",
"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.",
"type": "string"
},
"emailVerified": {
Expand Down
Loading

0 comments on commit 3380cae

Please sign in to comment.