public final class TagKey
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 Resource Manager 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TagKey() |
Modifier and Type | Method and Description |
---|---|
TagKey |
clone() |
String |
getCreateTime()
Output only.
|
String |
getDescription()
Optional.
|
String |
getEtag()
Optional.
|
String |
getName()
Immutable.
|
String |
getNamespacedName()
Output only.
|
String |
getParent()
Immutable.
|
String |
getPurpose()
Optional.
|
Map<String,String> |
getPurposeData()
Optional.
|
String |
getShortName()
Required.
|
String |
getUpdateTime()
Output only.
|
TagKey |
set(String fieldName,
Object value) |
TagKey |
setCreateTime(String createTime)
Output only.
|
TagKey |
setDescription(String description)
Optional.
|
TagKey |
setEtag(String etag)
Optional.
|
TagKey |
setName(String name)
Immutable.
|
TagKey |
setNamespacedName(String namespacedName)
Output only.
|
TagKey |
setParent(String parent)
Immutable.
|
TagKey |
setPurpose(String purpose)
Optional.
|
TagKey |
setPurposeData(Map<String,String> purposeData)
Optional.
|
TagKey |
setShortName(String shortName)
Required.
|
TagKey |
setUpdateTime(String updateTime)
Output only.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCreateTime()
null
for nonepublic TagKey setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getDescription()
null
for nonepublic TagKey setDescription(String description)
description
- description or null
for nonepublic String getEtag()
null
for nonepublic TagKey setEtag(String etag)
etag
- etag or null
for nonepublic String getName()
null
for nonepublic TagKey setName(String name)
name
- name or null
for nonepublic String getNamespacedName()
null
for nonepublic TagKey setNamespacedName(String namespacedName)
namespacedName
- namespacedName or null
for nonepublic String getParent()
null
for nonepublic TagKey setParent(String parent)
parent
- parent or null
for nonepublic String getPurpose()
null
for nonepublic TagKey setPurpose(String purpose)
purpose
- purpose or null
for nonepublic Map<String,String> getPurposeData()
null
for nonepublic TagKey setPurposeData(Map<String,String> purposeData)
purposeData
- purposeData or null
for nonepublic String getShortName()
null
for nonepublic TagKey setShortName(String shortName)
shortName
- shortName or null
for nonepublic String getUpdateTime()
null
for nonepublic TagKey setUpdateTime(String updateTime)
updateTime
- updateTime or null
for nonepublic TagKey set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public TagKey clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.