public final class CohortSpec
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 Data 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 |
|---|
CohortSpec() |
| Modifier and Type | Method and Description |
|---|---|
CohortSpec |
clone() |
CohortReportSettings |
getCohortReportSettings()
Optional settings for a cohort report.
|
List<Cohort> |
getCohorts()
Defines the selection criteria to group users into cohorts.
|
CohortsRange |
getCohortsRange()
Cohort reports follow cohorts over an extended reporting date range.
|
CohortSpec |
set(String fieldName,
Object value) |
CohortSpec |
setCohortReportSettings(CohortReportSettings cohortReportSettings)
Optional settings for a cohort report.
|
CohortSpec |
setCohorts(List<Cohort> cohorts)
Defines the selection criteria to group users into cohorts.
|
CohortSpec |
setCohortsRange(CohortsRange cohortsRange)
Cohort reports follow cohorts over an extended reporting date range.
|
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 CohortReportSettings getCohortReportSettings()
null for nonepublic CohortSpec setCohortReportSettings(CohortReportSettings cohortReportSettings)
cohortReportSettings - cohortReportSettings or null for nonepublic List<Cohort> getCohorts()
null for nonepublic CohortSpec setCohorts(List<Cohort> cohorts)
cohorts - cohorts or null for nonepublic CohortsRange getCohortsRange()
null for nonepublic CohortSpec setCohortsRange(CohortsRange cohortsRange)
cohortsRange - cohortsRange or null for nonepublic CohortSpec set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CohortSpec clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.