target.apidocs.com.google.api.services.analytics.model.CustomMetric.ParentLink.html Maven / Gradle / Ivy
CustomMetric.ParentLink (Google Analytics API v3-rev20190807-1.31.0)
com.google.api.services.analytics.model
Class CustomMetric.ParentLink
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.analytics.model.CustomMetric.ParentLink
-
- Enclosing class:
- CustomMetric
public static final class CustomMetric.ParentLink
extends GenericJson
Parent link for the custom metric. Points to the property to which the custom metric belongs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ParentLink()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CustomMetric.ParentLink
clone()
String
getHref()
Link to the property to which the custom metric belongs.
String
getType()
Type of the parent link.
CustomMetric.ParentLink
set(String fieldName,
Object value)
CustomMetric.ParentLink
setHref(String href)
Link to the property to which the custom metric belongs.
CustomMetric.ParentLink
setType(String type)
Type of the parent link.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getHref
public String getHref()
Link to the property to which the custom metric belongs.
- Returns:
- value or
null
for none
-
setHref
public CustomMetric.ParentLink setHref(String href)
Link to the property to which the custom metric belongs.
- Parameters:
href
- href or null
for none
-
getType
public String getType()
Type of the parent link. Set to "analytics#webproperty".
- Returns:
- value or
null
for none
-
setType
public CustomMetric.ParentLink setType(String type)
Type of the parent link. Set to "analytics#webproperty".
- Parameters:
type
- type or null
for none
-
set
public CustomMetric.ParentLink set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public CustomMetric.ParentLink clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.