FunctionBuildConfig class

Constructors

FunctionBuildConfig({Input<Map<String, dynamic>?>? automaticUpdatePolicy, Input<String?>? build, Input<String?>? dockerRepository, Input<String?>? entryPoint, Input<Map<String, String>?>? environmentVariables, Input<FunctionBuildConfigOnDeployUpdatePolicy?>? onDeployUpdatePolicy, Input<String?>? runtime, Input<String?>? serviceAccount, Input<FunctionBuildConfigSource?>? source, Input<String?>? workerPool})
Creates a new FunctionBuildConfig. automaticUpdatePolicy Security patches are applied automatically to the runtime without requiring build (Output) dockerRepository User managed repository created in Artifact Registry optionally with a customer managed encryption key. entryPoint The name of the function (as defined in source code) that will be executed. environmentVariables User-provided build-time environment variables for the function. onDeployUpdatePolicy Security patches are only applied when a function is redeployed. runtime The runtime in which to run the function. Required when deploying a new serviceAccount The fully-qualified name of the service account to be used for building the container. source The location of the function source code. workerPool Name of the Cloud Build Custom Worker Pool that should be used to build the function.
const
FunctionBuildConfig.fromMap(Map<String, dynamic> map)
factory

Properties

automaticUpdatePolicy → Input<Map<String, dynamic>?>?
Security patches are applied automatically to the runtime without requiring the function to be redeployed.
final
build → Input<String?>?
(Output) The Cloud Build name of the latest successful deployment of the function.
final
dockerRepository → Input<String?>?
User managed repository created in Artifact Registry optionally with a customer managed encryption key.
final
entryPoint → Input<String?>?
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.
final
environmentVariables → Input<Map<String, String>?>?
User-provided build-time environment variables for the function.
final
hashCode → int
The hash code for this object.
no setterinherited
onDeployUpdatePolicy → Input<FunctionBuildConfigOnDeployUpdatePolicy?>?
Security patches are only applied when a function is redeployed. Structure is documented below.
final
runtime → Input<String?>?
The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount → Input<String?>?
The fully-qualified name of the service account to be used for building the container.
final
source → Input<FunctionBuildConfigSource?>?
The location of the function source code. Structure is documented below.
final
workerPool → Input<String?>?
Name of the Cloud Build Custom Worker Pool that should be used to build the function.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited