Class GoogleCloudRunV2SubmitBuildRequest
Request message for submitting a Build.
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v2.Data
Assembly: Google.Apis.CloudRun.v2.dll
Syntax
public class GoogleCloudRunV2SubmitBuildRequest : IDirectResponseSchema
Properties
BuildpackBuild
Build the source using Buildpacks.
Declaration
[JsonProperty("buildpackBuild")]
public virtual GoogleCloudRunV2BuildpacksBuild BuildpackBuild { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRunV2BuildpacksBuild |
DockerBuild
Build the source using Docker. This means the source has a Dockerfile.
Declaration
[JsonProperty("dockerBuild")]
public virtual GoogleCloudRunV2DockerBuild DockerBuild { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRunV2DockerBuild |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageUri
Required. Artifact Registry URI to store the built image.
Declaration
[JsonProperty("imageUri")]
public virtual string ImageUri { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceAccount
Optional. The service account to use for the build. If not set, the default Cloud Build service account for the project will be used.
Declaration
[JsonProperty("serviceAccount")]
public virtual string ServiceAccount { get; set; }
Property Value
Type | Description |
---|---|
string |
StorageSource
Required. Source for the build.
Declaration
[JsonProperty("storageSource")]
public virtual GoogleCloudRunV2StorageSource StorageSource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRunV2StorageSource |
Tags
Optional. Additional tags to annotate the build.
Declaration
[JsonProperty("tags")]
public virtual IList<string> Tags { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
WorkerPool
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.
Declaration
[JsonProperty("workerPool")]
public virtual string WorkerPool { get; set; }
Property Value
Type | Description |
---|---|
string |