pub struct GoogleFirebaseAppcheckV1betaPlayIntegrityConfig {
pub account_details: Option<GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAccountDetails>,
pub app_integrity: Option<GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAppIntegrity>,
pub device_integrity: Option<GoogleFirebaseAppcheckV1betaPlayIntegrityConfigDeviceIntegrity>,
pub name: Option<String>,
pub token_ttl: Option<Duration>,
}Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- apps play integrity config get projects (response)
- apps play integrity config patch projects (request|response)
Fields§
§account_details: Option<GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAccountDetails>Specifies account requirements for Android devices running your app. These settings correspond to requirements on the account details field obtained from the Play Integrity API. See the default responses table for a quick summary. The default values for these settings work for most apps, and are recommended.
app_integrity: Option<GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAppIntegrity>Specifies application integrity requirements for Android devices running your app. These settings correspond to requirements on the application integrity field obtained from the Play Integrity API. See the default responses table for a quick summary. The default values for these settings work for most apps, and are recommended.
device_integrity: Option<GoogleFirebaseAppcheckV1betaPlayIntegrityConfigDeviceIntegrity>Specifies device integrity requirements for Android devices running your app. These settings correspond to requirements on the device integrity field obtained from the Play Integrity API. See the default responses table for a quick summary. Warning: There are also conditional as well as optional responses that you can receive, but requires additional explicit opt-in from you. The App Check API is not responsible for any such opt-ins. The default values for these settings work for most apps, and are recommended.
name: Option<String>Required. The relative resource name of the Play Integrity configuration object, in the format: projects/{project_number}/apps/{app_id}/playIntegrityConfig
token_ttl: Option<Duration>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.
Trait Implementations§
Source§impl Clone for GoogleFirebaseAppcheckV1betaPlayIntegrityConfig
impl Clone for GoogleFirebaseAppcheckV1betaPlayIntegrityConfig
Source§fn clone(&self) -> GoogleFirebaseAppcheckV1betaPlayIntegrityConfig
fn clone(&self) -> GoogleFirebaseAppcheckV1betaPlayIntegrityConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more