REST Resource: projects.apps.playIntegrityConfig

Resource: PlayIntegrityConfig

An app's Play Integrity configuration object. This configuration controls certain properties of theAppCheckToken returned byExchangePlayIntegrityToken, such as itsttl.

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 theFirebase 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".

Methods

batchGet

Atomically gets thePlayIntegrityConfigs for the specified list of apps.

get

Gets thePlayIntegrityConfig for the specified app.

patch

Updates thePlayIntegrityConfig for the specified app.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-09-25 UTC.