Show / Hide Table of Contents

Class GoogleCloudRunV2BuildConfig

Describes the Build step of the function that builds a container from the given source.

Inheritance
object
GoogleCloudRunV2BuildConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudRun.v2.Data
Assembly: Google.Apis.CloudRun.v2.dll
Syntax
public class GoogleCloudRunV2BuildConfig : IDirectResponseSchema

Properties

BaseImage

Optional. The base image used to build the function.

Declaration
[JsonProperty("baseImage")]
public virtual string BaseImage { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EnableAutomaticUpdates

Optional. Sets whether the function will receive automatic base image updates.

Declaration
[JsonProperty("enableAutomaticUpdates")]
public virtual bool? EnableAutomaticUpdates { get; set; }
Property Value
Type Description
bool?

EnvironmentVariables

Optional. User-provided build-time environment variables for the function

Declaration
[JsonProperty("environmentVariables")]
public virtual IDictionary<string, string> EnvironmentVariables { get; set; }
Property Value
Type Description
IDictionary<string, string>

FunctionTarget

Optional. The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".

Declaration
[JsonProperty("functionTarget")]
public virtual string FunctionTarget { get; set; }
Property Value
Type Description
string

ImageUri

Optional. Artifact Registry URI to store the built image.

Declaration
[JsonProperty("imageUri")]
public virtual string ImageUri { get; set; }
Property Value
Type Description
string

Name

Output only. The Cloud Build name of the latest successful deployment of the function.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

ServiceAccount

Optional. Service account to be used for building the container. The format of this field is projects/{projectId}/serviceAccounts/{serviceAccountEmail}.

Declaration
[JsonProperty("serviceAccount")]
public virtual string ServiceAccount { get; set; }
Property Value
Type Description
string

SourceLocation

The Cloud Storage bucket URI where the function source code is located.

Declaration
[JsonProperty("sourceLocation")]
public virtual string SourceLocation { get; set; }
Property Value
Type Description
string

WorkerPool

Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run 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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX