public final class RunReportRequest
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 |
|---|
RunReportRequest() |
| Modifier and Type | Method and Description |
|---|---|
RunReportRequest |
clone() |
CohortSpec |
getCohortSpec()
Cohort group associated with this request.
|
String |
getCurrencyCode()
A currency code in ISO4217 format, such as "AED", "USD", "JPY".
|
List<DateRange> |
getDateRanges()
Date ranges of data to read.
|
FilterExpression |
getDimensionFilter()
Dimension filters let you ask for only specific dimension values in the report.
|
List<Dimension> |
getDimensions()
The dimensions requested and displayed.
|
Boolean |
getKeepEmptyRows()
If false or unspecified, each row with all metrics equal to 0 will not be returned.
|
Long |
getLimit()
The number of rows to return.
|
List<String> |
getMetricAggregations()
Aggregation of metrics.
|
FilterExpression |
getMetricFilter()
The filter clause of metrics.
|
List<Metric> |
getMetrics()
The metrics requested and displayed.
|
Long |
getOffset()
The row count of the start row.
|
List<OrderBy> |
getOrderBys()
Specifies how rows are ordered in the response.
|
String |
getProperty()
A Google Analytics GA4 property identifier whose events are tracked.
|
Boolean |
getReturnPropertyQuota()
Toggles whether to return the current state of this Analytics Property's quota.
|
RunReportRequest |
set(String fieldName,
Object value) |
RunReportRequest |
setCohortSpec(CohortSpec cohortSpec)
Cohort group associated with this request.
|
RunReportRequest |
setCurrencyCode(String currencyCode)
A currency code in ISO4217 format, such as "AED", "USD", "JPY".
|
RunReportRequest |
setDateRanges(List<DateRange> dateRanges)
Date ranges of data to read.
|
RunReportRequest |
setDimensionFilter(FilterExpression dimensionFilter)
Dimension filters let you ask for only specific dimension values in the report.
|
RunReportRequest |
setDimensions(List<Dimension> dimensions)
The dimensions requested and displayed.
|
RunReportRequest |
setKeepEmptyRows(Boolean keepEmptyRows)
If false or unspecified, each row with all metrics equal to 0 will not be returned.
|
RunReportRequest |
setLimit(Long limit)
The number of rows to return.
|
RunReportRequest |
setMetricAggregations(List<String> metricAggregations)
Aggregation of metrics.
|
RunReportRequest |
setMetricFilter(FilterExpression metricFilter)
The filter clause of metrics.
|
RunReportRequest |
setMetrics(List<Metric> metrics)
The metrics requested and displayed.
|
RunReportRequest |
setOffset(Long offset)
The row count of the start row.
|
RunReportRequest |
setOrderBys(List<OrderBy> orderBys)
Specifies how rows are ordered in the response.
|
RunReportRequest |
setProperty(String property)
A Google Analytics GA4 property identifier whose events are tracked.
|
RunReportRequest |
setReturnPropertyQuota(Boolean returnPropertyQuota)
Toggles whether to return the current state of this Analytics Property's quota.
|
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 CohortSpec getCohortSpec()
null for nonepublic RunReportRequest setCohortSpec(CohortSpec cohortSpec)
cohortSpec - cohortSpec or null for nonepublic String getCurrencyCode()
null for nonepublic RunReportRequest setCurrencyCode(String currencyCode)
currencyCode - currencyCode or null for nonepublic List<DateRange> getDateRanges()
null for nonepublic RunReportRequest setDateRanges(List<DateRange> dateRanges)
dateRanges - dateRanges or null for nonepublic FilterExpression getDimensionFilter()
null for nonepublic RunReportRequest setDimensionFilter(FilterExpression dimensionFilter)
dimensionFilter - dimensionFilter or null for nonepublic List<Dimension> getDimensions()
null for nonepublic RunReportRequest setDimensions(List<Dimension> dimensions)
dimensions - dimensions or null for nonepublic Boolean getKeepEmptyRows()
null for nonepublic RunReportRequest setKeepEmptyRows(Boolean keepEmptyRows)
keepEmptyRows - keepEmptyRows or null for nonepublic Long getLimit()
null for nonepublic RunReportRequest setLimit(Long limit)
limit - limit or null for nonepublic List<String> getMetricAggregations()
null for nonepublic RunReportRequest setMetricAggregations(List<String> metricAggregations)
metricAggregations - metricAggregations or null for nonepublic FilterExpression getMetricFilter()
null for nonepublic RunReportRequest setMetricFilter(FilterExpression metricFilter)
metricFilter - metricFilter or null for nonepublic List<Metric> getMetrics()
null for nonepublic RunReportRequest setMetrics(List<Metric> metrics)
metrics - metrics or null for nonepublic Long getOffset()
null for nonepublic RunReportRequest setOffset(Long offset)
offset - offset or null for nonepublic List<OrderBy> getOrderBys()
null for nonepublic RunReportRequest setOrderBys(List<OrderBy> orderBys)
orderBys - orderBys or null for nonepublic String getProperty()
null for nonepublic RunReportRequest setProperty(String property)
property - property or null for nonepublic Boolean getReturnPropertyQuota()
null for nonepublic RunReportRequest setReturnPropertyQuota(Boolean returnPropertyQuota)
returnPropertyQuota - returnPropertyQuota or null for nonepublic RunReportRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RunReportRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.