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: 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).
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Profile() |
Modifier and Type | Method and Description |
---|---|
Profile |
clone() |
String |
getAccountId()
Account ID to which this view (profile) belongs.
|
Boolean |
getBotFilteringEnabled()
Indicates whether bot filtering is enabled for this view (profile).
|
Profile.ChildLink |
getChildLink()
Child link for this view (profile).
|
DateTime |
getCreated()
Time this view (profile) was created.
|
String |
getCurrency()
The currency type associated with this view (profile), defaults to USD.
|
String |
getDefaultPage()
Default page for this view (profile).
|
Boolean |
getECommerceTracking()
Indicates whether ecommerce tracking is enabled for this view (profile).
|
Boolean |
getEnhancedECommerceTracking()
Indicates whether enhanced ecommerce tracking is enabled for this view (profile).
|
String |
getExcludeQueryParameters()
The query parameters that are excluded from this view (profile).
|
String |
getId()
View (Profile) ID.
|
String |
getInternalWebPropertyId()
Internal ID for the web property to which this view (profile) belongs.
|
String |
getKind()
Resource type for Analytics view (profile).
|
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).
|
String |
getSelfLink()
Link for this view (profile).
|
String |
getSiteSearchCategoryParameters()
Site search category parameters for this view (profile).
|
String |
getSiteSearchQueryParameters()
The site search query parameters for this view (profile).
|
Boolean |
getStarred()
Indicates whether this view (profile) is starred or not.
|
Boolean |
getStripSiteSearchCategoryParameters()
Whether or not Analytics will strip search category parameters from the URLs in your reports.
|
Boolean |
getStripSiteSearchQueryParameters()
Whether or not Analytics will strip search query parameters from the URLs in your reports.
|
String |
getTimezone()
Time zone for which this view (profile) has been configured.
|
String |
getType()
View (Profile) type.
|
DateTime |
getUpdated()
Time this view (profile) was last modified.
|
String |
getWebPropertyId()
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
|
String |
getWebsiteUrl()
Website URL for this view (profile).
|
Profile |
set(String fieldName,
Object value) |
Profile |
setAccountId(String accountId)
Account ID to which this view (profile) belongs.
|
Profile |
setBotFilteringEnabled(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(DateTime created)
Time this view (profile) was created.
|
Profile |
setCurrency(String currency)
The currency type associated with this view (profile), defaults to USD.
|
Profile |
setDefaultPage(String defaultPage)
Default page for this view (profile).
|
Profile |
setECommerceTracking(Boolean eCommerceTracking)
Indicates whether ecommerce tracking is enabled for this view (profile).
|
Profile |
setEnhancedECommerceTracking(Boolean enhancedECommerceTracking)
Indicates whether enhanced ecommerce tracking is enabled for this view (profile).
|
Profile |
setExcludeQueryParameters(String excludeQueryParameters)
The query parameters that are excluded from this view (profile).
|
Profile |
setId(String id)
View (Profile) ID.
|
Profile |
setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for the web property to which this view (profile) belongs.
|
Profile |
setKind(String kind)
Resource type for Analytics view (profile).
|
Profile |
setName(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(String selfLink)
Link for this view (profile).
|
Profile |
setSiteSearchCategoryParameters(String siteSearchCategoryParameters)
Site search category parameters for this view (profile).
|
Profile |
setSiteSearchQueryParameters(String siteSearchQueryParameters)
The site search query parameters for this view (profile).
|
Profile |
setStarred(Boolean starred)
Indicates whether this view (profile) is starred or not.
|
Profile |
setStripSiteSearchCategoryParameters(Boolean stripSiteSearchCategoryParameters)
Whether or not Analytics will strip search category parameters from the URLs in your reports.
|
Profile |
setStripSiteSearchQueryParameters(Boolean stripSiteSearchQueryParameters)
Whether or not Analytics will strip search query parameters from the URLs in your reports.
|
Profile |
setTimezone(String timezone)
Time zone for which this view (profile) has been configured.
|
Profile |
setType(String type)
View (Profile) type.
|
Profile |
setUpdated(DateTime updated)
Time this view (profile) was last modified.
|
Profile |
setWebPropertyId(String webPropertyId)
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
|
Profile |
setWebsiteUrl(String websiteUrl)
Website URL for this view (profile).
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAccountId()
null
for nonepublic Profile setAccountId(String accountId)
accountId
- accountId or null
for nonepublic Boolean getBotFilteringEnabled()
null
for nonepublic Profile setBotFilteringEnabled(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 DateTime getCreated()
null
for nonepublic Profile setCreated(DateTime created)
created
- created or null
for nonepublic String getCurrency()
null
for nonepublic Profile setCurrency(String currency)
currency
- currency or null
for nonepublic String getDefaultPage()
null
for nonepublic Profile setDefaultPage(String defaultPage)
defaultPage
- defaultPage or null
for nonepublic Boolean getECommerceTracking()
null
for nonepublic Profile setECommerceTracking(Boolean eCommerceTracking)
eCommerceTracking
- eCommerceTracking or null
for nonepublic Boolean getEnhancedECommerceTracking()
null
for nonepublic Profile setEnhancedECommerceTracking(Boolean enhancedECommerceTracking)
enhancedECommerceTracking
- enhancedECommerceTracking or null
for nonepublic String getExcludeQueryParameters()
null
for nonepublic Profile setExcludeQueryParameters(String excludeQueryParameters)
excludeQueryParameters
- excludeQueryParameters or null
for nonepublic String getId()
null
for nonepublic String getInternalWebPropertyId()
null
for nonepublic Profile setInternalWebPropertyId(String internalWebPropertyId)
internalWebPropertyId
- internalWebPropertyId or null
for nonepublic String getKind()
null
for nonepublic Profile setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic Profile setName(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 String getSelfLink()
null
for nonepublic Profile setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic String getSiteSearchCategoryParameters()
null
for nonepublic Profile setSiteSearchCategoryParameters(String siteSearchCategoryParameters)
siteSearchCategoryParameters
- siteSearchCategoryParameters or null
for nonepublic String getSiteSearchQueryParameters()
null
for nonepublic Profile setSiteSearchQueryParameters(String siteSearchQueryParameters)
siteSearchQueryParameters
- siteSearchQueryParameters or null
for nonepublic Boolean getStarred()
null
for nonepublic Profile setStarred(Boolean starred)
starred
- starred or null
for nonepublic Boolean getStripSiteSearchCategoryParameters()
null
for nonepublic Profile setStripSiteSearchCategoryParameters(Boolean stripSiteSearchCategoryParameters)
stripSiteSearchCategoryParameters
- stripSiteSearchCategoryParameters or null
for nonepublic Boolean getStripSiteSearchQueryParameters()
null
for nonepublic Profile setStripSiteSearchQueryParameters(Boolean stripSiteSearchQueryParameters)
stripSiteSearchQueryParameters
- stripSiteSearchQueryParameters or null
for nonepublic String getTimezone()
null
for nonepublic Profile setTimezone(String timezone)
timezone
- timezone or null
for nonepublic String getType()
null
for nonepublic Profile setType(String type)
type
- type or null
for nonepublic DateTime getUpdated()
null
for nonepublic Profile setUpdated(DateTime updated)
updated
- updated or null
for nonepublic String getWebPropertyId()
null
for nonepublic Profile setWebPropertyId(String webPropertyId)
webPropertyId
- webPropertyId or null
for nonepublic String getWebsiteUrl()
null
for nonepublic Profile setWebsiteUrl(String websiteUrl)
websiteUrl
- websiteUrl or null
for nonepublic Profile set(String fieldName, Object value)
set
in class GenericJson
public Profile clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.