REST Resource: projects.apps.playIntegrityConfig
Stay organized with collections
Save and categorize content based on your preferences.
Resource: PlayIntegrityConfig
An app's Play Integrity configuration object. This configuration controls certain properties of the AppCheckToken
returned by ExchangePlayIntegrityToken
, such as its ttl
.
Note that your registered SHA-256 certificate fingerprints are used to validate tokens issued by the Play Integrity API; please register them 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 Play Integrity configuration object, in the format:
projects/{project_number}/apps/{app_id}/playIntegrityConfig
|
tokenTtl |
string (Duration format)
Specifies the duration for which App Check tokens exchanged from Play Integrity tokens 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" .
|
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.playIntegrityConfig\n\nResource: PlayIntegrityConfig\n-----------------------------\n\nAn app's Play Integrity configuration object. This configuration controls certain properties of the [`AppCheckToken`](/docs/reference/appcheck/rest/v1beta/AppCheckToken) returned by [ExchangePlayIntegrityToken](/docs/reference/appcheck/rest/v1beta/projects.apps/exchangePlayIntegrityToken#google.firebase.appcheck.v1beta.TokenExchangeService.ExchangePlayIntegrityToken), such as its [ttl](/docs/reference/appcheck/rest/v1beta/AppCheckToken#FIELDS.ttl).\n\nNote that your registered SHA-256 certificate fingerprints are used to validate tokens issued by the Play Integrity API; please register them via the Firebase Console or programmatically via the [Firebase Management Service](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.androidApps.sha/create).\n\n| JSON representation |\n|------------------------------------------------|\n| ``` { \"name\": string, \"tokenTtl\": string } ``` |\n\n| Fields ||\n|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The relative resource name of the Play Integrity configuration object, in the format: projects/{project_number}/apps/{app_id}/playIntegrityConfig |\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 Play Integrity tokens 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/v1beta/projects.apps.playIntegrityConfig/batchGet) | Atomically gets the [PlayIntegrityConfig](/docs/reference/appcheck/rest/v1beta/projects.apps.playIntegrityConfig#PlayIntegrityConfig)s for the specified list of apps. |\n| ### [get](/docs/reference/appcheck/rest/v1beta/projects.apps.playIntegrityConfig/get) | Gets the [PlayIntegrityConfig](/docs/reference/appcheck/rest/v1beta/projects.apps.playIntegrityConfig#PlayIntegrityConfig) for the specified app. |\n| ### [patch](/docs/reference/appcheck/rest/v1beta/projects.apps.playIntegrityConfig/patch) | Updates the [PlayIntegrityConfig](/docs/reference/appcheck/rest/v1beta/projects.apps.playIntegrityConfig#PlayIntegrityConfig) for the specified app. |"]]