ServiceBuildConfigArgs

data class ServiceBuildConfigArgs(val baseImage: Output<String>? = null, val enableAutomaticUpdates: Output<Boolean>? = null, val environmentVariables: Output<Map<String, String>>? = null, val functionTarget: Output<String>? = null, val imageUri: Output<String>? = null, val name: Output<String>? = null, val serviceAccount: Output<String>? = null, val sourceLocation: Output<String>? = null, val workerPool: Output<String>? = null) : ConvertibleToJava<ServiceBuildConfigArgs>

Constructors

Link copied to clipboard
constructor(baseImage: Output<String>? = null, enableAutomaticUpdates: Output<Boolean>? = null, environmentVariables: Output<Map<String, String>>? = null, functionTarget: Output<String>? = null, imageUri: Output<String>? = null, name: Output<String>? = null, serviceAccount: Output<String>? = null, sourceLocation: Output<String>? = null, workerPool: Output<String>? = null)

Properties

Link copied to clipboard
val baseImage: Output<String>? = null

The base image used to build the function.

Link copied to clipboard
val enableAutomaticUpdates: Output<Boolean>? = null

Sets whether the function will receive automatic base image updates.

Link copied to clipboard
val environmentVariables: Output<Map<String, String>>? = null

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

Link copied to clipboard
val functionTarget: Output<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".

Link copied to clipboard
val imageUri: Output<String>? = null

Artifact Registry URI to store the built image.

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val serviceAccount: Output<String>? = null

Service account to be used for building the container. The format of this field is projects/{projectId}/serviceAccounts/{serviceAccountEmail}.

Link copied to clipboard
val sourceLocation: Output<String>? = null

The Cloud Storage bucket URI where the function source code is located.

Link copied to clipboard
val workerPool: Output<String>? = null

Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.

Functions

Link copied to clipboard
open override fun toJava(): ServiceBuildConfigArgs