public final class GoogleCloudRunV2Task
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 |
|---|
GoogleCloudRunV2Task() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudRunV2Task |
clone() |
Map<String,String> |
getAnnotations()
Output only.
|
String |
getCompletionTime()
Output only.
|
List<GoogleCloudRunV2Condition> |
getConditions()
Output only.
|
List<GoogleCloudRunV2Container> |
getContainers()
Holds the single container that defines the unit of execution for this task.
|
String |
getCreateTime()
Output only.
|
String |
getDeleteTime()
Output only.
|
String |
getEncryptionKey()
Output only.
|
String |
getEtag()
Output only.
|
String |
getExecution()
Output only.
|
String |
getExecutionEnvironment()
The execution environment being used to host this Task.
|
String |
getExpireTime()
Output only.
|
Long |
getGeneration()
Output only.
|
Boolean |
getGpuZonalRedundancyDisabled()
Optional.
|
Integer |
getIndex()
Output only.
|
String |
getJob()
Output only.
|
Map<String,String> |
getLabels()
Output only.
|
GoogleCloudRunV2TaskAttemptResult |
getLastAttemptResult()
Output only.
|
String |
getLogUri()
Output only.
|
Integer |
getMaxRetries()
Number of retries allowed per Task, before marking this Task failed.
|
String |
getName()
Output only.
|
GoogleCloudRunV2NodeSelector |
getNodeSelector()
Output only.
|
Long |
getObservedGeneration()
Output only.
|
Boolean |
getReconciling()
Output only.
|
Integer |
getRetried()
Output only.
|
Boolean |
getSatisfiesPzs()
Output only.
|
String |
getScheduledTime()
Output only.
|
String |
getServiceAccount()
Email address of the IAM service account associated with the Task of a Job.
|
String |
getStartTime()
Output only.
|
String |
getTimeout()
Max allowed time duration the Task may be active before the system will actively try to mark it
failed and kill associated containers.
|
String |
getUid()
Output only.
|
String |
getUpdateTime()
Output only.
|
List<GoogleCloudRunV2Volume> |
getVolumes()
A list of Volumes to make available to containers.
|
GoogleCloudRunV2VpcAccess |
getVpcAccess()
Output only.
|
GoogleCloudRunV2Task |
set(String fieldName,
Object value) |
GoogleCloudRunV2Task |
setAnnotations(Map<String,String> annotations)
Output only.
|
GoogleCloudRunV2Task |
setCompletionTime(String completionTime)
Output only.
|
GoogleCloudRunV2Task |
setConditions(List<GoogleCloudRunV2Condition> conditions)
Output only.
|
GoogleCloudRunV2Task |
setContainers(List<GoogleCloudRunV2Container> containers)
Holds the single container that defines the unit of execution for this task.
|
GoogleCloudRunV2Task |
setCreateTime(String createTime)
Output only.
|
GoogleCloudRunV2Task |
setDeleteTime(String deleteTime)
Output only.
|
GoogleCloudRunV2Task |
setEncryptionKey(String encryptionKey)
Output only.
|
GoogleCloudRunV2Task |
setEtag(String etag)
Output only.
|
GoogleCloudRunV2Task |
setExecution(String execution)
Output only.
|
GoogleCloudRunV2Task |
setExecutionEnvironment(String executionEnvironment)
The execution environment being used to host this Task.
|
GoogleCloudRunV2Task |
setExpireTime(String expireTime)
Output only.
|
GoogleCloudRunV2Task |
setGeneration(Long generation)
Output only.
|
GoogleCloudRunV2Task |
setGpuZonalRedundancyDisabled(Boolean gpuZonalRedundancyDisabled)
Optional.
|
GoogleCloudRunV2Task |
setIndex(Integer index)
Output only.
|
GoogleCloudRunV2Task |
setJob(String job)
Output only.
|
GoogleCloudRunV2Task |
setLabels(Map<String,String> labels)
Output only.
|
GoogleCloudRunV2Task |
setLastAttemptResult(GoogleCloudRunV2TaskAttemptResult lastAttemptResult)
Output only.
|
GoogleCloudRunV2Task |
setLogUri(String logUri)
Output only.
|
GoogleCloudRunV2Task |
setMaxRetries(Integer maxRetries)
Number of retries allowed per Task, before marking this Task failed.
|
GoogleCloudRunV2Task |
setName(String name)
Output only.
|
GoogleCloudRunV2Task |
setNodeSelector(GoogleCloudRunV2NodeSelector nodeSelector)
Output only.
|
GoogleCloudRunV2Task |
setObservedGeneration(Long observedGeneration)
Output only.
|
GoogleCloudRunV2Task |
setReconciling(Boolean reconciling)
Output only.
|
GoogleCloudRunV2Task |
setRetried(Integer retried)
Output only.
|
GoogleCloudRunV2Task |
setSatisfiesPzs(Boolean satisfiesPzs)
Output only.
|
GoogleCloudRunV2Task |
setScheduledTime(String scheduledTime)
Output only.
|
GoogleCloudRunV2Task |
setServiceAccount(String serviceAccount)
Email address of the IAM service account associated with the Task of a Job.
|
GoogleCloudRunV2Task |
setStartTime(String startTime)
Output only.
|
GoogleCloudRunV2Task |
setTimeout(String timeout)
Max allowed time duration the Task may be active before the system will actively try to mark it
failed and kill associated containers.
|
GoogleCloudRunV2Task |
setUid(String uid)
Output only.
|
GoogleCloudRunV2Task |
setUpdateTime(String updateTime)
Output only.
|
GoogleCloudRunV2Task |
setVolumes(List<GoogleCloudRunV2Volume> volumes)
A list of Volumes to make available to containers.
|
GoogleCloudRunV2Task |
setVpcAccess(GoogleCloudRunV2VpcAccess vpcAccess)
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 Map<String,String> getAnnotations()
null for nonepublic GoogleCloudRunV2Task setAnnotations(Map<String,String> annotations)
annotations - annotations or null for nonepublic String getCompletionTime()
null for nonepublic GoogleCloudRunV2Task setCompletionTime(String completionTime)
completionTime - completionTime or null for nonepublic List<GoogleCloudRunV2Condition> getConditions()
null for nonepublic GoogleCloudRunV2Task setConditions(List<GoogleCloudRunV2Condition> conditions)
conditions - conditions or null for nonepublic List<GoogleCloudRunV2Container> getContainers()
null for nonepublic GoogleCloudRunV2Task setContainers(List<GoogleCloudRunV2Container> containers)
containers - containers or null for nonepublic String getCreateTime()
null for nonepublic GoogleCloudRunV2Task setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getDeleteTime()
null for nonepublic GoogleCloudRunV2Task setDeleteTime(String deleteTime)
deleteTime - deleteTime or null for nonepublic String getEncryptionKey()
null for nonepublic GoogleCloudRunV2Task setEncryptionKey(String encryptionKey)
encryptionKey - encryptionKey or null for nonepublic String getEtag()
null for nonepublic GoogleCloudRunV2Task setEtag(String etag)
etag - etag or null for nonepublic String getExecution()
null for nonepublic GoogleCloudRunV2Task setExecution(String execution)
execution - execution or null for nonepublic String getExecutionEnvironment()
null for nonepublic GoogleCloudRunV2Task setExecutionEnvironment(String executionEnvironment)
executionEnvironment - executionEnvironment or null for nonepublic String getExpireTime()
null for nonepublic GoogleCloudRunV2Task setExpireTime(String expireTime)
expireTime - expireTime or null for nonepublic Long getGeneration()
null for nonepublic GoogleCloudRunV2Task setGeneration(Long generation)
generation - generation or null for nonepublic Boolean getGpuZonalRedundancyDisabled()
null for nonepublic GoogleCloudRunV2Task setGpuZonalRedundancyDisabled(Boolean gpuZonalRedundancyDisabled)
gpuZonalRedundancyDisabled - gpuZonalRedundancyDisabled or null for nonepublic Integer getIndex()
null for nonepublic GoogleCloudRunV2Task setIndex(Integer index)
index - index or null for nonepublic String getJob()
null for nonepublic GoogleCloudRunV2Task setJob(String job)
job - job or null for nonepublic Map<String,String> getLabels()
null for nonepublic GoogleCloudRunV2Task setLabels(Map<String,String> labels)
labels - labels or null for nonepublic GoogleCloudRunV2TaskAttemptResult getLastAttemptResult()
null for nonepublic GoogleCloudRunV2Task setLastAttemptResult(GoogleCloudRunV2TaskAttemptResult lastAttemptResult)
lastAttemptResult - lastAttemptResult or null for nonepublic String getLogUri()
null for nonepublic GoogleCloudRunV2Task setLogUri(String logUri)
logUri - logUri or null for nonepublic Integer getMaxRetries()
null for nonepublic GoogleCloudRunV2Task setMaxRetries(Integer maxRetries)
maxRetries - maxRetries or null for nonepublic String getName()
null for nonepublic GoogleCloudRunV2Task setName(String name)
name - name or null for nonepublic GoogleCloudRunV2NodeSelector getNodeSelector()
null for nonepublic GoogleCloudRunV2Task setNodeSelector(GoogleCloudRunV2NodeSelector nodeSelector)
nodeSelector - nodeSelector or null for nonepublic Long getObservedGeneration()
null for nonepublic GoogleCloudRunV2Task setObservedGeneration(Long observedGeneration)
observedGeneration - observedGeneration or null for nonepublic Boolean getReconciling()
null for nonepublic GoogleCloudRunV2Task setReconciling(Boolean reconciling)
reconciling - reconciling or null for nonepublic Integer getRetried()
null for nonepublic GoogleCloudRunV2Task setRetried(Integer retried)
retried - retried or null for nonepublic Boolean getSatisfiesPzs()
null for nonepublic GoogleCloudRunV2Task setSatisfiesPzs(Boolean satisfiesPzs)
satisfiesPzs - satisfiesPzs or null for nonepublic String getScheduledTime()
null for nonepublic GoogleCloudRunV2Task setScheduledTime(String scheduledTime)
scheduledTime - scheduledTime or null for nonepublic String getServiceAccount()
null for nonepublic GoogleCloudRunV2Task setServiceAccount(String serviceAccount)
serviceAccount - serviceAccount or null for nonepublic String getStartTime()
null for nonepublic GoogleCloudRunV2Task setStartTime(String startTime)
startTime - startTime or null for nonepublic String getTimeout()
null for nonepublic GoogleCloudRunV2Task setTimeout(String timeout)
timeout - timeout or null for nonepublic String getUid()
null for nonepublic GoogleCloudRunV2Task setUid(String uid)
uid - uid or null for nonepublic String getUpdateTime()
null for nonepublic GoogleCloudRunV2Task setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic List<GoogleCloudRunV2Volume> getVolumes()
null for nonepublic GoogleCloudRunV2Task setVolumes(List<GoogleCloudRunV2Volume> volumes)
volumes - volumes or null for nonepublic GoogleCloudRunV2VpcAccess getVpcAccess()
null for nonepublic GoogleCloudRunV2Task setVpcAccess(GoogleCloudRunV2VpcAccess vpcAccess)
vpcAccess - vpcAccess or null for nonepublic GoogleCloudRunV2Task set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudRunV2Task clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.