Method: projects.androidApps.patch
Stay organized with collections
Save and categorize content based on your preferences.
Updates the attributes of the specified AndroidApp
.
HTTP request
PATCH https://firebase.googleapis.com/v1beta1/{app.name=projects/*/androidApps/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
app.name |
string
The resource name of the AndroidApp , in the format:
projects/PROJECT_IDENTIFIER/androidApps/APP_ID
- PROJECT_IDENTIFIER: the parent Project's
ProjectNumber (recommended) or its ProjectId . Learn more about using project identifiers in Google's AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be the ProjectId .
- APP_ID: the globally unique, Firebase-assigned identifier for the App (see
appId ).
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
Specifies which fields of the AndroidApp to update. Note that the following fields are immutable: name , appId , projectId , and packageName . To update state , use any of the following endpoints: androidApps.remove or androidApps.undelete . This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Request body
The request body contains an instance of AndroidApp
.
Response body
If successful, the response body contains an instance of AndroidApp
.
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.
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-10-24 UTC.
[null,null,["Last updated 2024-10-24 UTC."],[],[],null,["# Method: projects.androidApps.patch\n\nUpdates the attributes of the specified [AndroidApp](/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp).\n\n### HTTP request\n\n`PATCH https://firebase.googleapis.com/v1beta1/{app.name=projects/*/androidApps/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `app.``name` | `string` The resource name of the [AndroidApp](/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp), in the format: `projects/`\u003cvar translate=\"no\"\u003ePROJECT_IDENTIFIER\u003c/var\u003e`/androidApps/`\u003cvar translate=\"no\"\u003eAPP_ID\u003c/var\u003e - \u003cvar translate=\"no\"\u003ePROJECT_IDENTIFIER\u003c/var\u003e: the parent Project's [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510). Note that the value for \u003cvar translate=\"no\"\u003ePROJECT_IDENTIFIER\u003c/var\u003e in any response body will be the `ProjectId`. - \u003cvar translate=\"no\"\u003eAPP_ID\u003c/var\u003e: the globally unique, Firebase-assigned identifier for the App (see [`appId`](../projects.androidApps#AndroidApp.FIELDS.app_id)). |\n\n### Query parameters\n\n| Parameters ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `update``Mask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Specifies which fields of the [AndroidApp](/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp) to update. Note that the following fields are immutable: `name`, `appId`, `projectId`, and `packageName`. To update `state`, use any of the following endpoints: [androidApps.remove](/docs/reference/firebase-management/rest/v1beta1/projects.androidApps/remove#google.firebase.service.v1beta1.AndroidAppService.RemoveAndroidApp) or [androidApps.undelete](/docs/reference/firebase-management/rest/v1beta1/projects.androidApps/undelete#google.firebase.service.v1beta1.AndroidAppService.UndeleteAndroidApp). This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [AndroidApp](/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp).\n\n### Response body\n\nIf successful, the response body contains an instance of [AndroidApp](/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/firebase`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]