public final class GoogleDevtoolsCloudbuildV1BuildOptions
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Run Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleDevtoolsCloudbuildV1BuildOptions() |
| Modifier and Type | Method and Description |
|---|---|
GoogleDevtoolsCloudbuildV1BuildOptions |
clone() |
Boolean |
getAutomapSubstitutions()
Option to include built-in and custom substitutions as env variables for all build steps.
|
String |
getDefaultLogsBucketBehavior()
Optional.
|
Long |
getDiskSizeGb()
Requested disk size for the VM that runs the build.
|
Boolean |
getDynamicSubstitutions()
Option to specify whether or not to apply bash style string operations to the substitutions.
|
Boolean |
getEnableStructuredLogging()
Optional.
|
List<String> |
getEnv()
A list of global environment variable definitions that will exist for all build steps in this
build.
|
String |
getLogging()
Option to specify the logging mode, which determines if and where build logs are stored.
|
String |
getLogStreamingOption()
Option to define build log streaming behavior to Cloud Storage.
|
String |
getMachineType()
Compute Engine machine type on which to run the build.
|
GoogleDevtoolsCloudbuildV1PoolOption |
getPool()
Optional.
|
String |
getPubsubTopic()
Optional.
|
String |
getRequestedVerifyOption()
Requested verifiability options.
|
List<String> |
getSecretEnv()
A list of global environment variables, which are encrypted using a Cloud Key Management
Service crypto key.
|
List<String> |
getSourceProvenanceHash()
Requested hash for SourceProvenance.
|
String |
getSubstitutionOption()
Option to specify behavior when there is an error in the substitution checks.
|
List<GoogleDevtoolsCloudbuildV1Volume> |
getVolumes()
Global list of volumes to mount for ALL build steps Each volume is created as an empty volume
prior to starting the build process.
|
String |
getWorkerPool()
This field deprecated; please use `pool.name` instead.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
set(String fieldName,
Object value) |
GoogleDevtoolsCloudbuildV1BuildOptions |
setAutomapSubstitutions(Boolean automapSubstitutions)
Option to include built-in and custom substitutions as env variables for all build steps.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setDefaultLogsBucketBehavior(String defaultLogsBucketBehavior)
Optional.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setDiskSizeGb(Long diskSizeGb)
Requested disk size for the VM that runs the build.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setDynamicSubstitutions(Boolean dynamicSubstitutions)
Option to specify whether or not to apply bash style string operations to the substitutions.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setEnableStructuredLogging(Boolean enableStructuredLogging)
Optional.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setEnv(List<String> env)
A list of global environment variable definitions that will exist for all build steps in this
build.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setLogging(String logging)
Option to specify the logging mode, which determines if and where build logs are stored.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setLogStreamingOption(String logStreamingOption)
Option to define build log streaming behavior to Cloud Storage.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setMachineType(String machineType)
Compute Engine machine type on which to run the build.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setPool(GoogleDevtoolsCloudbuildV1PoolOption pool)
Optional.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setPubsubTopic(String pubsubTopic)
Optional.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setRequestedVerifyOption(String requestedVerifyOption)
Requested verifiability options.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setSecretEnv(List<String> secretEnv)
A list of global environment variables, which are encrypted using a Cloud Key Management
Service crypto key.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setSourceProvenanceHash(List<String> sourceProvenanceHash)
Requested hash for SourceProvenance.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setSubstitutionOption(String substitutionOption)
Option to specify behavior when there is an error in the substitution checks.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setVolumes(List<GoogleDevtoolsCloudbuildV1Volume> 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.
|
GoogleDevtoolsCloudbuildV1BuildOptions |
setWorkerPool(String workerPool)
This field deprecated; please use `pool.name` instead.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleDevtoolsCloudbuildV1BuildOptions()
public Boolean getAutomapSubstitutions()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setAutomapSubstitutions(Boolean automapSubstitutions)
automapSubstitutions - automapSubstitutions or null for nonepublic String getDefaultLogsBucketBehavior()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setDefaultLogsBucketBehavior(String defaultLogsBucketBehavior)
defaultLogsBucketBehavior - defaultLogsBucketBehavior or null for nonepublic Long getDiskSizeGb()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setDiskSizeGb(Long diskSizeGb)
diskSizeGb - diskSizeGb or null for nonepublic Boolean getDynamicSubstitutions()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setDynamicSubstitutions(Boolean dynamicSubstitutions)
dynamicSubstitutions - dynamicSubstitutions or null for nonepublic Boolean getEnableStructuredLogging()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setEnableStructuredLogging(Boolean enableStructuredLogging)
enableStructuredLogging - enableStructuredLogging or null for nonepublic List<String> getEnv()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setEnv(List<String> env)
env - env or null for nonepublic String getLogStreamingOption()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setLogStreamingOption(String logStreamingOption)
logStreamingOption - logStreamingOption or null for nonepublic String getLogging()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setLogging(String logging)
logging - logging or null for nonepublic String getMachineType()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setMachineType(String machineType)
machineType - machineType or null for nonepublic GoogleDevtoolsCloudbuildV1PoolOption getPool()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setPool(GoogleDevtoolsCloudbuildV1PoolOption pool)
pool - pool or null for nonepublic String getPubsubTopic()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setPubsubTopic(String pubsubTopic)
pubsubTopic - pubsubTopic or null for nonepublic String getRequestedVerifyOption()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setRequestedVerifyOption(String requestedVerifyOption)
requestedVerifyOption - requestedVerifyOption or null for nonepublic List<String> getSecretEnv()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setSecretEnv(List<String> secretEnv)
secretEnv - secretEnv or null for nonepublic List<String> getSourceProvenanceHash()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setSourceProvenanceHash(List<String> sourceProvenanceHash)
sourceProvenanceHash - sourceProvenanceHash or null for nonepublic String getSubstitutionOption()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setSubstitutionOption(String substitutionOption)
substitutionOption - substitutionOption or null for nonepublic List<GoogleDevtoolsCloudbuildV1Volume> getVolumes()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setVolumes(List<GoogleDevtoolsCloudbuildV1Volume> volumes)
volumes - volumes or null for nonepublic String getWorkerPool()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions setWorkerPool(String workerPool)
workerPool - workerPool or null for nonepublic GoogleDevtoolsCloudbuildV1BuildOptions set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleDevtoolsCloudbuildV1BuildOptions clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.