REST Resource: projects.apps.debugTokens
Stay organized with collections
Save and categorize content based on your preferences.
Resource: DebugToken
A debug token is a secret used during the development or integration testing of an app. It essentially allows the development or integration testing to bypass app attestation while still allowing App Check to enforce protection on supported production Firebase services.
JSON representation |
{
"name": string,
"displayName": string,
"token": string
} |
Fields |
name |
string
Required. The relative resource name of the debug token, in the format:
projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
|
displayName |
string
Required. A human readable display name used to identify this debug token.
|
token |
string
Required. Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an debugTokens.patch request. You can, however, delete this debug token using debugTokens.delete to revoke it. For security reasons, this field will never be populated in any response.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-05 UTC.
[null,null,["Last updated 2024-04-05 UTC."],[],[],null,["# REST Resource: projects.apps.debugTokens\n\nResource: DebugToken\n--------------------\n\nA *debug token* is a secret used during the development or integration testing of an app. It essentially allows the development or integration testing to bypass app attestation while still allowing App Check to enforce protection on supported production Firebase services.\n\n| JSON representation |\n|--------------------------------------------------------------------|\n| ``` { \"name\": string, \"displayName\": string, \"token\": string } ``` |\n\n| Fields ||\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} |\n| `displayName` | `string` Required. A human readable display name used to identify this debug token. |\n| `token` | `string` Required. Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an [debugTokens.patch](/docs/reference/appcheck/rest/v1beta/projects.apps.debugTokens/patch#google.firebase.appcheck.v1beta.ConfigService.UpdateDebugToken) request. You can, however, delete this debug token using [debugTokens.delete](/docs/reference/appcheck/rest/v1beta/projects.apps.debugTokens/delete#google.firebase.appcheck.v1beta.ConfigService.DeleteDebugToken) to revoke it. For security reasons, this field will never be populated in any response. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|\n| ### [create](/docs/reference/appcheck/rest/v1beta/projects.apps.debugTokens/create) | Creates a new [DebugToken](/docs/reference/appcheck/rest/v1beta/projects.apps.debugTokens#DebugToken) for the specified app. |\n| ### [delete](/docs/reference/appcheck/rest/v1beta/projects.apps.debugTokens/delete) | Deletes the specified [DebugToken](/docs/reference/appcheck/rest/v1beta/projects.apps.debugTokens#DebugToken). |\n| ### [get](/docs/reference/appcheck/rest/v1beta/projects.apps.debugTokens/get) | Gets the specified [DebugToken](/docs/reference/appcheck/rest/v1beta/projects.apps.debugTokens#DebugToken). |\n| ### [list](/docs/reference/appcheck/rest/v1beta/projects.apps.debugTokens/list) | Lists all [DebugToken](/docs/reference/appcheck/rest/v1beta/projects.apps.debugTokens#DebugToken)s for the specified app. |\n| ### [patch](/docs/reference/appcheck/rest/v1beta/projects.apps.debugTokens/patch) | Updates the specified [DebugToken](/docs/reference/appcheck/rest/v1beta/projects.apps.debugTokens#DebugToken). |"]]