public final class ObjectMeta extends 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
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()
(Optional) Annotations is an unstructured key value map stored with a resource that may be set
by external tools to store and retrieve arbitrary metadata.
|
String |
getClusterName()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported The name of
the cluster which the object belongs to.
|
String |
getCreationTimestamp()
(Optional) CreationTimestamp is a timestamp representing the server time when this object was
created.
|
Integer |
getDeletionGracePeriodSeconds()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Number of
seconds allowed for this object to gracefully terminate before it will be removed from the
system.
|
String |
getDeletionTimestamp()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported
DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted.
|
List<String> |
getFinalizers()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Must be empty
before the object is deleted from the registry.
|
String |
getGenerateName()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported GenerateName
is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has
not been provided.
|
Integer |
getGeneration()
(Optional) A sequence number representing a specific generation of the desired state.
|
Map<String,String> |
getLabels()
(Optional) Map of string keys and values that can be used to organize and categorize (scope and
select) objects.
|
String |
getName()
Name must be unique within a namespace, within a Cloud Run region.
|
String |
getNamespace()
Namespace defines the space within each name must be unique, within a Cloud Run region.
|
List<OwnerReference> |
getOwnerReferences()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported List of
objects that own this object.
|
String |
getResourceVersion()
(Optional) An opaque value that represents the internal version of this object that can be used
by clients to determine when objects have changed.
|
String |
getSelfLink()
(Optional) SelfLink is a URL representing this object.
|
String |
getUid()
(Optional) UID is the unique in time and space value for this object.
|
ObjectMeta |
set(String fieldName,
Object value) |
ObjectMeta |
setAnnotations(Map<String,String> annotations)
(Optional) Annotations is an 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)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported The name of
the cluster which the object belongs to.
|
ObjectMeta |
setCreationTimestamp(String creationTimestamp)
(Optional) CreationTimestamp is a timestamp representing the server time when this object was
created.
|
ObjectMeta |
setDeletionGracePeriodSeconds(Integer deletionGracePeriodSeconds)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Number of
seconds allowed for this object to gracefully terminate before it will be removed from the
system.
|
ObjectMeta |
setDeletionTimestamp(String deletionTimestamp)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported
DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted.
|
ObjectMeta |
setFinalizers(List<String> finalizers)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Must be empty
before the object is deleted from the registry.
|
ObjectMeta |
setGenerateName(String generateName)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported GenerateName
is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has
not been provided.
|
ObjectMeta |
setGeneration(Integer generation)
(Optional) A sequence number representing a specific generation of the desired state.
|
ObjectMeta |
setLabels(Map<String,String> labels)
(Optional) Map of string keys and values that can be used to organize and categorize (scope and
select) objects.
|
ObjectMeta |
setName(String name)
Name must be unique within a namespace, within a Cloud Run region.
|
ObjectMeta |
setNamespace(String namespace)
Namespace defines the space within each name must be unique, within a Cloud Run region.
|
ObjectMeta |
setOwnerReferences(List<OwnerReference> ownerReferences)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported List of
objects that own this object.
|
ObjectMeta |
setResourceVersion(String resourceVersion)
(Optional) An opaque 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)
(Optional) SelfLink is a URL representing this object.
|
ObjectMeta |
setUid(String uid)
(Optional) UID is the unique in time and space value for this object.
|
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 GenericJsonpublic ObjectMeta clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.