Cloud Run Admin v2 API - Class SubmitBuildRequest.Types.BuildpacksBuild (2.12.0)

public sealed class SubmitBuildRequest.Types.BuildpacksBuild : IMessage<SubmitBuildRequest.Types.BuildpacksBuild>, IEquatable<SubmitBuildRequest.Types.BuildpacksBuild>, IDeepCloneable<SubmitBuildRequest.Types.BuildpacksBuild>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Run Admin v2 API class SubmitBuildRequest.Types.BuildpacksBuild.

Build the source using Buildpacks.

Inheritance

object > SubmitBuildRequest.Types.BuildpacksBuild

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

BuildpacksBuild()

public BuildpacksBuild()

BuildpacksBuild(BuildpacksBuild)

public BuildpacksBuild(SubmitBuildRequest.Types.BuildpacksBuild other)
Parameter
Name Description
other SubmitBuildRequestTypesBuildpacksBuild

Properties

BaseImage

public string BaseImage { get; set; }

Optional. The base image used to opt into automatic base image updates.

Property Value
Type Description
string

CacheImageUri

public string CacheImageUri { get; set; }

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.

Property Value
Type Description
string

EnableAutomaticUpdates

public bool EnableAutomaticUpdates { get; set; }

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.

Property Value
Type Description
bool

EnvironmentVariables

public MapField<string, string> EnvironmentVariables { get; }

Optional. User-provided build-time environment variables.

Property Value
Type Description
MapFieldstringstring

FunctionTarget

public string FunctionTarget { get; set; }

Optional. Name of the function target if the source is a function source. Required for function builds.

Property Value
Type Description
string

Runtime

[Obsolete]
public string Runtime { get; set; }

The runtime name, e.g. 'go113'. Leave blank for generic builds.

Property Value
Type Description
string