public final class ReportData 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 Analytics Reporting API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ReportData() |
| Modifier and Type | Method and Description |
|---|---|
ReportData |
clone() |
String |
getDataLastRefreshed()
The last time the data in the report was refreshed.
|
Boolean |
getIsDataGolden()
Indicates if response to this request is golden or not.
|
List<DateRangeValues> |
getMaximums()
Minimum and maximum values seen over all matching rows.
|
List<DateRangeValues> |
getMinimums()
Minimum and maximum values seen over all matching rows.
|
Integer |
getRowCount()
Total number of matching rows for this query.
|
List<ReportRow> |
getRows()
There's one ReportRow for every unique combination of dimensions.
|
List<Long> |
getSamplesReadCounts()
If the results are [sampled](https://support.google.com/analytics/answer/2637192), this returns
the total number of samples read, one entry per date range.
|
List<Long> |
getSamplingSpaceSizes()
If the results are [sampled](https://support.google.com/analytics/answer/2637192), this returns
the total number of samples present, one entry per date range.
|
List<DateRangeValues> |
getTotals()
For each requested date range, for the set of all rows that match the query, every requested
value format gets a total.
|
ReportData |
set(String fieldName,
Object value) |
ReportData |
setDataLastRefreshed(String dataLastRefreshed)
The last time the data in the report was refreshed.
|
ReportData |
setIsDataGolden(Boolean isDataGolden)
Indicates if response to this request is golden or not.
|
ReportData |
setMaximums(List<DateRangeValues> maximums)
Minimum and maximum values seen over all matching rows.
|
ReportData |
setMinimums(List<DateRangeValues> minimums)
Minimum and maximum values seen over all matching rows.
|
ReportData |
setRowCount(Integer rowCount)
Total number of matching rows for this query.
|
ReportData |
setRows(List<ReportRow> rows)
There's one ReportRow for every unique combination of dimensions.
|
ReportData |
setSamplesReadCounts(List<Long> samplesReadCounts)
If the results are [sampled](https://support.google.com/analytics/answer/2637192), this returns
the total number of samples read, one entry per date range.
|
ReportData |
setSamplingSpaceSizes(List<Long> samplingSpaceSizes)
If the results are [sampled](https://support.google.com/analytics/answer/2637192), this returns
the total number of samples present, one entry per date range.
|
ReportData |
setTotals(List<DateRangeValues> totals)
For each requested date range, for the set of all rows that match the query, every requested
value format gets a total.
|
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 getDataLastRefreshed()
null for nonepublic ReportData setDataLastRefreshed(String dataLastRefreshed)
dataLastRefreshed - dataLastRefreshed or null for nonepublic Boolean getIsDataGolden()
null for nonepublic ReportData setIsDataGolden(Boolean isDataGolden)
isDataGolden - isDataGolden or null for nonepublic List<DateRangeValues> getMaximums()
null for nonepublic ReportData setMaximums(List<DateRangeValues> maximums)
maximums - maximums or null for nonepublic List<DateRangeValues> getMinimums()
null for nonepublic ReportData setMinimums(List<DateRangeValues> minimums)
minimums - minimums or null for nonepublic Integer getRowCount()
null for nonepublic ReportData setRowCount(Integer rowCount)
rowCount - rowCount or null for nonepublic List<ReportRow> getRows()
null for nonepublic ReportData setRows(List<ReportRow> rows)
rows - rows or null for nonepublic List<Long> getSamplesReadCounts()
null for nonepublic ReportData setSamplesReadCounts(List<Long> samplesReadCounts)
samplesReadCounts - samplesReadCounts or null for nonepublic List<Long> getSamplingSpaceSizes()
null for nonepublic ReportData setSamplingSpaceSizes(List<Long> samplingSpaceSizes)
samplingSpaceSizes - samplingSpaceSizes or null for nonepublic List<DateRangeValues> getTotals()
null for nonepublic ReportData setTotals(List<DateRangeValues> totals)
totals - totals or null for nonepublic ReportData set(String fieldName, Object value)
set in class GenericJsonpublic ReportData clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.