class Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportRequest

The request to generate a realtime report.

Attributes

dimension_filter[RW]

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::AnalyticsdataV1alpha::FilterExpression]

dimensions[RW]

The dimensions requested and displayed. Corresponds to the JSON property `dimensions` @return [Array<Google::Apis::AnalyticsdataV1alpha::Dimension>]

limit[RW]

The number of rows to return. If the `limit` parameter is unspecified, 10,000 rows are returned. The API returns a maximum of 100,000 rows per request, no matter how many you ask for. Corresponds to the JSON property `limit` @return [Fixnum]

metric_aggregations[RW]

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>]

metric_filter[RW]

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::AnalyticsdataV1alpha::FilterExpression]

metrics[RW]

The metrics requested and displayed. Corresponds to the JSON property `metrics` @return [Array<Google::Apis::AnalyticsdataV1alpha::Metric>]

order_bys[RW]

Specifies how rows are ordered in the response. Corresponds to the JSON property `orderBys` @return [Array<Google::Apis::AnalyticsdataV1alpha::OrderBy>]

return_property_quota[RW]

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]

return_property_quota?[RW]

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

new(**args) click to toggle source
# File lib/google/apis/analyticsdata_v1alpha/classes.rb, line 1542
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsdata_v1alpha/classes.rb, line 1547
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)
  @order_bys = args[:order_bys] if args.key?(:order_bys)
  @return_property_quota = args[:return_property_quota] if args.key?(:return_property_quota)
end