DeploymentOptions interface

Configuration options for a function that applies during function deployment.

Signature:

exportinterfaceDeploymentOptionsextendsRuntimeOptions

Extends:RuntimeOptions

Properties

PropertyTypeDescription
omitboolean |Expression<boolean>If true, do not deploy or emulate this function.
regionsArray<(typeofSUPPORTED_REGIONS)[number] | string |Expression<string> | ResetValue>Regions where function should be deployed.
scheduleScheduleSchedule for the scheduled function.

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<(typeofSUPPORTED_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 theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-04-24 UTC.