public final class Build
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 Build 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 |
|---|
Build() |
| Modifier and Type | Method and Description |
|---|---|
Build |
clone() |
BuildApproval |
getApproval()
Output only.
|
Artifacts |
getArtifacts()
Artifacts produced by the build that should be uploaded upon successful completion of all build
steps.
|
Secrets |
getAvailableSecrets()
Secrets and secret environment variables.
|
String |
getBuildTriggerId()
Output only.
|
String |
getCreateTime()
Output only.
|
FailureInfo |
getFailureInfo()
Output only.
|
String |
getFinishTime()
Output only.
|
GitConfig |
getGitConfig()
Optional.
|
String |
getId()
Output only.
|
List<String> |
getImages()
A list of images to be pushed upon the successful completion of all build steps.
|
String |
getLogsBucket()
Cloud Storage bucket where logs should be written (see [Bucket Name
Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
|
String |
getLogUrl()
Output only.
|
String |
getName()
Output only.
|
BuildOptions |
getOptions()
Special options for this build.
|
String |
getProjectId()
Output only.
|
String |
getQueueTtl()
TTL in queue for this build.
|
Results |
getResults()
Output only.
|
List<Secret> |
getSecrets()
Secrets to decrypt using Cloud Key Management Service.
|
String |
getServiceAccount()
IAM service account whose credentials will be used at build runtime.
|
Source |
getSource()
The location of the source files to build.
|
SourceProvenance |
getSourceProvenance()
Output only.
|
String |
getStartTime()
Output only.
|
String |
getStatus()
Output only.
|
String |
getStatusDetail()
Output only.
|
List<BuildStep> |
getSteps()
Required.
|
Map<String,String> |
getSubstitutions()
Substitutions data for `Build` resource.
|
List<String> |
getTags()
Tags for annotation of a `Build`.
|
String |
getTimeout()
Amount of time that this build should be allowed to run, to second granularity.
|
Map<String,TimeSpan> |
getTiming()
Output only.
|
List<Warning> |
getWarnings()
Output only.
|
Build |
set(String fieldName,
Object value) |
Build |
setApproval(BuildApproval approval)
Output only.
|
Build |
setArtifacts(Artifacts artifacts)
Artifacts produced by the build that should be uploaded upon successful completion of all build
steps.
|
Build |
setAvailableSecrets(Secrets availableSecrets)
Secrets and secret environment variables.
|
Build |
setBuildTriggerId(String buildTriggerId)
Output only.
|
Build |
setCreateTime(String createTime)
Output only.
|
Build |
setFailureInfo(FailureInfo failureInfo)
Output only.
|
Build |
setFinishTime(String finishTime)
Output only.
|
Build |
setGitConfig(GitConfig gitConfig)
Optional.
|
Build |
setId(String id)
Output only.
|
Build |
setImages(List<String> images)
A list of images to be pushed upon the successful completion of all build steps.
|
Build |
setLogsBucket(String logsBucket)
Cloud Storage bucket where logs should be written (see [Bucket Name
Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
|
Build |
setLogUrl(String logUrl)
Output only.
|
Build |
setName(String name)
Output only.
|
Build |
setOptions(BuildOptions options)
Special options for this build.
|
Build |
setProjectId(String projectId)
Output only.
|
Build |
setQueueTtl(String queueTtl)
TTL in queue for this build.
|
Build |
setResults(Results results)
Output only.
|
Build |
setSecrets(List<Secret> secrets)
Secrets to decrypt using Cloud Key Management Service.
|
Build |
setServiceAccount(String serviceAccount)
IAM service account whose credentials will be used at build runtime.
|
Build |
setSource(Source source)
The location of the source files to build.
|
Build |
setSourceProvenance(SourceProvenance sourceProvenance)
Output only.
|
Build |
setStartTime(String startTime)
Output only.
|
Build |
setStatus(String status)
Output only.
|
Build |
setStatusDetail(String statusDetail)
Output only.
|
Build |
setSteps(List<BuildStep> steps)
Required.
|
Build |
setSubstitutions(Map<String,String> substitutions)
Substitutions data for `Build` resource.
|
Build |
setTags(List<String> tags)
Tags for annotation of a `Build`.
|
Build |
setTimeout(String timeout)
Amount of time that this build should be allowed to run, to second granularity.
|
Build |
setTiming(Map<String,TimeSpan> timing)
Output only.
|
Build |
setWarnings(List<Warning> warnings)
Output only.
|
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 BuildApproval getApproval()
null for nonepublic Build setApproval(BuildApproval approval)
approval - approval or null for nonepublic Artifacts getArtifacts()
null for nonepublic Build setArtifacts(Artifacts artifacts)
artifacts - artifacts or null for nonepublic Secrets getAvailableSecrets()
null for nonepublic Build setAvailableSecrets(Secrets availableSecrets)
availableSecrets - availableSecrets or null for nonepublic String getBuildTriggerId()
null for nonepublic Build setBuildTriggerId(String buildTriggerId)
buildTriggerId - buildTriggerId or null for nonepublic String getCreateTime()
null for nonepublic Build setCreateTime(String createTime)
createTime - createTime or null for nonepublic FailureInfo getFailureInfo()
null for nonepublic Build setFailureInfo(FailureInfo failureInfo)
failureInfo - failureInfo or null for nonepublic String getFinishTime()
null for nonepublic Build setFinishTime(String finishTime)
finishTime - finishTime or null for nonepublic GitConfig getGitConfig()
null for nonepublic Build setGitConfig(GitConfig gitConfig)
gitConfig - gitConfig or null for nonepublic String getId()
null for nonepublic Build setId(String id)
id - id or null for nonepublic List<String> getImages()
null for nonepublic Build setImages(List<String> images)
images - images or null for nonepublic String getLogUrl()
null for nonepublic Build setLogUrl(String logUrl)
logUrl - logUrl or null for nonepublic String getLogsBucket()
null for nonepublic Build setLogsBucket(String logsBucket)
logsBucket - logsBucket or null for nonepublic String getName()
null for nonepublic Build setName(String name)
name - name or null for nonepublic BuildOptions getOptions()
null for nonepublic Build setOptions(BuildOptions options)
options - options or null for nonepublic String getProjectId()
null for nonepublic Build setProjectId(String projectId)
projectId - projectId or null for nonepublic String getQueueTtl()
null for nonepublic Build setQueueTtl(String queueTtl)
queueTtl - queueTtl or null for nonepublic Results getResults()
null for nonepublic Build setResults(Results results)
results - results or null for nonepublic List<Secret> getSecrets()
null for nonepublic Build setSecrets(List<Secret> secrets)
secrets - secrets or null for nonepublic String getServiceAccount()
null for nonepublic Build setServiceAccount(String serviceAccount)
serviceAccount - serviceAccount or null for nonepublic Source getSource()
null for nonepublic Build setSource(Source source)
source - source or null for nonepublic SourceProvenance getSourceProvenance()
null for nonepublic Build setSourceProvenance(SourceProvenance sourceProvenance)
sourceProvenance - sourceProvenance or null for nonepublic String getStartTime()
null for nonepublic Build setStartTime(String startTime)
startTime - startTime or null for nonepublic String getStatus()
null for nonepublic Build setStatus(String status)
status - status or null for nonepublic String getStatusDetail()
null for nonepublic Build setStatusDetail(String statusDetail)
statusDetail - statusDetail or null for nonepublic List<BuildStep> getSteps()
null for nonepublic Build setSteps(List<BuildStep> steps)
steps - steps or null for nonepublic Map<String,String> getSubstitutions()
null for nonepublic Build setSubstitutions(Map<String,String> substitutions)
substitutions - substitutions or null for nonepublic List<String> getTags()
null for nonepublic Build setTags(List<String> tags)
tags - tags or null for nonepublic String getTimeout()
null for nonepublic Build setTimeout(String timeout)
timeout - timeout or null for nonepublic Map<String,TimeSpan> getTiming()
null for nonepublic Build setTiming(Map<String,TimeSpan> timing)
timing - timing or null for nonepublic List<Warning> getWarnings()
null for nonepublic Build setWarnings(List<Warning> warnings)
warnings - warnings or null for nonepublic Build set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Build clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.