FunctionBuildConfig

data class FunctionBuildConfig(val build: String? = null, val dockerRepository: String? = null, val entryPoint: String? = null, val environmentVariables: Map<String, String>? = null, val runtime: String? = null, val source: FunctionBuildConfigSource? = null, val workerPool: String? = null)

Constructors

Link copied to clipboard
constructor(build: String? = null, dockerRepository: String? = null, entryPoint: String? = null, environmentVariables: Map<String, String>? = null, runtime: String? = null, source: FunctionBuildConfigSource? = null, workerPool: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val build: String? = null

(Output) The Cloud Build name of the latest successful deployment of the function.

Link copied to clipboard

User managed repository created in Artifact Registry optionally with a customer managed encryption key.

Link copied to clipboard
val entryPoint: String? = null

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.

Link copied to clipboard

User-provided build-time environment variables for the function.

Link copied to clipboard
val runtime: String? = null

The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.

Link copied to clipboard

The location of the function source code. Structure is documented below.

Link copied to clipboard
val workerPool: String? = null

Name of the Cloud Build Custom Worker Pool that should be used to build the function.