public final class MetricMetadata
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 |
|---|
MetricMetadata() |
| Modifier and Type | Method and Description |
|---|---|
MetricMetadata |
clone() |
String |
getApiName()
A metric name.
|
List<String> |
getBlockedReasons()
If reasons are specified, your access is blocked to this metric for this property.
|
String |
getCategory()
The display name of the category that this metrics belongs to.
|
Boolean |
getCustomDefinition()
True if the metric is a custom metric for this property.
|
List<String> |
getDeprecatedApiNames()
Still usable but deprecated names for this metric.
|
String |
getDescription()
Description of how this metric is used and calculated.
|
String |
getExpression()
The mathematical expression for this derived metric.
|
String |
getType()
The type of this metric.
|
String |
getUiName()
This metric's name within the Google Analytics user interface.
|
MetricMetadata |
set(String fieldName,
Object value) |
MetricMetadata |
setApiName(String apiName)
A metric name.
|
MetricMetadata |
setBlockedReasons(List<String> blockedReasons)
If reasons are specified, your access is blocked to this metric for this property.
|
MetricMetadata |
setCategory(String category)
The display name of the category that this metrics belongs to.
|
MetricMetadata |
setCustomDefinition(Boolean customDefinition)
True if the metric is a custom metric for this property.
|
MetricMetadata |
setDeprecatedApiNames(List<String> deprecatedApiNames)
Still usable but deprecated names for this metric.
|
MetricMetadata |
setDescription(String description)
Description of how this metric is used and calculated.
|
MetricMetadata |
setExpression(String expression)
The mathematical expression for this derived metric.
|
MetricMetadata |
setType(String type)
The type of this metric.
|
MetricMetadata |
setUiName(String uiName)
This metric'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 MetricMetadata setApiName(String apiName)
apiName - apiName or null for nonepublic List<String> getBlockedReasons()
null for nonepublic MetricMetadata setBlockedReasons(List<String> blockedReasons)
blockedReasons - blockedReasons or null for nonepublic String getCategory()
null for nonepublic MetricMetadata setCategory(String category)
category - category or null for nonepublic Boolean getCustomDefinition()
null for nonepublic MetricMetadata setCustomDefinition(Boolean customDefinition)
customDefinition - customDefinition or null for nonepublic List<String> getDeprecatedApiNames()
null for nonepublic MetricMetadata setDeprecatedApiNames(List<String> deprecatedApiNames)
deprecatedApiNames - deprecatedApiNames or null for nonepublic String getDescription()
null for nonepublic MetricMetadata setDescription(String description)
description - description or null for nonepublic String getExpression()
null for nonepublic MetricMetadata setExpression(String expression)
expression - expression or null for nonepublic String getType()
null for nonepublic MetricMetadata setType(String type)
type - type or null for nonepublic String getUiName()
null for nonepublic MetricMetadata setUiName(String uiName)
uiName - uiName or null for nonepublic MetricMetadata set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic MetricMetadata clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.