public final class Webproperty 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 |
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.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Webproperty() |
| Modifier and Type | Method and Description |
|---|---|
Webproperty |
clone() |
String |
getAccountId()
Account ID to which this web property belongs.
|
Webproperty.ChildLink |
getChildLink()
Child link for this web property.
|
DateTime |
getCreated()
Time this web property was created.
|
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).
|
String |
getDataRetentionTtl()
The length of time for which user and event data is retained.
|
Long |
getDefaultProfileId()
Default view (profile) ID.
|
String |
getId()
Web property ID of the form UA-XXXXX-YY.
|
String |
getIndustryVertical()
The industry vertical/category selected for this web property.
|
String |
getInternalWebPropertyId()
Internal ID for this web property.
|
String |
getKind()
Resource type for Analytics WebProperty.
|
String |
getLevel()
Level for this web property.
|
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.
|
Integer |
getProfileCount()
View (Profile) count for this web property.
|
String |
getSelfLink()
Link for this web property.
|
Boolean |
getStarred()
Indicates whether this web property is starred or not.
|
DateTime |
getUpdated()
Time this web property was last modified.
|
String |
getWebsiteUrl()
Website url for this web property.
|
Webproperty |
set(String fieldName,
Object value) |
Webproperty |
setAccountId(String accountId)
Account ID to which this web property belongs.
|
Webproperty |
setChildLink(Webproperty.ChildLink childLink)
Child link for this web property.
|
Webproperty |
setCreated(DateTime created)
Time this web property was created.
|
Webproperty |
setDataRetentionResetOnNewActivity(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(String dataRetentionTtl)
The length of time for which user and event data is retained.
|
Webproperty |
setDefaultProfileId(Long defaultProfileId)
Default view (profile) ID.
|
Webproperty |
setId(String id)
Web property ID of the form UA-XXXXX-YY.
|
Webproperty |
setIndustryVertical(String industryVertical)
The industry vertical/category selected for this web property.
|
Webproperty |
setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for this web property.
|
Webproperty |
setKind(String kind)
Resource type for Analytics WebProperty.
|
Webproperty |
setLevel(String level)
Level for this web property.
|
Webproperty |
setName(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(Integer profileCount)
View (Profile) count for this web property.
|
Webproperty |
setSelfLink(String selfLink)
Link for this web property.
|
Webproperty |
setStarred(Boolean starred)
Indicates whether this web property is starred or not.
|
Webproperty |
setUpdated(DateTime updated)
Time this web property was last modified.
|
Webproperty |
setWebsiteUrl(String websiteUrl)
Website url for this web property.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAccountId()
null for nonepublic Webproperty setAccountId(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 DateTime getCreated()
null for nonepublic Webproperty setCreated(DateTime created)
created - created or null for nonepublic Boolean getDataRetentionResetOnNewActivity()
null for nonepublic Webproperty setDataRetentionResetOnNewActivity(Boolean dataRetentionResetOnNewActivity)
dataRetentionResetOnNewActivity - dataRetentionResetOnNewActivity or null for nonepublic String getDataRetentionTtl()
null for nonepublic Webproperty setDataRetentionTtl(String dataRetentionTtl)
dataRetentionTtl - dataRetentionTtl or null for nonepublic Long getDefaultProfileId()
null for nonepublic Webproperty setDefaultProfileId(Long defaultProfileId)
defaultProfileId - defaultProfileId or null for nonepublic String getId()
null for nonepublic Webproperty setId(String id)
id - id or null for nonepublic String getIndustryVertical()
null for nonepublic Webproperty setIndustryVertical(String industryVertical)
industryVertical - industryVertical or null for nonepublic String getInternalWebPropertyId()
null for nonepublic Webproperty setInternalWebPropertyId(String internalWebPropertyId)
internalWebPropertyId - internalWebPropertyId or null for nonepublic String getKind()
null for nonepublic Webproperty setKind(String kind)
kind - kind or null for nonepublic String getLevel()
null for nonepublic Webproperty setLevel(String level)
level - level or null for nonepublic String getName()
null for nonepublic Webproperty setName(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 Integer getProfileCount()
null for nonepublic Webproperty setProfileCount(Integer profileCount)
profileCount - profileCount or null for nonepublic String getSelfLink()
null for nonepublic Webproperty setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic Boolean getStarred()
null for nonepublic Webproperty setStarred(Boolean starred)
starred - starred or null for nonepublic DateTime getUpdated()
null for nonepublic Webproperty setUpdated(DateTime updated)
updated - updated or null for nonepublic String getWebsiteUrl()
null for nonepublic Webproperty setWebsiteUrl(String websiteUrl)
websiteUrl - websiteUrl or null for nonepublic Webproperty set(String fieldName, Object value)
set in class GenericJsonpublic Webproperty clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.