Class: Google::Apis::AnalyticsdataV1beta::RunRealtimeReportResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsdata_v1beta/classes.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb

Overview

The response realtime report table corresponding to a request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RunRealtimeReportResponse

Returns a new instance of RunRealtimeReportResponse.



2278
2279
2280
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2278

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dimension_headersArray<Google::Apis::AnalyticsdataV1beta::DimensionHeader>

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows. Corresponds to the JSON property dimensionHeaders



2228
2229
2230
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2228

def dimension_headers
  @dimension_headers
end

#kindString

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#runRealtimeReport". Useful to distinguish between response types in JSON. Corresponds to the JSON property kind

Returns:

  • (String)


2235
2236
2237
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2235

def kind
  @kind
end

#maximumsArray<Google::Apis::AnalyticsdataV1beta::Row>

If requested, the maximum values of metrics. Corresponds to the JSON property maximums



2240
2241
2242
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2240

def maximums
  @maximums
end

#metric_headersArray<Google::Apis::AnalyticsdataV1beta::MetricHeader>

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows. Corresponds to the JSON property metricHeaders



2246
2247
2248
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2246

def metric_headers
  @metric_headers
end

#minimumsArray<Google::Apis::AnalyticsdataV1beta::Row>

If requested, the minimum values of metrics. Corresponds to the JSON property minimums



2251
2252
2253
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2251

def minimums
  @minimums
end

#property_quotaGoogle::Apis::AnalyticsdataV1beta::PropertyQuota

Current state of all quotas for this Analytics Property. If any quota for a property is exhausted, all requests to that property will return Resource Exhausted errors. Corresponds to the JSON property propertyQuota



2258
2259
2260
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2258

def property_quota
  @property_quota
end

#row_countFixnum

The total number of rows in the query result. rowCount is independent of the number of rows returned in the response and the limit request parameter. For example if a query returns 175 rows and includes limit of 50 in the API request, the response will contain rowCount of 175 but only 50 rows. Corresponds to the JSON property rowCount

Returns:

  • (Fixnum)


2266
2267
2268
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2266

def row_count
  @row_count
end

#rowsArray<Google::Apis::AnalyticsdataV1beta::Row>

Rows of dimension value combinations and metric values in the report. Corresponds to the JSON property rows



2271
2272
2273
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2271

def rows
  @rows
end

#totalsArray<Google::Apis::AnalyticsdataV1beta::Row>

If requested, the totaled values of metrics. Corresponds to the JSON property totals



2276
2277
2278
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2276

def totals
  @totals
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2283

def update!(**args)
  @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
  @kind = args[:kind] if args.key?(:kind)
  @maximums = args[:maximums] if args.key?(:maximums)
  @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
  @minimums = args[:minimums] if args.key?(:minimums)
  @property_quota = args[:property_quota] if args.key?(:property_quota)
  @row_count = args[:row_count] if args.key?(:row_count)
  @rows = args[:rows] if args.key?(:rows)
  @totals = args[:totals] if args.key?(:totals)
end