public final class ObjectMeta
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 |
|---|
ObjectMeta() |
| Modifier and Type | Method and Description |
|---|---|
ObjectMeta |
clone() |
Map<String,String> |
getAnnotations()
Unstructured key value map stored with a resource that may be set by external tools to store
and retrieve arbitrary metadata.
|
String |
getClusterName()
Not supported by Cloud Run
|
String |
getCreationTimestamp()
UTC timestamp representing the server time when this object was created.
|
Integer |
getDeletionGracePeriodSeconds()
Not supported by Cloud Run
|
String |
getDeletionTimestamp()
The read-only soft deletion timestamp for this resource.
|
List<String> |
getFinalizers()
Not supported by Cloud Run
|
String |
getGenerateName()
Not supported by Cloud Run
|
Integer |
getGeneration()
A system-provided sequence number representing a specific generation of the desired state.
|
Map<String,String> |
getLabels()
Map of string keys and values that can be used to organize and categorize (scope and select)
objects.
|
String |
getName()
Required.
|
String |
getNamespace()
Required.
|
List<OwnerReference> |
getOwnerReferences()
Not supported by Cloud Run
|
String |
getResourceVersion()
Opaque, system-generated value that represents the internal version of this object that can be
used by clients to determine when objects have changed.
|
String |
getSelfLink()
URL representing this object.
|
String |
getUid()
Unique, system-generated identifier for this resource.
|
ObjectMeta |
set(String fieldName,
Object value) |
ObjectMeta |
setAnnotations(Map<String,String> annotations)
Unstructured key value map stored with a resource that may be set by external tools to store
and retrieve arbitrary metadata.
|
ObjectMeta |
setClusterName(String clusterName)
Not supported by Cloud Run
|
ObjectMeta |
setCreationTimestamp(String creationTimestamp)
UTC timestamp representing the server time when this object was created.
|
ObjectMeta |
setDeletionGracePeriodSeconds(Integer deletionGracePeriodSeconds)
Not supported by Cloud Run
|
ObjectMeta |
setDeletionTimestamp(String deletionTimestamp)
The read-only soft deletion timestamp for this resource.
|
ObjectMeta |
setFinalizers(List<String> finalizers)
Not supported by Cloud Run
|
ObjectMeta |
setGenerateName(String generateName)
Not supported by Cloud Run
|
ObjectMeta |
setGeneration(Integer generation)
A system-provided sequence number representing a specific generation of the desired state.
|
ObjectMeta |
setLabels(Map<String,String> labels)
Map of string keys and values that can be used to organize and categorize (scope and select)
objects.
|
ObjectMeta |
setName(String name)
Required.
|
ObjectMeta |
setNamespace(String namespace)
Required.
|
ObjectMeta |
setOwnerReferences(List<OwnerReference> ownerReferences)
Not supported by Cloud Run
|
ObjectMeta |
setResourceVersion(String resourceVersion)
Opaque, system-generated value that represents the internal version of this object that can be
used by clients to determine when objects have changed.
|
ObjectMeta |
setSelfLink(String selfLink)
URL representing this object.
|
ObjectMeta |
setUid(String uid)
Unique, system-generated identifier for this resource.
|
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 ObjectMeta setAnnotations(Map<String,String> annotations)
annotations - annotations or null for nonepublic String getClusterName()
null for nonepublic ObjectMeta setClusterName(String clusterName)
clusterName - clusterName or null for nonepublic String getCreationTimestamp()
null for nonepublic ObjectMeta setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic Integer getDeletionGracePeriodSeconds()
null for nonepublic ObjectMeta setDeletionGracePeriodSeconds(Integer deletionGracePeriodSeconds)
deletionGracePeriodSeconds - deletionGracePeriodSeconds or null for nonepublic String getDeletionTimestamp()
null for nonepublic ObjectMeta setDeletionTimestamp(String deletionTimestamp)
deletionTimestamp - deletionTimestamp or null for nonepublic List<String> getFinalizers()
null for nonepublic ObjectMeta setFinalizers(List<String> finalizers)
finalizers - finalizers or null for nonepublic String getGenerateName()
null for nonepublic ObjectMeta setGenerateName(String generateName)
generateName - generateName or null for nonepublic Integer getGeneration()
null for nonepublic ObjectMeta setGeneration(Integer generation)
generation - generation or null for nonepublic Map<String,String> getLabels()
null for nonepublic ObjectMeta setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getName()
null for nonepublic ObjectMeta setName(String name)
name - name or null for nonepublic String getNamespace()
null for nonepublic ObjectMeta setNamespace(String namespace)
namespace - namespace or null for nonepublic List<OwnerReference> getOwnerReferences()
null for nonepublic ObjectMeta setOwnerReferences(List<OwnerReference> ownerReferences)
ownerReferences - ownerReferences or null for nonepublic String getResourceVersion()
null for nonepublic ObjectMeta setResourceVersion(String resourceVersion)
resourceVersion - resourceVersion or null for nonepublic String getSelfLink()
null for nonepublic ObjectMeta setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getUid()
null for nonepublic ObjectMeta setUid(String uid)
uid - uid or null for nonepublic ObjectMeta set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ObjectMeta clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.