Show / Hide Table of Contents

Class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions

Optional arguments to enable specific features of builds.

Inheritance
System.Object
ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ContainerAnalysis.v1beta1.Data
Assembly: Google.Apis.ContainerAnalysis.v1beta1.dll
Syntax
public class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions : IDirectResponseSchema

Properties

DiskSizeGb

Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.

Declaration
[JsonProperty("diskSizeGb")]
public virtual long? DiskSizeGb { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

DynamicSubstitutions

Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.

Declaration
[JsonProperty("dynamicSubstitutions")]
public virtual bool? DynamicSubstitutions { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Env

A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".

Declaration
[JsonProperty("env")]
public virtual IList<string> Env { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

ETag

The ETag of the item.

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

Logging

Option to specify the logging mode, which determines if and where build logs are stored.

Declaration
[JsonProperty("logging")]
public virtual string Logging { get; set; }
Property Value
Type Description
System.String

LogStreamingOption

Option to define build log streaming behavior to Google Cloud Storage.

Declaration
[JsonProperty("logStreamingOption")]
public virtual string LogStreamingOption { get; set; }
Property Value
Type Description
System.String

MachineType

Compute Engine machine type on which to run the build.

Declaration
[JsonProperty("machineType")]
public virtual string MachineType { get; set; }
Property Value
Type Description
System.String

Pool

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

Declaration
[JsonProperty("pool")]
public virtual ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption Pool { get; set; }
Property Value
Type Description
ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption

RequestedVerifyOption

Requested verifiability options.

Declaration
[JsonProperty("requestedVerifyOption")]
public virtual string RequestedVerifyOption { get; set; }
Property Value
Type Description
System.String

SecretEnv

A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.

Declaration
[JsonProperty("secretEnv")]
public virtual IList<string> SecretEnv { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

SourceProvenanceHash

Requested hash for SourceProvenance.

Declaration
[JsonProperty("sourceProvenanceHash")]
public virtual IList<string> SourceProvenanceHash { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

SubstitutionOption

Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.

Declaration
[JsonProperty("substitutionOption")]
public virtual string SubstitutionOption { get; set; }
Property Value
Type Description
System.String

Volumes

Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.

Declaration
[JsonProperty("volumes")]
public virtual IList<ContaineranalysisGoogleDevtoolsCloudbuildV1Volume> Volumes { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<ContaineranalysisGoogleDevtoolsCloudbuildV1Volume>

WorkerPool

This field deprecated; please use pool.name instead.

Declaration
[JsonProperty("workerPool")]
public virtual string WorkerPool { get; set; }
Property Value
Type Description
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top