Class Google::Analytics::Data::V1beta::RunReportRequest
Stay organized with collections
Save and categorize content based on your preferences.
The request to generate a report.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cohort_spec
defcohort_spec()->::Google::Analytics::Data::V1beta::CohortSpec- (::Google::Analytics::Data::V1beta::CohortSpec) — Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present.
#cohort_spec=
defcohort_spec=(value)->::Google::Analytics::Data::V1beta::CohortSpec- value (::Google::Analytics::Data::V1beta::CohortSpec) — Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present.
- (::Google::Analytics::Data::V1beta::CohortSpec) — Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present.
#currency_code
defcurrency_code()->::String- (::String) — A currency code in ISO4217 format, such as "AED", "USD", "JPY". If the field is empty, the report uses the property's default currency.
#currency_code=
defcurrency_code=(value)->::String- value (::String) — A currency code in ISO4217 format, such as "AED", "USD", "JPY". If the field is empty, the report uses the property's default currency.
- (::String) — A currency code in ISO4217 format, such as "AED", "USD", "JPY". If the field is empty, the report uses the property's default currency.
#date_ranges
defdate_ranges()->::Array<::Google::Analytics::Data::V1beta::DateRange>-
(::Array<::Google::Analytics::Data::V1beta::DateRange>) — Date ranges of data to read. If multiple date ranges are requested, each
response row will contain a zero based date range index. If two date
ranges overlap, the event data for the overlapping days is included in the
response rows for both date ranges. In a cohort request, this
dateRangesmust be unspecified.
#date_ranges=
defdate_ranges=(value)->::Array<::Google::Analytics::Data::V1beta::DateRange>-
value (::Array<::Google::Analytics::Data::V1beta::DateRange>) — Date ranges of data to read. If multiple date ranges are requested, each
response row will contain a zero based date range index. If two date
ranges overlap, the event data for the overlapping days is included in the
response rows for both date ranges. In a cohort request, this
dateRangesmust be unspecified.
-
(::Array<::Google::Analytics::Data::V1beta::DateRange>) — Date ranges of data to read. If multiple date ranges are requested, each
response row will contain a zero based date range index. If two date
ranges overlap, the event data for the overlapping days is included in the
response rows for both date ranges. In a cohort request, this
dateRangesmust be unspecified.
#dimension_filter
defdimension_filter()->::Google::Analytics::Data::V1beta::FilterExpression- (::Google::Analytics::Data::V1beta::FilterExpression) — Dimension filters allow you to ask for only specific dimension values in the report. To learn more, see Fundamentals of Dimension Filters for examples. Metrics cannot be used in this filter.
#dimension_filter=
defdimension_filter=(value)->::Google::Analytics::Data::V1beta::FilterExpression- value (::Google::Analytics::Data::V1beta::FilterExpression) — Dimension filters allow you to ask for only specific dimension values in the report. To learn more, see Fundamentals of Dimension Filters for examples. Metrics cannot be used in this filter.
- (::Google::Analytics::Data::V1beta::FilterExpression) — Dimension filters allow you to ask for only specific dimension values in the report. To learn more, see Fundamentals of Dimension Filters for examples. Metrics cannot be used in this filter.
#dimensions
defdimensions()->::Array<::Google::Analytics::Data::V1beta::Dimension>- (::Array<::Google::Analytics::Data::V1beta::Dimension>) — The dimensions requested and displayed.
#dimensions=
defdimensions=(value)->::Array<::Google::Analytics::Data::V1beta::Dimension>- value (::Array<::Google::Analytics::Data::V1beta::Dimension>) — The dimensions requested and displayed.
- (::Array<::Google::Analytics::Data::V1beta::Dimension>) — The dimensions requested and displayed.
#keep_empty_rows
defkeep_empty_rows()->::Boolean- (::Boolean) — If false or unspecified, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter.
#keep_empty_rows=
defkeep_empty_rows=(value)->::Boolean- value (::Boolean) — If false or unspecified, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter.
- (::Boolean) — If false or unspecified, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter.
#limit
deflimit()->::Integer-
(::Integer) — The number of rows to return. If unspecified, 10,000 rows are returned. The
API returns a maximum of 100,000 rows per request, no matter how many you
ask for.
limitmust be positive.The API can also return fewer rows than the requested
limit, if there aren't as many dimension values as thelimit. For instance, there are fewer than 300 possible values for the dimensioncountry, so when reporting on onlycountry, you can't get more than 300 rows, even if you setlimitto a higher value.To learn more about this pagination parameter, see Pagination.
#limit=
deflimit=(value)->::Integer-
value (::Integer) — The number of rows to return. If unspecified, 10,000 rows are returned. The
API returns a maximum of 100,000 rows per request, no matter how many you
ask for.
limitmust be positive.The API can also return fewer rows than the requested
limit, if there aren't as many dimension values as thelimit. For instance, there are fewer than 300 possible values for the dimensioncountry, so when reporting on onlycountry, you can't get more than 300 rows, even if you setlimitto a higher value.To learn more about this pagination parameter, see Pagination.
-
(::Integer) — The number of rows to return. If unspecified, 10,000 rows are returned. The
API returns a maximum of 100,000 rows per request, no matter how many you
ask for.
limitmust be positive.The API can also return fewer rows than the requested
limit, if there aren't as many dimension values as thelimit. For instance, there are fewer than 300 possible values for the dimensioncountry, so when reporting on onlycountry, you can't get more than 300 rows, even if you setlimitto a higher value.To learn more about this pagination parameter, see Pagination.
#metric_aggregations
defmetric_aggregations()->::Array<::Google::Analytics::Data::V1beta::MetricAggregation>- (::Array<::Google::Analytics::Data::V1beta::MetricAggregation>) — Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)".
#metric_aggregations=
defmetric_aggregations=(value)->::Array<::Google::Analytics::Data::V1beta::MetricAggregation>- value (::Array<::Google::Analytics::Data::V1beta::MetricAggregation>) — Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)".
- (::Array<::Google::Analytics::Data::V1beta::MetricAggregation>) — Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)".
#metric_filter
defmetric_filter()->::Google::Analytics::Data::V1beta::FilterExpression- (::Google::Analytics::Data::V1beta::FilterExpression) — The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Dimensions cannot be used in this filter.
#metric_filter=
defmetric_filter=(value)->::Google::Analytics::Data::V1beta::FilterExpression- value (::Google::Analytics::Data::V1beta::FilterExpression) — The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Dimensions cannot be used in this filter.
- (::Google::Analytics::Data::V1beta::FilterExpression) — The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Dimensions cannot be used in this filter.
#metrics
defmetrics()->::Array<::Google::Analytics::Data::V1beta::Metric>- (::Array<::Google::Analytics::Data::V1beta::Metric>) — The metrics requested and displayed.
#metrics=
defmetrics=(value)->::Array<::Google::Analytics::Data::V1beta::Metric>- value (::Array<::Google::Analytics::Data::V1beta::Metric>) — The metrics requested and displayed.
- (::Array<::Google::Analytics::Data::V1beta::Metric>) — The metrics requested and displayed.
#offset
defoffset()->::Integer-
(::Integer) — The row count of the start row. The first row is counted as row 0.
When paging, the first request does not specify offset; or equivalently, sets offset to 0; the first request returns the first
limitof rows. The second request sets offset to thelimitof the first request; the second request returns the secondlimitof rows.To learn more about this pagination parameter, see Pagination.
#offset=
defoffset=(value)->::Integer-
value (::Integer) — The row count of the start row. The first row is counted as row 0.
When paging, the first request does not specify offset; or equivalently, sets offset to 0; the first request returns the first
limitof rows. The second request sets offset to thelimitof the first request; the second request returns the secondlimitof rows.To learn more about this pagination parameter, see Pagination.
-
(::Integer) — The row count of the start row. The first row is counted as row 0.
When paging, the first request does not specify offset; or equivalently, sets offset to 0; the first request returns the first
limitof rows. The second request sets offset to thelimitof the first request; the second request returns the secondlimitof rows.To learn more about this pagination parameter, see Pagination.
#order_bys
deforder_bys()->::Array<::Google::Analytics::Data::V1beta::OrderBy>- (::Array<::Google::Analytics::Data::V1beta::OrderBy>) — Specifies how rows are ordered in the response.
#order_bys=
deforder_bys=(value)->::Array<::Google::Analytics::Data::V1beta::OrderBy>- value (::Array<::Google::Analytics::Data::V1beta::OrderBy>) — Specifies how rows are ordered in the response.
- (::Array<::Google::Analytics::Data::V1beta::OrderBy>) — Specifies how rows are ordered in the response.
#property
defproperty()->::String-
(::String) — A Google Analytics GA4 property identifier whose events are tracked.
Specified in the URL path and not the body. To learn more, see where to
find your Property
ID.
Within a batch request, this property should either be unspecified or
consistent with the batch-level property.
Example: properties/1234
#property=
defproperty=(value)->::String-
value (::String) — A Google Analytics GA4 property identifier whose events are tracked.
Specified in the URL path and not the body. To learn more, see where to
find your Property
ID.
Within a batch request, this property should either be unspecified or
consistent with the batch-level property.
Example: properties/1234
-
(::String) — A Google Analytics GA4 property identifier whose events are tracked.
Specified in the URL path and not the body. To learn more, see where to
find your Property
ID.
Within a batch request, this property should either be unspecified or
consistent with the batch-level property.
Example: properties/1234
#return_property_quota
defreturn_property_quota()->::Boolean- (::Boolean) — Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in PropertyQuota.
#return_property_quota=
defreturn_property_quota=(value)->::Boolean- value (::Boolean) — Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in PropertyQuota.
- (::Boolean) — Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in PropertyQuota.