public final class GoogleCloudRunV2ExecutionTemplate
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 |
|---|
GoogleCloudRunV2ExecutionTemplate() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudRunV2ExecutionTemplate |
clone() |
Map<String,String> |
getAnnotations()
Unstructured key value map that may be set by external tools to store and arbitrary metadata.
|
String |
getClient()
Optional.
|
String |
getClientVersion()
Optional.
|
Map<String,String> |
getLabels()
Unstructured key value map that can be used to organize and categorize objects.
|
Integer |
getParallelism()
Optional.
|
Integer |
getTaskCount()
Specifies the desired number of tasks the execution should run.
|
GoogleCloudRunV2TaskTemplate |
getTemplate()
Required.
|
GoogleCloudRunV2ExecutionTemplate |
set(String fieldName,
Object value) |
GoogleCloudRunV2ExecutionTemplate |
setAnnotations(Map<String,String> annotations)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.
|
GoogleCloudRunV2ExecutionTemplate |
setClient(String client)
Optional.
|
GoogleCloudRunV2ExecutionTemplate |
setClientVersion(String clientVersion)
Optional.
|
GoogleCloudRunV2ExecutionTemplate |
setLabels(Map<String,String> labels)
Unstructured key value map that can be used to organize and categorize objects.
|
GoogleCloudRunV2ExecutionTemplate |
setParallelism(Integer parallelism)
Optional.
|
GoogleCloudRunV2ExecutionTemplate |
setTaskCount(Integer taskCount)
Specifies the desired number of tasks the execution should run.
|
GoogleCloudRunV2ExecutionTemplate |
setTemplate(GoogleCloudRunV2TaskTemplate template)
Required.
|
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 GoogleCloudRunV2ExecutionTemplate setAnnotations(Map<String,String> annotations)
annotations - annotations or null for nonepublic String getClient()
null for nonepublic GoogleCloudRunV2ExecutionTemplate setClient(String client)
client - client or null for nonepublic String getClientVersion()
null for nonepublic GoogleCloudRunV2ExecutionTemplate setClientVersion(String clientVersion)
clientVersion - clientVersion or null for nonepublic Map<String,String> getLabels()
null for nonepublic GoogleCloudRunV2ExecutionTemplate setLabels(Map<String,String> labels)
labels - labels or null for nonepublic Integer getParallelism()
null for nonepublic GoogleCloudRunV2ExecutionTemplate setParallelism(Integer parallelism)
parallelism - parallelism or null for nonepublic Integer getTaskCount()
null for nonepublic GoogleCloudRunV2ExecutionTemplate setTaskCount(Integer taskCount)
taskCount - taskCount or null for nonepublic GoogleCloudRunV2TaskTemplate getTemplate()
null for nonepublic GoogleCloudRunV2ExecutionTemplate setTemplate(GoogleCloudRunV2TaskTemplate template)
template - template or null for nonepublic GoogleCloudRunV2ExecutionTemplate set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudRunV2ExecutionTemplate clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.