public final class GoogleDevtoolsCloudbuildV1BuildStep
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 |
|---|
GoogleDevtoolsCloudbuildV1BuildStep() |
| Modifier and Type | Method and Description |
|---|---|
GoogleDevtoolsCloudbuildV1BuildStep |
clone() |
List<Integer> |
getAllowExitCodes()
Allow this build step to fail without failing the entire build if and only if the exit code is
one of the specified codes.
|
Boolean |
getAllowFailure()
Allow this build step to fail without failing the entire build.
|
List<String> |
getArgs()
A list of arguments that will be presented to the step when it is started.
|
Boolean |
getAutomapSubstitutions()
Option to include built-in and custom substitutions as env variables for this build step.
|
String |
getDir()
Working directory to use when running this step's container.
|
String |
getEntrypoint()
Entrypoint to be used instead of the build step image's default entrypoint.
|
List<String> |
getEnv()
A list of environment variable definitions to be used when running a step.
|
Integer |
getExitCode()
Output only.
|
String |
getId()
Unique identifier for this build step, used in `wait_for` to reference this build step as a
dependency.
|
String |
getName()
Required.
|
GoogleDevtoolsCloudbuildV1TimeSpan |
getPullTiming()
Output only.
|
String |
getScript()
A shell script to be executed in the step.
|
List<String> |
getSecretEnv()
A list of environment variables which are encrypted using a Cloud Key Management Service crypto
key.
|
String |
getStatus()
Output only.
|
String |
getTimeout()
Time limit for executing this build step.
|
GoogleDevtoolsCloudbuildV1TimeSpan |
getTiming()
Output only.
|
List<GoogleDevtoolsCloudbuildV1Volume> |
getVolumes()
List of volumes to mount into the build step.
|
List<String> |
getWaitFor()
The ID(s) of the step(s) that this build step depends on.
|
GoogleDevtoolsCloudbuildV1BuildStep |
set(String fieldName,
Object value) |
GoogleDevtoolsCloudbuildV1BuildStep |
setAllowExitCodes(List<Integer> allowExitCodes)
Allow this build step to fail without failing the entire build if and only if the exit code is
one of the specified codes.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setAllowFailure(Boolean allowFailure)
Allow this build step to fail without failing the entire build.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setArgs(List<String> args)
A list of arguments that will be presented to the step when it is started.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setAutomapSubstitutions(Boolean automapSubstitutions)
Option to include built-in and custom substitutions as env variables for this build step.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setDir(String dir)
Working directory to use when running this step's container.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setEntrypoint(String entrypoint)
Entrypoint to be used instead of the build step image's default entrypoint.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setEnv(List<String> env)
A list of environment variable definitions to be used when running a step.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setExitCode(Integer exitCode)
Output only.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setId(String id)
Unique identifier for this build step, used in `wait_for` to reference this build step as a
dependency.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setName(String name)
Required.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setPullTiming(GoogleDevtoolsCloudbuildV1TimeSpan pullTiming)
Output only.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setScript(String script)
A shell script to be executed in the step.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setSecretEnv(List<String> secretEnv)
A list of environment variables which are encrypted using a Cloud Key Management Service crypto
key.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setStatus(String status)
Output only.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setTimeout(String timeout)
Time limit for executing this build step.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setTiming(GoogleDevtoolsCloudbuildV1TimeSpan timing)
Output only.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setVolumes(List<GoogleDevtoolsCloudbuildV1Volume> volumes)
List of volumes to mount into the build step.
|
GoogleDevtoolsCloudbuildV1BuildStep |
setWaitFor(List<String> waitFor)
The ID(s) of the step(s) that this build step depends on.
|
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 List<Integer> getAllowExitCodes()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setAllowExitCodes(List<Integer> allowExitCodes)
allowExitCodes - allowExitCodes or null for nonepublic Boolean getAllowFailure()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setAllowFailure(Boolean allowFailure)
allowFailure - allowFailure or null for nonepublic List<String> getArgs()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setArgs(List<String> args)
args - args or null for nonepublic Boolean getAutomapSubstitutions()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setAutomapSubstitutions(Boolean automapSubstitutions)
automapSubstitutions - automapSubstitutions or null for nonepublic String getDir()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setDir(String dir)
dir - dir or null for nonepublic String getEntrypoint()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setEntrypoint(String entrypoint)
entrypoint - entrypoint or null for nonepublic List<String> getEnv()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setEnv(List<String> env)
env - env or null for nonepublic Integer getExitCode()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setExitCode(Integer exitCode)
exitCode - exitCode or null for nonepublic String getId()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setId(String id)
id - id or null for nonepublic String getName()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setName(String name)
name - name or null for nonepublic GoogleDevtoolsCloudbuildV1TimeSpan getPullTiming()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setPullTiming(GoogleDevtoolsCloudbuildV1TimeSpan pullTiming)
pullTiming - pullTiming or null for nonepublic String getScript()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setScript(String script)
script - script or null for nonepublic List<String> getSecretEnv()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setSecretEnv(List<String> secretEnv)
secretEnv - secretEnv or null for nonepublic String getStatus()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setStatus(String status)
status - status or null for nonepublic String getTimeout()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setTimeout(String timeout)
timeout - timeout or null for nonepublic GoogleDevtoolsCloudbuildV1TimeSpan getTiming()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setTiming(GoogleDevtoolsCloudbuildV1TimeSpan timing)
timing - timing or null for nonepublic List<GoogleDevtoolsCloudbuildV1Volume> getVolumes()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setVolumes(List<GoogleDevtoolsCloudbuildV1Volume> volumes)
volumes - volumes or null for nonepublic List<String> getWaitFor()
null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep setWaitFor(List<String> waitFor)
waitFor - waitFor or null for nonepublic GoogleDevtoolsCloudbuildV1BuildStep set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleDevtoolsCloudbuildV1BuildStep clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.