target.apidocs.com.google.api.services.analytics.model.ProfileRef.html Maven / Gradle / Ivy
ProfileRef (Google Analytics API v3-rev20190807-1.31.0)
com.google.api.services.analytics.model
Class ProfileRef
- 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.ProfileRef
-
public final class ProfileRef
extends GenericJson
JSON template for a linked view (profile).
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 API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
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
ProfileRef()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ProfileRef
clone()
String
getAccountId()
Account ID to which this view (profile) belongs.
String
getHref()
Link for this view (profile).
String
getId()
View (Profile) ID.
String
getInternalWebPropertyId()
Internal ID for the web property to which this view (profile) belongs.
String
getKind()
Analytics view (profile) reference.
String
getName()
Name of this view (profile).
String
getWebPropertyId()
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
ProfileRef
set(String fieldName,
Object value)
ProfileRef
setAccountId(String accountId)
Account ID to which this view (profile) belongs.
ProfileRef
setHref(String href)
Link for this view (profile).
ProfileRef
setId(String id)
View (Profile) ID.
ProfileRef
setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for the web property to which this view (profile) belongs.
ProfileRef
setKind(String kind)
Analytics view (profile) reference.
ProfileRef
setName(String name)
Name of this view (profile).
ProfileRef
setWebPropertyId(String webPropertyId)
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
-
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
-
getAccountId
public String getAccountId()
Account ID to which this view (profile) belongs.
- Returns:
- value or
null
for none
-
setAccountId
public ProfileRef setAccountId(String accountId)
Account ID to which this view (profile) belongs.
- Parameters:
accountId
- accountId or null
for none
-
getHref
public String getHref()
Link for this view (profile).
- Returns:
- value or
null
for none
-
setHref
public ProfileRef setHref(String href)
Link for this view (profile).
- Parameters:
href
- href or null
for none
-
getId
public String getId()
View (Profile) ID.
- Returns:
- value or
null
for none
-
setId
public ProfileRef setId(String id)
View (Profile) ID.
- Parameters:
id
- id or null
for none
-
getInternalWebPropertyId
public String getInternalWebPropertyId()
Internal ID for the web property to which this view (profile) belongs.
- Returns:
- value or
null
for none
-
setInternalWebPropertyId
public ProfileRef setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for the web property to which this view (profile) belongs.
- Parameters:
internalWebPropertyId
- internalWebPropertyId or null
for none
-
getKind
public String getKind()
Analytics view (profile) reference.
- Returns:
- value or
null
for none
-
setKind
public ProfileRef setKind(String kind)
Analytics view (profile) reference.
- Parameters:
kind
- kind or null
for none
-
getName
public String getName()
Name of this view (profile).
- Returns:
- value or
null
for none
-
setName
public ProfileRef setName(String name)
Name of this view (profile).
- Parameters:
name
- name or null
for none
-
getWebPropertyId
public String getWebPropertyId()
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
- Returns:
- value or
null
for none
-
setWebPropertyId
public ProfileRef setWebPropertyId(String webPropertyId)
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
- Parameters:
webPropertyId
- webPropertyId or null
for none
-
set
public ProfileRef set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public ProfileRef clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.