GetServiceBuildConfig constructor

const GetServiceBuildConfig({
  1. required Input<String> baseImage,
  2. required Input<bool> enableAutomaticUpdates,
  3. required Input<Map<String, String>> environmentVariables,
  4. required Input<String> functionTarget,
  5. required Input<String> imageUri,
  6. required Input<String> name,
  7. required Input<String> serviceAccount,
  8. required Input<String> sourceLocation,
  9. required Input<String> workerPool,
})

Creates a new GetServiceBuildConfig. baseImage The base image used to build the function. enableAutomaticUpdates Sets whether the function will receive automatic base image updates. environmentVariables User-provided build-time environment variables for the function. functionTarget 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". imageUri Artifact Registry URI to store the built image. name The name of the Cloud Run v2 Service. serviceAccount Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'. sourceLocation The Cloud Storage bucket URI where the function source code is located. workerPool 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.

Implementation

const GetServiceBuildConfig({
  required this.baseImage,
  required this.enableAutomaticUpdates,
  required this.environmentVariables,
  required this.functionTarget,
  required this.imageUri,
  required this.name,
  required this.serviceAccount,
  required this.sourceLocation,
  required this.workerPool,
});