public final class Profile extends 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 API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
| Modifier and Type | Class and Description |
|---|---|
static class |
Profile.ChildLink
Child link for this profile.
|
static class |
Profile.ParentLink
Parent link for this profile.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Profile() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountId()
Account ID to which this profile belongs.
|
Profile.ChildLink |
getChildLink()
Child link for this profile.
|
DateTime |
getCreated()
Time this profile was created.
|
String |
getCurrency()
The currency type associated with this profile.
|
String |
getDefaultPage()
Default page for this profile.
|
Boolean |
getECommerceTracking()
Indicates whether ecommerce tracking is enabled for this profile.
|
String |
getExcludeQueryParameters()
The query parameters that are excluded from this profile.
|
String |
getId()
Profile ID.
|
String |
getInternalWebPropertyId()
Internal ID for the web property to which this profile belongs.
|
String |
getKind()
Resource type for Analytics profile.
|
String |
getName()
Name of this profile.
|
Profile.ParentLink |
getParentLink()
Parent link for this profile.
|
String |
getSelfLink()
Link for this profile.
|
String |
getSiteSearchCategoryParameters()
Site search category parameters for this profile.
|
String |
getSiteSearchQueryParameters()
The site search query parameters for this profile.
|
String |
getTimezone()
Time zone for which this profile has been configured.
|
String |
getType()
Profile type.
|
DateTime |
getUpdated()
Time this profile was last modified.
|
String |
getWebPropertyId()
Web property ID of the form UA-XXXXX-YY to which this profile belongs.
|
String |
getWebsiteUrl()
Website URL for this profile.
|
Profile |
setAccountId(String accountId)
Account ID to which this profile belongs.
|
Profile |
setChildLink(Profile.ChildLink childLink)
Child link for this profile.
|
Profile |
setCreated(DateTime created)
Time this profile was created.
|
Profile |
setCurrency(String currency)
The currency type associated with this profile.
|
Profile |
setDefaultPage(String defaultPage)
Default page for this profile.
|
Profile |
setECommerceTracking(Boolean eCommerceTracking)
Indicates whether ecommerce tracking is enabled for this profile.
|
Profile |
setExcludeQueryParameters(String excludeQueryParameters)
The query parameters that are excluded from this profile.
|
Profile |
setId(String id)
Profile ID.
|
Profile |
setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for the web property to which this profile belongs.
|
Profile |
setKind(String kind)
Resource type for Analytics profile.
|
Profile |
setName(String name)
Name of this profile.
|
Profile |
setParentLink(Profile.ParentLink parentLink)
Parent link for this profile.
|
Profile |
setSelfLink(String selfLink)
Link for this profile.
|
Profile |
setSiteSearchCategoryParameters(String siteSearchCategoryParameters)
Site search category parameters for this profile.
|
Profile |
setSiteSearchQueryParameters(String siteSearchQueryParameters)
The site search query parameters for this profile.
|
Profile |
setTimezone(String timezone)
Time zone for which this profile has been configured.
|
Profile |
setType(String type)
Profile type.
|
Profile |
setUpdated(DateTime updated)
Time this profile was last modified.
|
Profile |
setWebPropertyId(String webPropertyId)
Web property ID of the form UA-XXXXX-YY to which this profile belongs.
|
Profile |
setWebsiteUrl(String websiteUrl)
Website URL for this profile.
|
clone, getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getAccountId()
null.public Profile setAccountId(String accountId)
null.public Profile.ChildLink getChildLink()
null.public Profile setChildLink(Profile.ChildLink childLink)
null.public DateTime getCreated()
null.public Profile setCreated(DateTime created)
null.public String getCurrency()
null.public Profile setCurrency(String currency)
null.public String getDefaultPage()
null.public Profile setDefaultPage(String defaultPage)
null.public Boolean getECommerceTracking()
null.public Profile setECommerceTracking(Boolean eCommerceTracking)
null.public String getExcludeQueryParameters()
null.public Profile setExcludeQueryParameters(String excludeQueryParameters)
null.public String getId()
null.public String getInternalWebPropertyId()
null.public Profile setInternalWebPropertyId(String internalWebPropertyId)
null.public String getKind()
null.public Profile setKind(String kind)
null.public String getName()
null.public Profile.ParentLink getParentLink()
null.public Profile setParentLink(Profile.ParentLink parentLink)
null.public String getSelfLink()
null.public Profile setSelfLink(String selfLink)
null.public String getSiteSearchCategoryParameters()
null.public Profile setSiteSearchCategoryParameters(String siteSearchCategoryParameters)
null.public String getSiteSearchQueryParameters()
null.public Profile setSiteSearchQueryParameters(String siteSearchQueryParameters)
null.public String getTimezone()
null.public Profile setTimezone(String timezone)
null.public String getType()
null.public Profile setType(String type)
null.public DateTime getUpdated()
null.public Profile setUpdated(DateTime updated)
null.public String getWebPropertyId()
null.public Profile setWebPropertyId(String webPropertyId)
null.public String getWebsiteUrl()
null.