Cloud Run V2 API - Class Google::Cloud::Run::V2::SubmitBuildRequest::BuildpacksBuild (v0.18.0)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::SubmitBuildRequest::BuildpacksBuild.

Build the source using Buildpacks.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#base_image

def base_image() -> ::String
Returns
  • (::String) — Optional. The base image used to opt into automatic base image updates.

#base_image=

def base_image=(value) -> ::String
Parameter
  • value (::String) — Optional. The base image used to opt into automatic base image updates.
Returns
  • (::String) — Optional. The base image used to opt into automatic base image updates.

#cache_image_uri

def cache_image_uri() -> ::String
Returns
  • (::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.

#cache_image_uri=

def cache_image_uri=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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

def enable_automatic_updates() -> ::Boolean
Returns
  • (::Boolean) — 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.

#enable_automatic_updates=

def enable_automatic_updates=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.
Returns
  • (::Boolean) — 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

def environment_variables() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User-provided build-time environment variables.

#environment_variables=

def environment_variables=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-provided build-time environment variables.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User-provided build-time environment variables.

#function_target

def function_target() -> ::String
Returns
  • (::String) — Optional. Name of the function target if the source is a function source. Required for function builds.

#function_target=

def function_target=(value) -> ::String
Parameter
  • value (::String) — Optional. Name of the function target if the source is a function source. Required for function builds.
Returns
  • (::String) — Optional. Name of the function target if the source is a function source. Required for function builds.

#runtime

def runtime() -> ::String
Returns
  • (::String) — The runtime name, e.g. 'go113'. Leave blank for generic builds.

#runtime=

def runtime=(value) -> ::String
Parameter
  • value (::String) — The runtime name, e.g. 'go113'. Leave blank for generic builds.
Returns
  • (::String) — The runtime name, e.g. 'go113'. Leave blank for generic builds.