public final class EffectiveTag
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 |
---|
EffectiveTag() |
Modifier and Type | Method and Description |
---|---|
EffectiveTag |
clone() |
Boolean |
getInherited()
Indicates the inheritance status of a tag value attached to the given resource.
|
String |
getNamespacedTagKey()
The namespaced name of the TagKey.
|
String |
getNamespacedTagValue()
The namespaced name of the TagValue.
|
String |
getTagKey()
The name of the TagKey, in the format `tagKeys/{id}`, such as `tagKeys/123`.
|
String |
getTagKeyParentName()
The parent name of the tag key.
|
String |
getTagValue()
Resource name for TagValue in the format `tagValues/456`.
|
EffectiveTag |
set(String fieldName,
Object value) |
EffectiveTag |
setInherited(Boolean inherited)
Indicates the inheritance status of a tag value attached to the given resource.
|
EffectiveTag |
setNamespacedTagKey(String namespacedTagKey)
The namespaced name of the TagKey.
|
EffectiveTag |
setNamespacedTagValue(String namespacedTagValue)
The namespaced name of the TagValue.
|
EffectiveTag |
setTagKey(String tagKey)
The name of the TagKey, in the format `tagKeys/{id}`, such as `tagKeys/123`.
|
EffectiveTag |
setTagKeyParentName(String tagKeyParentName)
The parent name of the tag key.
|
EffectiveTag |
setTagValue(String tagValue)
Resource name for TagValue in the format `tagValues/456`.
|
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 Boolean getInherited()
null
for nonepublic EffectiveTag setInherited(Boolean inherited)
inherited
- inherited or null
for nonepublic String getNamespacedTagKey()
null
for nonepublic EffectiveTag setNamespacedTagKey(String namespacedTagKey)
namespacedTagKey
- namespacedTagKey or null
for nonepublic String getNamespacedTagValue()
null
for nonepublic EffectiveTag setNamespacedTagValue(String namespacedTagValue)
namespacedTagValue
- namespacedTagValue or null
for nonepublic String getTagKey()
null
for nonepublic EffectiveTag setTagKey(String tagKey)
tagKey
- tagKey or null
for nonepublic String getTagKeyParentName()
null
for nonepublic EffectiveTag setTagKeyParentName(String tagKeyParentName)
tagKeyParentName
- tagKeyParentName or null
for nonepublic String getTagValue()
null
for nonepublic EffectiveTag setTagValue(String tagValue)
tagValue
- tagValue or null
for nonepublic EffectiveTag set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public EffectiveTag clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.