public final class Profile
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 API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
Profile.ChildLink
Child link for this view (profile).
|
static class |
Profile.ParentLink
Parent link for this view (profile).
|
static class |
Profile.Permissions
Permissions the user has for this view (profile).
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Profile() |
Modifier and Type | Method and Description |
---|---|
Profile |
clone() |
java.lang.String |
getAccountId()
Account ID to which this view (profile) belongs.
|
java.lang.Boolean |
getBotFilteringEnabled()
Indicates whether bot filtering is enabled for this view (profile).
|
Profile.ChildLink |
getChildLink()
Child link for this view (profile).
|
com.google.api.client.util.DateTime |
getCreated()
Time this view (profile) was created.
|
java.lang.String |
getCurrency()
The currency type associated with this view (profile), defaults to USD.
|
java.lang.String |
getDefaultPage()
Default page for this view (profile).
|
java.lang.Boolean |
getECommerceTracking()
Indicates whether ecommerce tracking is enabled for this view (profile).
|
java.lang.Boolean |
getEnhancedECommerceTracking()
Indicates whether enhanced ecommerce tracking is enabled for this view (profile).
|
java.lang.String |
getExcludeQueryParameters()
The query parameters that are excluded from this view (profile).
|
java.lang.String |
getId()
View (Profile) ID.
|
java.lang.String |
getInternalWebPropertyId()
Internal ID for the web property to which this view (profile) belongs.
|
java.lang.String |
getKind()
Resource type for Analytics view (profile).
|
java.lang.String |
getName()
Name of this view (profile).
|
Profile.ParentLink |
getParentLink()
Parent link for this view (profile).
|
Profile.Permissions |
getPermissions()
Permissions the user has for this view (profile).
|
java.lang.String |
getSelfLink()
Link for this view (profile).
|
java.lang.String |
getSiteSearchCategoryParameters()
Site search category parameters for this view (profile).
|
java.lang.String |
getSiteSearchQueryParameters()
The site search query parameters for this view (profile).
|
java.lang.Boolean |
getStarred()
Indicates whether this view (profile) is starred or not.
|
java.lang.Boolean |
getStripSiteSearchCategoryParameters()
Whether or not Analytics will strip search category parameters from the URLs in your reports.
|
java.lang.Boolean |
getStripSiteSearchQueryParameters()
Whether or not Analytics will strip search query parameters from the URLs in your reports.
|
java.lang.String |
getTimezone()
Time zone for which this view (profile) has been configured.
|
java.lang.String |
getType()
View (Profile) type.
|
com.google.api.client.util.DateTime |
getUpdated()
Time this view (profile) was last modified.
|
java.lang.String |
getWebPropertyId()
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
|
java.lang.String |
getWebsiteUrl()
Website URL for this view (profile).
|
Profile |
set(java.lang.String fieldName,
java.lang.Object value) |
Profile |
setAccountId(java.lang.String accountId)
Account ID to which this view (profile) belongs.
|
Profile |
setBotFilteringEnabled(java.lang.Boolean botFilteringEnabled)
Indicates whether bot filtering is enabled for this view (profile).
|
Profile |
setChildLink(Profile.ChildLink childLink)
Child link for this view (profile).
|
Profile |
setCreated(com.google.api.client.util.DateTime created)
Time this view (profile) was created.
|
Profile |
setCurrency(java.lang.String currency)
The currency type associated with this view (profile), defaults to USD.
|
Profile |
setDefaultPage(java.lang.String defaultPage)
Default page for this view (profile).
|
Profile |
setECommerceTracking(java.lang.Boolean eCommerceTracking)
Indicates whether ecommerce tracking is enabled for this view (profile).
|
Profile |
setEnhancedECommerceTracking(java.lang.Boolean enhancedECommerceTracking)
Indicates whether enhanced ecommerce tracking is enabled for this view (profile).
|
Profile |
setExcludeQueryParameters(java.lang.String excludeQueryParameters)
The query parameters that are excluded from this view (profile).
|
Profile |
setId(java.lang.String id)
View (Profile) ID.
|
Profile |
setInternalWebPropertyId(java.lang.String internalWebPropertyId)
Internal ID for the web property to which this view (profile) belongs.
|
Profile |
setKind(java.lang.String kind)
Resource type for Analytics view (profile).
|
Profile |
setName(java.lang.String name)
Name of this view (profile).
|
Profile |
setParentLink(Profile.ParentLink parentLink)
Parent link for this view (profile).
|
Profile |
setPermissions(Profile.Permissions permissions)
Permissions the user has for this view (profile).
|
Profile |
setSelfLink(java.lang.String selfLink)
Link for this view (profile).
|
Profile |
setSiteSearchCategoryParameters(java.lang.String siteSearchCategoryParameters)
Site search category parameters for this view (profile).
|
Profile |
setSiteSearchQueryParameters(java.lang.String siteSearchQueryParameters)
The site search query parameters for this view (profile).
|
Profile |
setStarred(java.lang.Boolean starred)
Indicates whether this view (profile) is starred or not.
|
Profile |
setStripSiteSearchCategoryParameters(java.lang.Boolean stripSiteSearchCategoryParameters)
Whether or not Analytics will strip search category parameters from the URLs in your reports.
|
Profile |
setStripSiteSearchQueryParameters(java.lang.Boolean stripSiteSearchQueryParameters)
Whether or not Analytics will strip search query parameters from the URLs in your reports.
|
Profile |
setTimezone(java.lang.String timezone)
Time zone for which this view (profile) has been configured.
|
Profile |
setType(java.lang.String type)
View (Profile) type.
|
Profile |
setUpdated(com.google.api.client.util.DateTime updated)
Time this view (profile) was last modified.
|
Profile |
setWebPropertyId(java.lang.String webPropertyId)
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
|
Profile |
setWebsiteUrl(java.lang.String websiteUrl)
Website URL for this view (profile).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAccountId()
null
for nonepublic Profile setAccountId(java.lang.String accountId)
accountId
- accountId or null
for nonepublic java.lang.Boolean getBotFilteringEnabled()
null
for nonepublic Profile setBotFilteringEnabled(java.lang.Boolean botFilteringEnabled)
botFilteringEnabled
- botFilteringEnabled or null
for nonepublic Profile.ChildLink getChildLink()
null
for nonepublic Profile setChildLink(Profile.ChildLink childLink)
childLink
- childLink or null
for nonepublic com.google.api.client.util.DateTime getCreated()
null
for nonepublic Profile setCreated(com.google.api.client.util.DateTime created)
created
- created or null
for nonepublic java.lang.String getCurrency()
null
for nonepublic Profile setCurrency(java.lang.String currency)
currency
- currency or null
for nonepublic java.lang.String getDefaultPage()
null
for nonepublic Profile setDefaultPage(java.lang.String defaultPage)
defaultPage
- defaultPage or null
for nonepublic java.lang.Boolean getECommerceTracking()
null
for nonepublic Profile setECommerceTracking(java.lang.Boolean eCommerceTracking)
eCommerceTracking
- eCommerceTracking or null
for nonepublic java.lang.Boolean getEnhancedECommerceTracking()
null
for nonepublic Profile setEnhancedECommerceTracking(java.lang.Boolean enhancedECommerceTracking)
enhancedECommerceTracking
- enhancedECommerceTracking or null
for nonepublic java.lang.String getExcludeQueryParameters()
null
for nonepublic Profile setExcludeQueryParameters(java.lang.String excludeQueryParameters)
excludeQueryParameters
- excludeQueryParameters or null
for nonepublic java.lang.String getId()
null
for nonepublic Profile setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getInternalWebPropertyId()
null
for nonepublic Profile setInternalWebPropertyId(java.lang.String internalWebPropertyId)
internalWebPropertyId
- internalWebPropertyId or null
for nonepublic java.lang.String getKind()
null
for nonepublic Profile setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getName()
null
for nonepublic Profile setName(java.lang.String name)
name
- name or null
for nonepublic Profile.ParentLink getParentLink()
null
for nonepublic Profile setParentLink(Profile.ParentLink parentLink)
parentLink
- parentLink or null
for nonepublic Profile.Permissions getPermissions()
null
for nonepublic Profile setPermissions(Profile.Permissions permissions)
permissions
- permissions or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic Profile setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic java.lang.String getSiteSearchCategoryParameters()
null
for nonepublic Profile setSiteSearchCategoryParameters(java.lang.String siteSearchCategoryParameters)
siteSearchCategoryParameters
- siteSearchCategoryParameters or null
for nonepublic java.lang.String getSiteSearchQueryParameters()
null
for nonepublic Profile setSiteSearchQueryParameters(java.lang.String siteSearchQueryParameters)
siteSearchQueryParameters
- siteSearchQueryParameters or null
for nonepublic java.lang.Boolean getStarred()
null
for nonepublic Profile setStarred(java.lang.Boolean starred)
starred
- starred or null
for nonepublic java.lang.Boolean getStripSiteSearchCategoryParameters()
null
for nonepublic Profile setStripSiteSearchCategoryParameters(java.lang.Boolean stripSiteSearchCategoryParameters)
stripSiteSearchCategoryParameters
- stripSiteSearchCategoryParameters or null
for nonepublic java.lang.Boolean getStripSiteSearchQueryParameters()
null
for nonepublic Profile setStripSiteSearchQueryParameters(java.lang.Boolean stripSiteSearchQueryParameters)
stripSiteSearchQueryParameters
- stripSiteSearchQueryParameters or null
for nonepublic java.lang.String getTimezone()
null
for nonepublic Profile setTimezone(java.lang.String timezone)
timezone
- timezone or null
for nonepublic java.lang.String getType()
null
for nonepublic Profile setType(java.lang.String type)
type
- type or null
for nonepublic com.google.api.client.util.DateTime getUpdated()
null
for nonepublic Profile setUpdated(com.google.api.client.util.DateTime updated)
updated
- updated or null
for nonepublic java.lang.String getWebPropertyId()
null
for nonepublic Profile setWebPropertyId(java.lang.String webPropertyId)
webPropertyId
- webPropertyId or null
for nonepublic java.lang.String getWebsiteUrl()
null
for nonepublic Profile setWebsiteUrl(java.lang.String websiteUrl)
websiteUrl
- websiteUrl or null
for nonepublic Profile set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Profile clone()
clone
in class com.google.api.client.json.GenericJson