target.apidocs.com.google.api.services.analytics.model.IncludeConditions.html Maven / Gradle / Ivy
IncludeConditions (Google Analytics API v3-rev20190807-1.31.0)
com.google.api.services.analytics.model
Class IncludeConditions
- 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.IncludeConditions
-
public final class IncludeConditions
extends GenericJson
JSON template for an Analytics Remarketing Include Conditions.
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/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
IncludeConditions()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
IncludeConditions
clone()
Integer
getDaysToLookBack()
The look-back window lets you specify a time frame for evaluating the behavior that qualifies
users for your audience.
Boolean
getIsSmartList()
Boolean indicating whether this segment is a smart list.
String
getKind()
Resource type for include conditions.
Integer
getMembershipDurationDays()
Number of days (in the range 1 to 540) a user remains in the audience.
String
getSegment()
The segment condition that will cause a user to be added to an audience.
IncludeConditions
set(String fieldName,
Object value)
IncludeConditions
setDaysToLookBack(Integer daysToLookBack)
The look-back window lets you specify a time frame for evaluating the behavior that qualifies
users for your audience.
IncludeConditions
setIsSmartList(Boolean isSmartList)
Boolean indicating whether this segment is a smart list.
IncludeConditions
setKind(String kind)
Resource type for include conditions.
IncludeConditions
setMembershipDurationDays(Integer membershipDurationDays)
Number of days (in the range 1 to 540) a user remains in the audience.
IncludeConditions
setSegment(String segment)
The segment condition that will cause a user to be added to an audience.
-
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
-
getDaysToLookBack
public Integer getDaysToLookBack()
The look-back window lets you specify a time frame for evaluating the behavior that qualifies
users for your audience. For example, if your filters include users from Central Asia, and
Transactions Greater than 2, and you set the look-back window to 14 days, then any user from
Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the
audience.
- Returns:
- value or
null
for none
-
setDaysToLookBack
public IncludeConditions setDaysToLookBack(Integer daysToLookBack)
The look-back window lets you specify a time frame for evaluating the behavior that qualifies
users for your audience. For example, if your filters include users from Central Asia, and
Transactions Greater than 2, and you set the look-back window to 14 days, then any user from
Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the
audience.
- Parameters:
daysToLookBack
- daysToLookBack or null
for none
-
getIsSmartList
public Boolean getIsSmartList()
Boolean indicating whether this segment is a smart list.
https://support.google.com/analytics/answer/4628577
- Returns:
- value or
null
for none
-
setIsSmartList
public IncludeConditions setIsSmartList(Boolean isSmartList)
Boolean indicating whether this segment is a smart list.
https://support.google.com/analytics/answer/4628577
- Parameters:
isSmartList
- isSmartList or null
for none
-
getKind
public String getKind()
Resource type for include conditions.
- Returns:
- value or
null
for none
-
setKind
public IncludeConditions setKind(String kind)
Resource type for include conditions.
- Parameters:
kind
- kind or null
for none
-
getMembershipDurationDays
public Integer getMembershipDurationDays()
Number of days (in the range 1 to 540) a user remains in the audience.
- Returns:
- value or
null
for none
-
setMembershipDurationDays
public IncludeConditions setMembershipDurationDays(Integer membershipDurationDays)
Number of days (in the range 1 to 540) a user remains in the audience.
- Parameters:
membershipDurationDays
- membershipDurationDays or null
for none
-
getSegment
public String getSegment()
The segment condition that will cause a user to be added to an audience.
- Returns:
- value or
null
for none
-
setSegment
public IncludeConditions setSegment(String segment)
The segment condition that will cause a user to be added to an audience.
- Parameters:
segment
- segment or null
for none
-
set
public IncludeConditions set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public IncludeConditions clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.