target.apidocs.com.google.api.services.analytics.model.Webproperty.html Maven / Gradle / Ivy
Webproperty (Google Analytics API v3-rev20190807-1.31.0)
com.google.api.services.analytics.model
Class Webproperty
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.analytics.model.Webproperty
-
public final class Webproperty
extends GenericJson
JSON template for an Analytics web property.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
Nested Classes
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.
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Webproperty()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAccountId
public String getAccountId()
Account ID to which this web property belongs.
- Returns:
- value or
null
for none
-
setAccountId
public Webproperty setAccountId(String accountId)
Account ID to which this web property belongs.
- Parameters:
accountId
- accountId or null
for none
-
getChildLink
public Webproperty.ChildLink getChildLink()
Child link for this web property. Points to the list of views (profiles) for this web property.
- Returns:
- value or
null
for none
-
setChildLink
public Webproperty setChildLink(Webproperty.ChildLink childLink)
Child link for this web property. Points to the list of views (profiles) for this web property.
- Parameters:
childLink
- childLink or null
for none
-
getCreated
public DateTime getCreated()
Time this web property was created.
- Returns:
- value or
null
for none
-
setCreated
public Webproperty setCreated(DateTime created)
Time this web property was created.
- Parameters:
created
- created or null
for none
-
getDataRetentionResetOnNewActivity
public 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). Set to false to
delete data associated with the user identifier automatically after the rentention period. This
property cannot be set on insert.
- Returns:
- value or
null
for none
-
setDataRetentionResetOnNewActivity
public 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). Set to false to
delete data associated with the user identifier automatically after the rentention period. This
property cannot be set on insert.
- Parameters:
dataRetentionResetOnNewActivity
- dataRetentionResetOnNewActivity or null
for none
-
getDataRetentionTtl
public String getDataRetentionTtl()
The length of time for which user and event data is retained. This property cannot be set on
insert.
- Returns:
- value or
null
for none
-
setDataRetentionTtl
public Webproperty setDataRetentionTtl(String dataRetentionTtl)
The length of time for which user and event data is retained. This property cannot be set on
insert.
- Parameters:
dataRetentionTtl
- dataRetentionTtl or null
for none
-
getDefaultProfileId
public Long getDefaultProfileId()
Default view (profile) ID.
- Returns:
- value or
null
for none
-
setDefaultProfileId
public Webproperty setDefaultProfileId(Long defaultProfileId)
Default view (profile) ID.
- Parameters:
defaultProfileId
- defaultProfileId or null
for none
-
getId
public String getId()
Web property ID of the form UA-XXXXX-YY.
- Returns:
- value or
null
for none
-
setId
public Webproperty setId(String id)
Web property ID of the form UA-XXXXX-YY.
- Parameters:
id
- id or null
for none
-
getIndustryVertical
public String getIndustryVertical()
The industry vertical/category selected for this web property.
- Returns:
- value or
null
for none
-
setIndustryVertical
public Webproperty setIndustryVertical(String industryVertical)
The industry vertical/category selected for this web property.
- Parameters:
industryVertical
- industryVertical or null
for none
-
getInternalWebPropertyId
public String getInternalWebPropertyId()
Internal ID for this web property.
- Returns:
- value or
null
for none
-
setInternalWebPropertyId
public Webproperty setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for this web property.
- Parameters:
internalWebPropertyId
- internalWebPropertyId or null
for none
-
getKind
public String getKind()
Resource type for Analytics WebProperty.
- Returns:
- value or
null
for none
-
setKind
public Webproperty setKind(String kind)
Resource type for Analytics WebProperty.
- Parameters:
kind
- kind or null
for none
-
getLevel
public String getLevel()
Level for this web property. Possible values are STANDARD or PREMIUM.
- Returns:
- value or
null
for none
-
setLevel
public Webproperty setLevel(String level)
Level for this web property. Possible values are STANDARD or PREMIUM.
- Parameters:
level
- level or null
for none
-
getName
public String getName()
Name of this web property.
- Returns:
- value or
null
for none
-
setName
public Webproperty setName(String name)
Name of this web property.
- Parameters:
name
- name or null
for none
-
getParentLink
public Webproperty.ParentLink getParentLink()
Parent link for this web property. Points to the account to which this web property belongs.
- Returns:
- value or
null
for none
-
setParentLink
public Webproperty setParentLink(Webproperty.ParentLink parentLink)
Parent link for this web property. Points to the account to which this web property belongs.
- Parameters:
parentLink
- parentLink or null
for none
-
getPermissions
public Webproperty.Permissions getPermissions()
Permissions the user has for this web property.
- Returns:
- value or
null
for none
-
setPermissions
public Webproperty setPermissions(Webproperty.Permissions permissions)
Permissions the user has for this web property.
- Parameters:
permissions
- permissions or null
for none
-
getProfileCount
public Integer getProfileCount()
View (Profile) count for this web property.
- Returns:
- value or
null
for none
-
setProfileCount
public Webproperty setProfileCount(Integer profileCount)
View (Profile) count for this web property.
- Parameters:
profileCount
- profileCount or null
for none
-
getSelfLink
public String getSelfLink()
Link for this web property.
- Returns:
- value or
null
for none
-
setSelfLink
public Webproperty setSelfLink(String selfLink)
Link for this web property.
- Parameters:
selfLink
- selfLink or null
for none
-
getStarred
public Boolean getStarred()
Indicates whether this web property is starred or not.
- Returns:
- value or
null
for none
-
setStarred
public Webproperty setStarred(Boolean starred)
Indicates whether this web property is starred or not.
- Parameters:
starred
- starred or null
for none
-
getUpdated
public DateTime getUpdated()
Time this web property was last modified.
- Returns:
- value or
null
for none
-
setUpdated
public Webproperty setUpdated(DateTime updated)
Time this web property was last modified.
- Parameters:
updated
- updated or null
for none
-
getWebsiteUrl
public String getWebsiteUrl()
Website url for this web property.
- Returns:
- value or
null
for none
-
setWebsiteUrl
public Webproperty setWebsiteUrl(String websiteUrl)
Website url for this web property.
- Parameters:
websiteUrl
- websiteUrl or null
for none
-
set
public Webproperty set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Webproperty clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.