pub struct GoogleCloudRunV2BuildpacksBuild {
pub base_image: Option<String>,
pub cache_image_uri: Option<String>,
pub enable_automatic_updates: Option<bool>,
pub environment_variables: Option<HashMap<String, String>>,
pub function_target: Option<String>,
pub project_descriptor: Option<String>,
pub runtime: Option<String>,
}Expand description
Build the source using Buildpacks.
This type is not used in any activity, and only used as part of another schema.
Fields§
§base_image: Option<String>Optional. The base image to use for the build.
cache_image_uri: Option<String>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.
enable_automatic_updates: Option<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.
environment_variables: Option<HashMap<String, String>>Optional. User-provided build-time environment variables.
function_target: Option<String>Optional. Name of the function target if the source is a function source. Required for function builds.
project_descriptor: Option<String>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.
runtime: Option<String>The runtime name, e.g. ‘go113’. Leave blank for generic builds.
Trait Implementations§
Source§impl Clone for GoogleCloudRunV2BuildpacksBuild
impl Clone for GoogleCloudRunV2BuildpacksBuild
Source§fn clone(&self) -> GoogleCloudRunV2BuildpacksBuild
fn clone(&self) -> GoogleCloudRunV2BuildpacksBuild
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more