GetFunctionBuildConfig class
Constructors
-
GetFunctionBuildConfig({required Input<List<Map<String, dynamic>>> automaticUpdatePolicies, required Input<String> build, required Input<String> dockerRepository, required Input<String> entryPoint, required Input<Map<String, String>> environmentVariables, required Input<List<GetFunctionBuildConfigOnDeployUpdatePolicy>> onDeployUpdatePolicies, required Input<String> runtime, required Input<String> serviceAccount, required Input<List<GetFunctionBuildConfigSource>> sources, required Input<String> workerPool})
-
Creates a new GetFunctionBuildConfig.
automaticUpdatePolicies Security patches are applied automatically to the runtime without requiring
build The Cloud Build name of the latest successful
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.
onDeployUpdatePolicies 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.
sources 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
-
GetFunctionBuildConfig.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
automaticUpdatePolicies
→ Input<List<Map<String, dynamic>>>
-
Security patches are applied automatically to the runtime without requiring
the function to be redeployed.
final
-
build
→ Input<String>
-
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
-
onDeployUpdatePolicies
→ Input<List<GetFunctionBuildConfigOnDeployUpdatePolicy>>
-
Security patches are only applied when a function is redeployed.
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
-
sources
→ Input<List<GetFunctionBuildConfigSource>>
-
The location of the function source code.
final
-
workerPool
→ Input<String>
-
Name of the Cloud Build Custom Worker Pool that should be used to build the function.
final