class Google::Apis::AnalyticsV3::GaData::Query
Analytics data request query parameters.
Attributes
List of analytics dimensions. Corresponds to the JSON property `dimensions` @return [String]
End date. Corresponds to the JSON property `end-date` @return [String]
Comma-separated list of dimension or metric filters. Corresponds to the JSON property `filters` @return [String]
Unique table ID. Corresponds to the JSON property `ids` @return [String]
Maximum results per page. Corresponds to the JSON property `max-results` @return [Fixnum]
List of analytics metrics. Corresponds to the JSON property `metrics` @return [Array<String>]
Desired sampling level Corresponds to the JSON property `samplingLevel` @return [String]
Analytics advanced segment. Corresponds to the JSON property `segment` @return [String]
List of dimensions or metrics based on which Analytics data is sorted. Corresponds to the JSON property `sort` @return [Array<String>]
Start date. Corresponds to the JSON property `start-date` @return [String]
Start index. Corresponds to the JSON property `start-index` @return [Fixnum]
Public Class Methods
# File lib/google/apis/analytics_v3/classes.rb, line 2854 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/analytics_v3/classes.rb, line 2859 def update!(**args) @dimensions = args[:dimensions] if args.key?(:dimensions) @end_date = args[:end_date] if args.key?(:end_date) @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) @sampling_level = args[:sampling_level] if args.key?(:sampling_level) @segment = args[:segment] if args.key?(:segment) @sort = args[:sort] if args.key?(:sort) @start_date = args[:start_date] if args.key?(:start_date) @start_index = args[:start_index] if args.key?(:start_index) end