Send feedback
Method: projects.apps.safetyNetConfig.patch
Stay organized with collections
Save and categorize content based on your preferences.
The SafetyNet Attestation API is deprecated and has been replaced by the Play Integrity API. Support for SafetyNet will be removed from App Check by the migration deadline. We strongly recommend that App Check customers migrate to the Play Integrity API . Learn more .
Updates the SafetyNetConfig
for the specified app.
While this configuration is incomplete or invalid, the app will be unable to exchange SafetyNet tokens for App Check tokens.
HTTP request
PATCH https://firebaseappcheck.googleapis.com/v1beta/{safetyNetConfig.name=projects/*/apps/*/safetyNetConfig}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters
safetyNetConfig.name
string
Required. The relative resource name of the SafetyNet configuration object, in the format:
projects/{project_number}/apps/{app_id}/safetyNetConfig
Query parameters
Parameters
updateMask
string (FieldMask
format)
Required. A comma-separated list of names of fields in the SafetyNetConfig
Gets to update. Example: tokenTtl
.
Request body
The request body contains an instance of SafetyNetConfig
.
Response body
If successful, the response body contains an instance of SafetyNetConfig
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/firebase
For more information, see the Authentication Overview .
Send feedback
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.
Need to tell us more?
[[["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."],[],[]]