class Google::Apis::AnalyticsV3::McfData::Query

Analytics data request query parameters.

Attributes

dimensions[RW]

List of analytics dimensions. Corresponds to the JSON property `dimensions` @return [String]

end_date[RW]

End date. Corresponds to the JSON property `end-date` @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 analytics metrics. Corresponds to the JSON property `metrics` @return [Array<String>]

sampling_level[RW]

Desired sampling level Corresponds to the JSON property `samplingLevel` @return [String]

segment[RW]

Analytics advanced segment. Corresponds to the JSON property `segment` @return [String]

sort[RW]

List of dimensions or metrics based on which Analytics data is sorted. Corresponds to the JSON property `sort` @return [Array<String>]

start_date[RW]

Start date. Corresponds to the JSON property `start-date` @return [String]

start_index[RW]

Start index. Corresponds to the JSON property `start-index` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 3737
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 3742
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