public final class Webproperty
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 |
Webproperty.ChildLink
Child link for this web property.
|
static class |
Webproperty.ParentLink
Parent link for this web property.
|
static class |
Webproperty.Permissions
Permissions the user has for this web property.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Webproperty() |
| Modifier and Type | Method and Description |
|---|---|
Webproperty |
clone() |
java.lang.String |
getAccountId()
Account ID to which this web property belongs.
|
Webproperty.ChildLink |
getChildLink()
Child link for this web property.
|
com.google.api.client.util.DateTime |
getCreated()
Time this web property was created.
|
java.lang.Boolean |
getDataRetentionResetOnNewActivity()
Set to true to reset the retention period of the user identifier with each new event from that
user (thus setting the expiration date to current time plus retention period).
|
java.lang.String |
getDataRetentionTtl()
The length of time for which user and event data is retained.
|
java.lang.Long |
getDefaultProfileId()
Default view (profile) ID.
|
java.lang.String |
getId()
Web property ID of the form UA-XXXXX-YY.
|
java.lang.String |
getIndustryVertical()
The industry vertical/category selected for this web property.
|
java.lang.String |
getInternalWebPropertyId()
Internal ID for this web property.
|
java.lang.String |
getKind()
Resource type for Analytics WebProperty.
|
java.lang.String |
getLevel()
Level for this web property.
|
java.lang.String |
getName()
Name of this web property.
|
Webproperty.ParentLink |
getParentLink()
Parent link for this web property.
|
Webproperty.Permissions |
getPermissions()
Permissions the user has for this web property.
|
java.lang.Integer |
getProfileCount()
View (Profile) count for this web property.
|
java.lang.String |
getSelfLink()
Link for this web property.
|
java.lang.Boolean |
getStarred()
Indicates whether this web property is starred or not.
|
com.google.api.client.util.DateTime |
getUpdated()
Time this web property was last modified.
|
java.lang.String |
getWebsiteUrl()
Website url for this web property.
|
Webproperty |
set(java.lang.String fieldName,
java.lang.Object value) |
Webproperty |
setAccountId(java.lang.String accountId)
Account ID to which this web property belongs.
|
Webproperty |
setChildLink(Webproperty.ChildLink childLink)
Child link for this web property.
|
Webproperty |
setCreated(com.google.api.client.util.DateTime created)
Time this web property was created.
|
Webproperty |
setDataRetentionResetOnNewActivity(java.lang.Boolean dataRetentionResetOnNewActivity)
Set to true to reset the retention period of the user identifier with each new event from that
user (thus setting the expiration date to current time plus retention period).
|
Webproperty |
setDataRetentionTtl(java.lang.String dataRetentionTtl)
The length of time for which user and event data is retained.
|
Webproperty |
setDefaultProfileId(java.lang.Long defaultProfileId)
Default view (profile) ID.
|
Webproperty |
setId(java.lang.String id)
Web property ID of the form UA-XXXXX-YY.
|
Webproperty |
setIndustryVertical(java.lang.String industryVertical)
The industry vertical/category selected for this web property.
|
Webproperty |
setInternalWebPropertyId(java.lang.String internalWebPropertyId)
Internal ID for this web property.
|
Webproperty |
setKind(java.lang.String kind)
Resource type for Analytics WebProperty.
|
Webproperty |
setLevel(java.lang.String level)
Level for this web property.
|
Webproperty |
setName(java.lang.String name)
Name of this web property.
|
Webproperty |
setParentLink(Webproperty.ParentLink parentLink)
Parent link for this web property.
|
Webproperty |
setPermissions(Webproperty.Permissions permissions)
Permissions the user has for this web property.
|
Webproperty |
setProfileCount(java.lang.Integer profileCount)
View (Profile) count for this web property.
|
Webproperty |
setSelfLink(java.lang.String selfLink)
Link for this web property.
|
Webproperty |
setStarred(java.lang.Boolean starred)
Indicates whether this web property is starred or not.
|
Webproperty |
setUpdated(com.google.api.client.util.DateTime updated)
Time this web property was last modified.
|
Webproperty |
setWebsiteUrl(java.lang.String websiteUrl)
Website url for this web property.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getAccountId()
null for nonepublic Webproperty setAccountId(java.lang.String accountId)
accountId - accountId or null for nonepublic Webproperty.ChildLink getChildLink()
null for nonepublic Webproperty setChildLink(Webproperty.ChildLink childLink)
childLink - childLink or null for nonepublic com.google.api.client.util.DateTime getCreated()
null for nonepublic Webproperty setCreated(com.google.api.client.util.DateTime created)
created - created or null for nonepublic java.lang.Boolean getDataRetentionResetOnNewActivity()
null for nonepublic Webproperty setDataRetentionResetOnNewActivity(java.lang.Boolean dataRetentionResetOnNewActivity)
dataRetentionResetOnNewActivity - dataRetentionResetOnNewActivity or null for nonepublic java.lang.String getDataRetentionTtl()
null for nonepublic Webproperty setDataRetentionTtl(java.lang.String dataRetentionTtl)
dataRetentionTtl - dataRetentionTtl or null for nonepublic java.lang.Long getDefaultProfileId()
null for nonepublic Webproperty setDefaultProfileId(java.lang.Long defaultProfileId)
defaultProfileId - defaultProfileId or null for nonepublic java.lang.String getId()
null for nonepublic Webproperty setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getIndustryVertical()
null for nonepublic Webproperty setIndustryVertical(java.lang.String industryVertical)
industryVertical - industryVertical or null for nonepublic java.lang.String getInternalWebPropertyId()
null for nonepublic Webproperty setInternalWebPropertyId(java.lang.String internalWebPropertyId)
internalWebPropertyId - internalWebPropertyId or null for nonepublic java.lang.String getKind()
null for nonepublic Webproperty setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getLevel()
null for nonepublic Webproperty setLevel(java.lang.String level)
level - level or null for nonepublic java.lang.String getName()
null for nonepublic Webproperty setName(java.lang.String name)
name - name or null for nonepublic Webproperty.ParentLink getParentLink()
null for nonepublic Webproperty setParentLink(Webproperty.ParentLink parentLink)
parentLink - parentLink or null for nonepublic Webproperty.Permissions getPermissions()
null for nonepublic Webproperty setPermissions(Webproperty.Permissions permissions)
permissions - permissions or null for nonepublic java.lang.Integer getProfileCount()
null for nonepublic Webproperty setProfileCount(java.lang.Integer profileCount)
profileCount - profileCount or null for nonepublic java.lang.String getSelfLink()
null for nonepublic Webproperty setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.Boolean getStarred()
null for nonepublic Webproperty setStarred(java.lang.Boolean starred)
starred - starred or null for nonepublic com.google.api.client.util.DateTime getUpdated()
null for nonepublic Webproperty setUpdated(com.google.api.client.util.DateTime updated)
updated - updated or null for nonepublic java.lang.String getWebsiteUrl()
null for nonepublic Webproperty setWebsiteUrl(java.lang.String websiteUrl)
websiteUrl - websiteUrl or null for nonepublic Webproperty set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Webproperty clone()
clone in class com.google.api.client.json.GenericJson