[null,null,["最后更新时间 (UTC):2025-08-12。"],[],[],null,["\u003cbr /\u003e\n\nTo install or manage extensions, you must be assigned one of these roles:\n[Owner or Editor](/docs/projects/iam/roles-basic) or\n[Firebase Admin](/docs/projects/iam/roles-predefined-all-products). \nFirebase console Firebase CLI Autogenerated SDK \n\n\u003cbr /\u003e\n\nList a project's installed extension instances\n\nYou can list every instance of the extensions you installed.\n\nRun the extensions-list command: \n\n```\nfirebase ext:list --project=projectId-or-alias\n```\n\nView details and configuration of an installed extension instance\n\n1. Go to your [Firebase Extensions dashboard](https://console.firebase.google.com/project/_/extensions/) in the Firebase console.\n\n2. On the installed extension instance's card, click **Manage**.\n\nMonitor an installed extension instance\n\nIn the Firebase console, you can monitor the activity of an installed\nextension, including checks on its health, usage, and logs.\n\nSet budget alerts\n\nSetting budget alerts is a good practice in general, but alerts may be\nespecially important when you're trusting another party's code to run in your\nproject.\n\nMake sure that you set up\n[budget alerts](/docs/projects/billing/avoid-surprise-bills#set-up-budget-alert-emails)\nfor your Firebase project.\n\nView functions created by extensions\n\n1. Go to your [Functions dashboard](https://console.firebase.google.com/project/_/functions/list) of the Firebase console.\n\n2. In the *Dashboard* tab, you can view the functions from\n Firebase Extensions (alongside any other functions that you've deployed\n for your project).\n\n Functions created by extensions have names, in the format:\n **ext-** \u003cvar translate=\"no\"\u003eextension-instance-id\u003c/var\u003e**-** \u003cvar translate=\"no\"\u003efunctionName\u003c/var\u003e\n\n For example: `ext-awesome-task-simplifier-onUserCreate`\n\nView Cloud Scheduler jobs created by extensions\n\n1. Open your project's [Cloud Scheduler](https://console.cloud.google.com/cloudscheduler?project=_) page\n in the Google Cloud console.\n\n2. In the Jobs list, you can view the Cloud Scheduler jobs from\n Firebase Extensions (alongside any other jobs you've created for your\n project).\n\n Jobs created by extensions have names in the format:\n **firebase-ext-** \u003cvar translate=\"no\"\u003eextension-instance-id\u003c/var\u003e**-** \u003cvar translate=\"no\"\u003efunctionName\u003c/var\u003e\n\n For example: `firebase-ext-awesome-task-simplifier-doTask`\n\nView and manage Cloud Tasks enqueued by extensions\n\nSome extensions use [Cloud Tasks](https://cloud.google.com/tasks/docs/)\nto run longer-running tasks: most commonly, processing tasks that run at various\npoints in an extension's lifecycle---installation, reconfiguration, and\nafter upgrades.\n\nNormally, these tasks run and complete automatically, without your intervention.\nHowever, if you ever need to manually manage an extension's queued\ntasks---for example, to pause the queue or remove from the queue a task that\nhasn't started yet---follow these steps:\n\n1. In the Firebase console [Extensions](//console.firebase.google.com/project/_/extensions)\n section, open the extension instance's details page.\n\n2. On the details page, open the **APIs and resources** section. If the\n extension uses Cloud Tasks, there will be a **Cloud Task queues** section\n with one or more entries.\n\n3. Click **View queue** for the queue you want to manage. This will open the\n Queue Details page in the Google Cloud console, from which you can view\n queued tasks, pause the queue, remove tasks from the queue, and so on. See\n [Manage queues and tasks](https://cloud.google.com/tasks/docs/deleting-appengine-queues-and-tasks)\n in the Cloud Tasks documentation.\n\n | **Note:** You can pause a queue, but if you leave it paused for too long, tasks might fail with authentication errors when you resume the queue. (Task authentication expires an hour after it joins the queue.)\n\n \u003cbr /\u003e\n\n | **Warning:** Don't delete the queue; the extension needs it to operate. If you accidentally delete the queue, you'll have to do the following:\n |\n | \u003cbr /\u003e\n |\n | 1. Install a new instance of the extension.\n | 2. Only after installing the new instance, uninstall the old instance.\n\nView Cloud Secret Manager secrets created by extensions\n\n1. Open your project's [Secret Manager](https://console.cloud.google.com/security/secret-manager?project=_) page\n in the Google Cloud console.\n\n2. In the Secrets list, you can view the secrets created for\n Firebase Extensions (alongside any other secrets you've created for your\n project).\n\n Secrets created by extensions have names in the format:\n **ext-** \u003cvar translate=\"no\"\u003eextension-instance-id\u003c/var\u003e**-** \u003cvar translate=\"no\"\u003eparamnName\u003c/var\u003e\n\n For example: `ext-awesome-task-simplifier-API_KEY`\n\n Secrets are labeled with the key `firebase-extensions-managed`. Don't remove\n this label unless you want to stop Firebase from managing the secret.\n\nCheck if an installed extension is healthy\n\nYou can review all the errors from functions (including those created by\nFirebase Extensions) in the console.\n\n1. In the *Health* tab of your [Functions dashboard](https://console.firebase.google.com/project/_/functions/list), you can\n view an overview of errors and performance information for all functions in\n your project.\n\n2. To view information for a specific extension, use the filter at the top of\n the page to select a specific function.\n\nCheck how often an installed extension is running\n\n1. In the *Dashboard* tab of your [Functions dashboard](https://console.firebase.google.com/project/_/functions/list),\n locate the specific function for the Firebase Extension that\n you want to check.\n\n2. Click more_vert (the overflow menu) on\n the far right-side of the entry, then select **Detailed usage stats**.\n\n3. In the displayed Google Cloud console, you can drill down into various\n invocations of a function and even inspect its source code.\n\nView the logs for an extension\n\nIf you're trying to debug your project, or submit a bug report to Firebase, it's\nuseful to view logs of the functions running in your project.\n\nIn the *Logs* tab of your [Functions dashboard](https://console.firebase.google.com/project/_/functions/list), use the filter at the\ntop of the page to select the functions created by your extension.\n\nUpdate an installed extension instance to the latest version\n\nYou can update an installed instance of an extension to its latest released\nversion. You might want to update an installed instance because the instance is\nalready actively running or set up in your testing, project, or app workflow.\n| **Note:** If you installed an extension using an auto-generated SDK, use the same method to upgrade it, and not the console or CLI.\n\nWhen you update an instance, all the instance's extension-specific resources and\nlogic is overwritten to use the new version's source code and files. The\nextension's instance ID and service account will not change.\n\nDuring the update process, you'll be notified of any changes for the new\nversion, and you'll be able to specify values for any new parameters.\n\n1. Go to your [Firebase Extensions dashboard](https://console.firebase.google.com/project/_/extensions/), then on the installed\n extension instance's card, click **Manage**.\n\n2. In the upper-right corner, click **Update extension**.\n\n If the extension doesn't have an available new version, the details page\n won't have an update button.\n3. Review what's new in the update and configure the extension (if needed).\n\n4. Click **Update extension**.\n\nReconfigure an installed extension instance\n\nYou can change the values of the user-configured parameters for an installed\nextension instance. These new values will be used in any *future* triggers of the\ninstance, but all previous artifacts or structural elements created by the\nextension (like stored images or existing storage buckets) will not be changed.\n| **Note:** If you installed an extension using an auto-generated SDK, use the same method to reconfigure it, and not the console or CLI.\n\n1. Go to your [Firebase Extensions dashboard](https://console.firebase.google.com/project/_/extensions/), then on the installed extension\n instance's card, click **Manage**.\n\n2. In the upper-right corner, click **Reconfigure extension**.\n\n3. Follow the on-screen instructions to reconfigure the parameter values\n for your extension.\n\n4. Click **Save**.\n\n| **Note:** Saving changes for an extension may take the system 3-5 minutes.\n\nUninstall an extension instance\n\nYou can uninstall an instance of an extension from your Firebase project. This action deletes\nthe\n[service account](/docs/extensions/permissions-granted-to-extension#uninstall-extension)\nand all the [resources](/docs/extensions/overview-use-extensions#resources)\n(like a set of functions) that Firebase created specifically for that instance\nof the extension. However, the following are ***not*** deleted:\n\n- Any artifacts created by the extension (like stored images).\n\n- Any other resources in your project, like a database instance or Cloud Storage\n bucket. Even if the extension interacted with these other resources, they\n are not *extension-specific*, so they aren't deleted if the extension is\n uninstalled.\n\nHere's how to uninstall an extension:\n\n1. Go to your [Firebase Extensions dashboard](https://console.firebase.google.com/project/_/extensions/), then on the installed extension\n instance's card, click **Manage**.\n\n2. At the bottom of the screen, click **Uninstall extension**.\n\n3. Review what will be deleted, then click **Uninstall extension** to confirm\n the deletion.\n\n| **Note:** If you installed the extension using the autogenerated SDK, be sure to also remove the instance configuration from your Cloud Functions code."]]