# Class BuildpacksBuild (0.16.1)

0.16.1 (latest) 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.19 0.9.1 0.8.1 0.7.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0

    BuildpacksBuild(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Build the source using Buildpacks.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `runtime` | `str` The runtime name, e.g. 'go113'. Leave blank for generic builds. |
| `function_target` | `str` Optional. Name of the function target if the source is a function source. Required for function builds. |
| `cache_image_uri` | `str` Optional. cache_image_uri is the GCR/AR URL where the cache image will be stored. cache_image_uri is optional and omitting it will disable caching. This URL must be stable across builds. It is used to derive a build-specific temporary URL by substituting the tag with the build ID. The build will clean up the temporary image on a best-effort basis. |
| `base_image` | `str` Optional. The base image to use for the build. |
| `environment_variables` | `MutableMapping[str, str]` Optional. User-provided build-time environment variables. |
| `enable_automatic_updates` | `bool` Optional. Whether or not the application container will be enrolled in automatic base image updates. When true, the application will be built on a scratch base image, so the base layers can be appended at run time. |
| `project_descriptor` | `str` Optional. project_descriptor stores the path to the project descriptor file. When empty, it means that there is no project descriptor file in the source. |

## Classes

### EnvironmentVariablesEntry

    EnvironmentVariablesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |