public final class DimensionMetadata
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 Google Analytics Data 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 |
|---|
DimensionMetadata() |
| Modifier and Type | Method and Description |
|---|---|
DimensionMetadata |
clone() |
String |
getApiName()
This dimension's name.
|
String |
getCategory()
The display name of the category that this dimension belongs to.
|
Boolean |
getCustomDefinition()
True if the dimension is a custom dimension for this property.
|
List<String> |
getDeprecatedApiNames()
Still usable but deprecated names for this dimension.
|
String |
getDescription()
Description of how this dimension is used and calculated.
|
String |
getUiName()
This dimension's name within the Google Analytics user interface.
|
DimensionMetadata |
set(String fieldName,
Object value) |
DimensionMetadata |
setApiName(String apiName)
This dimension's name.
|
DimensionMetadata |
setCategory(String category)
The display name of the category that this dimension belongs to.
|
DimensionMetadata |
setCustomDefinition(Boolean customDefinition)
True if the dimension is a custom dimension for this property.
|
DimensionMetadata |
setDeprecatedApiNames(List<String> deprecatedApiNames)
Still usable but deprecated names for this dimension.
|
DimensionMetadata |
setDescription(String description)
Description of how this dimension is used and calculated.
|
DimensionMetadata |
setUiName(String uiName)
This dimension's name within the Google Analytics user interface.
|
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 getApiName()
null for nonepublic DimensionMetadata setApiName(String apiName)
apiName - apiName or null for nonepublic String getCategory()
null for nonepublic DimensionMetadata setCategory(String category)
category - category or null for nonepublic Boolean getCustomDefinition()
null for nonepublic DimensionMetadata setCustomDefinition(Boolean customDefinition)
customDefinition - customDefinition or null for nonepublic List<String> getDeprecatedApiNames()
null for nonepublic DimensionMetadata setDeprecatedApiNames(List<String> deprecatedApiNames)
deprecatedApiNames - deprecatedApiNames or null for nonepublic String getDescription()
null for nonepublic DimensionMetadata setDescription(String description)
description - description or null for nonepublic String getUiName()
null for nonepublic DimensionMetadata setUiName(String uiName)
uiName - uiName or null for nonepublic DimensionMetadata set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DimensionMetadata clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.