ServiceBuildConfig class

Constructors

ServiceBuildConfig({Input<String?>? baseImage, Input<bool?>? enableAutomaticUpdates, Input<Map<String, String>?>? environmentVariables, Input<String?>? functionTarget, Input<String?>? imageUri, Input<String?>? name, Input<String?>? serviceAccount, Input<String?>? sourceLocation, Input<String?>? workerPool})
Creates a new ServiceBuildConfig. 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 (Output) 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
ServiceBuildConfig.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?>?
(Output) The Cloud Build name of the latest successful deployment of the function.
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