Cloud Run Admin v2 API - Class SubmitBuildRequest (2.10.0)

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

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

Request message for submitting a Build.

Inheritance

object > SubmitBuildRequest

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

SubmitBuildRequest()

public SubmitBuildRequest()

SubmitBuildRequest(SubmitBuildRequest)

public SubmitBuildRequest(SubmitBuildRequest other)
Parameter
Name Description
other SubmitBuildRequest

Properties

BuildTypeCase

public SubmitBuildRequest.BuildTypeOneofCase BuildTypeCase { get; }
Property Value
Type Description
SubmitBuildRequestBuildTypeOneofCase

BuildpackBuild

public SubmitBuildRequest.Types.BuildpacksBuild BuildpackBuild { get; set; }

Build the source using Buildpacks.

Property Value
Type Description
SubmitBuildRequestTypesBuildpacksBuild

DockerBuild

public SubmitBuildRequest.Types.DockerBuild DockerBuild { get; set; }

Build the source using Docker. This means the source has a Dockerfile.

Property Value
Type Description
SubmitBuildRequestTypesDockerBuild

ImageUri

public string ImageUri { get; set; }

Required. Artifact Registry URI to store the built image.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The project and location to build in. Location must be a region, e.g., 'us-central1' or 'global' if the global builder is to be used. Format: projects/{project}/locations/{location}

Property Value
Type Description
string

ServiceAccount

public string ServiceAccount { get; set; }

Optional. The service account to use for the build. If not set, the default Cloud Build service account for the project will be used.

Property Value
Type Description
string

SourceCase

public SubmitBuildRequest.SourceOneofCase SourceCase { get; }
Property Value
Type Description
SubmitBuildRequestSourceOneofCase

StorageSource

public StorageSource StorageSource { get; set; }

Required. Source for the build.

Property Value
Type Description
StorageSource

Tags

public RepeatedField<string> Tags { get; }

Optional. Additional tags to annotate the build.

Property Value
Type Description
RepeatedFieldstring

WorkerPool

public string WorkerPool { get; set; }

Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.

Property Value
Type Description
string

WorkerPoolAsWorkerPoolName

public WorkerPoolName WorkerPoolAsWorkerPoolName { get; set; }

WorkerPoolName-typed view over the WorkerPool resource name property.

Property Value
Type Description
WorkerPoolName