class Google::Apis::AnalyticsV3::RealtimeData::Query
Real time data request query parameters.
Attributes
dimensions[RW]
List of real time dimensions. Corresponds to the JSON property `dimensions` @return [String]
filters[RW]
Comma-separated list of dimension or metric filters. Corresponds to the JSON property `filters` @return [String]
ids[RW]
Unique table ID. Corresponds to the JSON property `ids` @return [String]
max_results[RW]
Maximum results per page. Corresponds to the JSON property `max-results` @return [Fixnum]
metrics[RW]
List of real time metrics. Corresponds to the JSON property `metrics` @return [Array<String>]
sort[RW]
List of dimensions or metrics based on which real time data is sorted. Corresponds to the JSON property `sort` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 4552 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/analytics_v3/classes.rb, line 4557 def update!(**args) @dimensions = args[:dimensions] if args.key?(:dimensions) @filters = args[:filters] if args.key?(:filters) @ids = args[:ids] if args.key?(:ids) @max_results = args[:max_results] if args.key?(:max_results) @metrics = args[:metrics] if args.key?(:metrics) @sort = args[:sort] if args.key?(:sort) end