DeploymentOptions interface
Stay organized with collections
Save and categorize content based on your preferences.
Configuration options for a function that applies during function deployment.
Signature:
export interface DeploymentOptions extends RuntimeOptions
Extends: RuntimeOptions
Properties
DeploymentOptions.omit
If true, do not deploy or emulate this function.
Signature:
omit?: boolean | Expression<boolean>;
DeploymentOptions.regions
Regions where function should be deployed.
Signature:
regions?: Array<(typeof SUPPORTED_REGIONS)[number] | string | Expression<string> | ResetValue>;
DeploymentOptions.schedule
Schedule for the scheduled function.
Signature:
schedule?: Schedule;
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 2023-04-24 UTC.
[null,null,["Last updated 2023-04-24 UTC."],[],[],null,["Configuration options for a function that applies during function deployment.\n\n**Signature:** \n\n export interface DeploymentOptions extends RuntimeOptions \n\n**Extends:** [RuntimeOptions](./firebase-functions.runtimeoptions.md#runtimeoptions_interface)\n\nProperties\n\nDeploymentOptions.omit\n\nIf true, do not deploy or emulate this function.\n\n**Signature:** \n\n omit?: boolean | Expression\u003cboolean\u003e;\n\nDeploymentOptions.regions\n\nRegions where function should be deployed.\n\n**Signature:** \n\n regions?: Array\u003c(typeof SUPPORTED_REGIONS)[number] | string | Expression\u003cstring\u003e | ResetValue\u003e;\n\nDeploymentOptions.schedule\n\nSchedule for the scheduled function.\n\n**Signature:** \n\n schedule?: Schedule;"]]