public final class TaskSpec
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 |
|---|
TaskSpec() |
| Modifier and Type | Method and Description |
|---|---|
TaskSpec |
clone() |
List<Container> |
getContainers()
Optional.
|
Integer |
getMaxRetries()
Optional.
|
String |
getServiceAccountName()
Optional.
|
Long |
getTimeoutSeconds()
Optional.
|
List<Volume> |
getVolumes()
Optional.
|
TaskSpec |
set(String fieldName,
Object value) |
TaskSpec |
setContainers(List<Container> containers)
Optional.
|
TaskSpec |
setMaxRetries(Integer maxRetries)
Optional.
|
TaskSpec |
setServiceAccountName(String serviceAccountName)
Optional.
|
TaskSpec |
setTimeoutSeconds(Long timeoutSeconds)
Optional.
|
TaskSpec |
setVolumes(List<Volume> volumes)
Optional.
|
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<Container> getContainers()
null for nonepublic TaskSpec setContainers(List<Container> containers)
containers - containers or null for nonepublic Integer getMaxRetries()
null for nonepublic TaskSpec setMaxRetries(Integer maxRetries)
maxRetries - maxRetries or null for nonepublic String getServiceAccountName()
null for nonepublic TaskSpec setServiceAccountName(String serviceAccountName)
serviceAccountName - serviceAccountName or null for nonepublic Long getTimeoutSeconds()
null for nonepublic TaskSpec setTimeoutSeconds(Long timeoutSeconds)
timeoutSeconds - timeoutSeconds or null for nonepublic List<Volume> getVolumes()
null for nonepublic TaskSpec setVolumes(List<Volume> volumes)
volumes - volumes or null for nonepublic TaskSpec set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TaskSpec clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.