public final class GoogleAnalyticsAdminV1betaDataRetentionSettings
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 Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleAnalyticsAdminV1betaDataRetentionSettings() |
| Modifier and Type | Method and Description |
|---|---|
GoogleAnalyticsAdminV1betaDataRetentionSettings |
clone() |
String |
getEventDataRetention()
The length of time that event-level data is retained.
|
String |
getName()
Output only.
|
Boolean |
getResetUserDataOnNewActivity()
If true, reset the retention period for the user identifier with every event from that user.
|
GoogleAnalyticsAdminV1betaDataRetentionSettings |
set(String fieldName,
Object value) |
GoogleAnalyticsAdminV1betaDataRetentionSettings |
setEventDataRetention(String eventDataRetention)
The length of time that event-level data is retained.
|
GoogleAnalyticsAdminV1betaDataRetentionSettings |
setName(String name)
Output only.
|
GoogleAnalyticsAdminV1betaDataRetentionSettings |
setResetUserDataOnNewActivity(Boolean resetUserDataOnNewActivity)
If true, reset the retention period for the user identifier with every event from that user.
|
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 GoogleAnalyticsAdminV1betaDataRetentionSettings()
public String getEventDataRetention()
null for nonepublic GoogleAnalyticsAdminV1betaDataRetentionSettings setEventDataRetention(String eventDataRetention)
eventDataRetention - eventDataRetention or null for nonepublic String getName()
null for nonepublic GoogleAnalyticsAdminV1betaDataRetentionSettings setName(String name)
name - name or null for nonepublic Boolean getResetUserDataOnNewActivity()
null for nonepublic GoogleAnalyticsAdminV1betaDataRetentionSettings setResetUserDataOnNewActivity(Boolean resetUserDataOnNewActivity)
resetUserDataOnNewActivity - resetUserDataOnNewActivity or null for nonepublic GoogleAnalyticsAdminV1betaDataRetentionSettings set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleAnalyticsAdminV1betaDataRetentionSettings clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.