public final class Revision
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 |
|---|
Revision() |
| Modifier and Type | Method and Description |
|---|---|
Revision |
clone() |
String |
getApiVersion()
The API version for this call such as "serving.knative.dev/v1".
|
String |
getKind()
The kind of this resource, in this case "Revision".
|
ObjectMeta |
getMetadata()
Metadata associated with this Revision, including name, namespace, labels, and annotations.
|
RevisionSpec |
getSpec()
Spec holds the desired state of the Revision (from the client).
|
RevisionStatus |
getStatus()
Status communicates the observed state of the Revision (from the controller).
|
Revision |
set(String fieldName,
Object value) |
Revision |
setApiVersion(String apiVersion)
The API version for this call such as "serving.knative.dev/v1".
|
Revision |
setKind(String kind)
The kind of this resource, in this case "Revision".
|
Revision |
setMetadata(ObjectMeta metadata)
Metadata associated with this Revision, including name, namespace, labels, and annotations.
|
Revision |
setSpec(RevisionSpec spec)
Spec holds the desired state of the Revision (from the client).
|
Revision |
setStatus(RevisionStatus status)
Status communicates the observed state of the Revision (from the controller).
|
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 String getApiVersion()
null for nonepublic Revision setApiVersion(String apiVersion)
apiVersion - apiVersion or null for nonepublic String getKind()
null for nonepublic Revision setKind(String kind)
kind - kind or null for nonepublic ObjectMeta getMetadata()
null for nonepublic Revision setMetadata(ObjectMeta metadata)
metadata - metadata or null for nonepublic RevisionSpec getSpec()
null for nonepublic Revision setSpec(RevisionSpec spec)
spec - spec or null for nonepublic RevisionStatus getStatus()
null for nonepublic Revision setStatus(RevisionStatus status)
status - status or null for nonepublic Revision set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Revision clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.