class Google::Apis::AnalyticsreportingV4::ReportData

The data part of the report.

Attributes

data_last_refreshed[RW]

The last time the data in the report was refreshed. All the hits received before this timestamp are included in the calculation of the report. Corresponds to the JSON property `dataLastRefreshed` @return [String]

is_data_golden[RW]

Indicates if response to this request is golden or not. Data is golden when the exact same request will not produce any new results if asked at a later point in time. Corresponds to the JSON property `isDataGolden` @return [Boolean]

is_data_golden?[RW]

Indicates if response to this request is golden or not. Data is golden when the exact same request will not produce any new results if asked at a later point in time. Corresponds to the JSON property `isDataGolden` @return [Boolean]

maximums[RW]

Minimum and maximum values seen over all matching rows. These are both empty when `hideValueRanges` in the request is false, or when rowCount is zero. Corresponds to the JSON property `maximums` @return [Array<Google::Apis::AnalyticsreportingV4::DateRangeValues>]

minimums[RW]

Minimum and maximum values seen over all matching rows. These are both empty when `hideValueRanges` in the request is false, or when rowCount is zero. Corresponds to the JSON property `minimums` @return [Array<Google::Apis::AnalyticsreportingV4::DateRangeValues>]

row_count[RW]

Total number of matching rows for this query. Corresponds to the JSON property `rowCount` @return [Fixnum]

rows[RW]

There's one ReportRow for every unique combination of dimensions. Corresponds to the JSON property `rows` @return [Array<Google::Apis::AnalyticsreportingV4::ReportRow>]

samples_read_counts[RW]

If the results are [sampled](support.google.com/analytics/answer/ 2637192), this returns the total number of samples read, one entry per date range. If the results are not sampled this field will not be defined. See [ developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) for details. Corresponds to the JSON property `samplesReadCounts` @return [Array<Fixnum>]

sampling_space_sizes[RW]

If the results are [sampled](support.google.com/analytics/answer/ 2637192), this returns the total number of samples present, one entry per date range. If the results are not sampled this field will not be defined. See [ developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) for details. Corresponds to the JSON property `samplingSpaceSizes` @return [Array<Fixnum>]

totals[RW]

For each requested date range, for the set of all rows that match the query, every requested value format gets a total. The total for a value format is computed by first totaling the metrics mentioned in the value format and then evaluating the value format as a scalar expression. E.g., The “totals” for `3 / (ga:sessions + 2)` we compute `3 / ((sum of all relevant ga:sessions) + 2)`. Totals are computed before pagination. Corresponds to the JSON property `totals` @return [Array<Google::Apis::AnalyticsreportingV4::DateRangeValues>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsreporting_v4/classes.rb, line 1252
def update!(**args)
  @data_last_refreshed = args[:data_last_refreshed] if args.key?(:data_last_refreshed)
  @is_data_golden = args[:is_data_golden] if args.key?(:is_data_golden)
  @maximums = args[:maximums] if args.key?(:maximums)
  @minimums = args[:minimums] if args.key?(:minimums)
  @row_count = args[:row_count] if args.key?(:row_count)
  @rows = args[:rows] if args.key?(:rows)
  @samples_read_counts = args[:samples_read_counts] if args.key?(:samples_read_counts)
  @sampling_space_sizes = args[:sampling_space_sizes] if args.key?(:sampling_space_sizes)
  @totals = args[:totals] if args.key?(:totals)
end