class Google::Apis::AnalyticsV3::RealtimeData

Real time data for a given view (profile).

Attributes

column_headers[RW]

Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request. Corresponds to the JSON property `columnHeaders` @return [Array<Google::Apis::AnalyticsV3::RealtimeData::ColumnHeader>]

id[RW]

Unique ID for this data response. Corresponds to the JSON property `id` @return [String]

kind[RW]

Resource type. Corresponds to the JSON property `kind` @return [String]

profile_info[RW]

Information for the view (profile), for which the real time data was requested. Corresponds to the JSON property `profileInfo` @return [Google::Apis::AnalyticsV3::RealtimeData::ProfileInfo]

query[RW]

Real time data request query parameters. Corresponds to the JSON property `query` @return [Google::Apis::AnalyticsV3::RealtimeData::Query]

rows[RW]

Real time data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request. Corresponds to the JSON property `rows` @return [Array<Array<String>>]

total_results[RW]

The total number of rows for the query, regardless of the number of rows in the response. Corresponds to the JSON property `totalResults` @return [Fixnum]

totals_for_all_results[RW]

Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request. Corresponds to the JSON property `totalsForAllResults` @return [Hash<String,String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 4419
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 4424
def update!(**args)
  @column_headers = args[:column_headers] if args.key?(:column_headers)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @profile_info = args[:profile_info] if args.key?(:profile_info)
  @query = args[:query] if args.key?(:query)
  @rows = args[:rows] if args.key?(:rows)
  @self_link = args[:self_link] if args.key?(:self_link)
  @total_results = args[:total_results] if args.key?(:total_results)
  @totals_for_all_results = args[:totals_for_all_results] if args.key?(:totals_for_all_results)
end