public final class ReportData
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 Reporting 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.Flags| Constructor and Description |
|---|
ReportData() |
| Modifier and Type | Method and Description |
|---|---|
ReportData |
clone() |
java.lang.String |
getDataLastRefreshed()
The last time the data in the report was refreshed.
|
java.lang.Boolean |
getIsDataGolden()
Indicates if response to this request is golden or not.
|
java.util.List<DateRangeValues> |
getMaximums()
Minimum and maximum values seen over all matching rows.
|
java.util.List<DateRangeValues> |
getMinimums()
Minimum and maximum values seen over all matching rows.
|
java.lang.Integer |
getRowCount()
Total number of matching rows for this query.
|
java.util.List<ReportRow> |
getRows()
There's one ReportRow for every unique combination of dimensions.
|
java.util.List<java.lang.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.
|
java.util.List<java.lang.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.
|
java.util.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(java.lang.String fieldName,
java.lang.Object value) |
ReportData |
setDataLastRefreshed(java.lang.String dataLastRefreshed)
The last time the data in the report was refreshed.
|
ReportData |
setIsDataGolden(java.lang.Boolean isDataGolden)
Indicates if response to this request is golden or not.
|
ReportData |
setMaximums(java.util.List<DateRangeValues> maximums)
Minimum and maximum values seen over all matching rows.
|
ReportData |
setMinimums(java.util.List<DateRangeValues> minimums)
Minimum and maximum values seen over all matching rows.
|
ReportData |
setRowCount(java.lang.Integer rowCount)
Total number of matching rows for this query.
|
ReportData |
setRows(java.util.List<ReportRow> rows)
There's one ReportRow for every unique combination of dimensions.
|
ReportData |
setSamplesReadCounts(java.util.List<java.lang.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(java.util.List<java.lang.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(java.util.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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getDataLastRefreshed()
null for nonepublic ReportData setDataLastRefreshed(java.lang.String dataLastRefreshed)
dataLastRefreshed - dataLastRefreshed or null for nonepublic java.lang.Boolean getIsDataGolden()
null for nonepublic ReportData setIsDataGolden(java.lang.Boolean isDataGolden)
isDataGolden - isDataGolden or null for nonepublic java.util.List<DateRangeValues> getMaximums()
null for nonepublic ReportData setMaximums(java.util.List<DateRangeValues> maximums)
maximums - maximums or null for nonepublic java.util.List<DateRangeValues> getMinimums()
null for nonepublic ReportData setMinimums(java.util.List<DateRangeValues> minimums)
minimums - minimums or null for nonepublic java.lang.Integer getRowCount()
null for nonepublic ReportData setRowCount(java.lang.Integer rowCount)
rowCount - rowCount or null for nonepublic java.util.List<ReportRow> getRows()
null for nonepublic ReportData setRows(java.util.List<ReportRow> rows)
rows - rows or null for nonepublic java.util.List<java.lang.Long> getSamplesReadCounts()
null for nonepublic ReportData setSamplesReadCounts(java.util.List<java.lang.Long> samplesReadCounts)
samplesReadCounts - samplesReadCounts or null for nonepublic java.util.List<java.lang.Long> getSamplingSpaceSizes()
null for nonepublic ReportData setSamplingSpaceSizes(java.util.List<java.lang.Long> samplingSpaceSizes)
samplingSpaceSizes - samplingSpaceSizes or null for nonepublic java.util.List<DateRangeValues> getTotals()
null for nonepublic ReportData setTotals(java.util.List<DateRangeValues> totals)
totals - totals or null for nonepublic ReportData set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ReportData clone()
clone in class com.google.api.client.json.GenericJson