class Google::Apis::AnalyticsdataV1beta::RunRealtimeReportRequest
The request to generate a realtime report.
Attributes
To express dimension or metric filters. The fields in the same FilterExpression
need to be either all dimensions or all metrics. Corresponds to the JSON property `dimensionFilter` @return [Google::Apis::AnalyticsdataV1beta::FilterExpression]
The dimensions requested and displayed. Corresponds to the JSON property `dimensions` @return [Array<Google::Apis::AnalyticsdataV1beta::Dimension>]
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. `limit` must be positive. The API can also return fewer rows than the requested `limit`, if there aren't as many dimension values as the `limit`. For instance, there are fewer than 300 possible values for the dimension ` country`, so when reporting on only `country`, you can't get more than 300 rows, even if you set `limit` to a higher value. Corresponds to the JSON property `limit` @return [Fixnum]
Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to “RESERVED_(MetricAggregation)”. Corresponds to the JSON property `metricAggregations` @return [Array<String>]
To express dimension or metric filters. The fields in the same FilterExpression
need to be either all dimensions or all metrics. Corresponds to the JSON property `metricFilter` @return [Google::Apis::AnalyticsdataV1beta::FilterExpression]
The metrics requested and displayed. Corresponds to the JSON property `metrics` @return [Array<Google::Apis::AnalyticsdataV1beta::Metric>]
The minute ranges of event data to read. If unspecified, one minute range for the last 30 minutes will be used. If multiple minute ranges are requested, each response row will contain a zero based minute range index. If two minute ranges overlap, the event data for the overlapping minutes is included in the response rows for both minute ranges. Corresponds to the JSON property `minuteRanges` @return [Array<Google::Apis::AnalyticsdataV1beta::MinuteRange>]
Specifies how rows are ordered in the response. Corresponds to the JSON property `orderBys` @return [Array<Google::Apis::AnalyticsdataV1beta::OrderBy>]
Toggles whether to return the current state of this Analytics Property's Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota). Corresponds to the JSON property `returnPropertyQuota` @return [Boolean]
Toggles whether to return the current state of this Analytics Property's Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota). Corresponds to the JSON property `returnPropertyQuota` @return [Boolean]
Public Class Methods
# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 1743 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 1748 def update!(**args) @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter) @dimensions = args[:dimensions] if args.key?(:dimensions) @limit = args[:limit] if args.key?(:limit) @metric_aggregations = args[:metric_aggregations] if args.key?(:metric_aggregations) @metric_filter = args[:metric_filter] if args.key?(:metric_filter) @metrics = args[:metrics] if args.key?(:metrics) @minute_ranges = args[:minute_ranges] if args.key?(:minute_ranges) @order_bys = args[:order_bys] if args.key?(:order_bys) @return_property_quota = args[:return_property_quota] if args.key?(:return_property_quota) end