Class BuildpacksBuild (0.10.9)

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 used to opt into automatic base image updates.
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.

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.