Note that the Team ID registered with your app is used as part of the validation process. Please register it via the Firebase Console or programmatically via the Firebase Management Service.
JSON representation
{"name": string,"tokenTtl": string}
Fields
name
string
Required. The relative resource name of the App Attest configuration object, in the format:
Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-05 UTC."],[],[],null,["# REST Resource: projects.apps.appAttestConfig\n\nResource: AppAttestConfig\n-------------------------\n\nAn app's App Attest configuration object. This configuration controls certain properties of the [`AppCheckToken`](/docs/reference/appcheck/rest/v1/AppCheckToken) returned by [ExchangeAppAttestAttestation](/docs/reference/appcheck/rest/v1/projects.apps/exchangeAppAttestAttestation#google.firebase.appcheck.v1.TokenExchangeService.ExchangeAppAttestAttestation) and [ExchangeAppAttestAssertion](/docs/reference/appcheck/rest/v1/projects.apps/exchangeAppAttestAssertion#google.firebase.appcheck.v1.TokenExchangeService.ExchangeAppAttestAssertion), such as its [ttl](/docs/reference/appcheck/rest/v1/AppCheckToken#FIELDS.ttl).\n\nNote that the Team ID registered with your app is used as part of the validation process. Please register it via the Firebase Console or programmatically via the [Firebase Management Service](https://firebase.google.com/docs/projects/api/reference/rest/v11/projects.iosApps/patch).\n\n| JSON representation |\n|------------------------------------------------|\n| ``` { \"name\": string, \"tokenTtl\": string } ``` |\n\n| Fields ||\n|------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The relative resource name of the App Attest configuration object, in the format: projects/{project_number}/apps/{app_id}/appAttestConfig |\n| `tokenTtl` | `string (`[Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration)` format)` Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `\"3.5s\"`. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### [batchGet](/docs/reference/appcheck/rest/v1/projects.apps.appAttestConfig/batchGet) | Atomically gets the [AppAttestConfig](/docs/reference/appcheck/rest/v1/projects.apps.appAttestConfig#AppAttestConfig)s for the specified list of apps. |\n| ### [get](/docs/reference/appcheck/rest/v1/projects.apps.appAttestConfig/get) | Gets the [AppAttestConfig](/docs/reference/appcheck/rest/v1/projects.apps.appAttestConfig#AppAttestConfig) for the specified app. |\n| ### [patch](/docs/reference/appcheck/rest/v1/projects.apps.appAttestConfig/patch) | Updates the [AppAttestConfig](/docs/reference/appcheck/rest/v1/projects.apps.appAttestConfig#AppAttestConfig) for the specified app. |"]]