GetServiceBuildConfig class

Constructors

GetServiceBuildConfig({required Input<String> baseImage, required Input<bool> enableAutomaticUpdates, required Input<Map<String, String>> environmentVariables, required Input<String> functionTarget, required Input<String> imageUri, required Input<String> name, required Input<String> serviceAccount, required Input<String> sourceLocation, 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.
const
GetServiceBuildConfig.fromMap(Map<String, dynamic> map)
factory

Properties

baseImage → Input<String>
The base image used to build the function.
final
enableAutomaticUpdates → Input<bool>
Sets whether the function will receive automatic base image updates.
final
environmentVariables → Input<Map<String, String>>
User-provided build-time environment variables for the function.
final
functionTarget → 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".
final
hashCode → int
The hash code for this object.
no setterinherited
imageUri → Input<String>
Artifact Registry URI to store the built image.
final
name → Input<String>
The name of the Cloud Run v2 Service.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount → Input<String>
Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
final
sourceLocation → Input<String>
The Cloud Storage bucket URI where the function source code is located.
final
workerPool → Input<String>
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited