GetServiceBuildConfig

data class GetServiceBuildConfig(val baseImage: String, val enableAutomaticUpdates: Boolean, val environmentVariables: Map<String, String>, val functionTarget: String, val imageUri: String, val name: String, val serviceAccount: String, val sourceLocation: String, val workerPool: String)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The base image used to build the function.

Link copied to clipboard

Sets whether the function will receive automatic base image updates.

Link copied to clipboard

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

Link copied to clipboard

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

Artifact Registry URI to store the built image.

Link copied to clipboard

The name of the Cloud Run v2 Service.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.