environment property

String? environment
getter/setter pair

The function environment the generated upload url will be used for.

The upload url for 2nd Gen functions can also be used for 1st gen functions, but not vice versa. If not specified, 2nd generation-style upload URLs are generated. Possible string values are:

  • "ENVIRONMENT_UNSPECIFIED" : Unspecified
  • "GEN_1" : Gen 1
  • "GEN_2" : Gen 2

Implementation

core.String? environment;