Class: Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/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.



1584
1585
1586
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1584

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

Instance Attribute Details

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

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



1541
1542
1543
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1541

def dimension_headers
  @dimension_headers
end

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

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



1546
1547
1548
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1546

def maximums
  @maximums
end

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

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



1552
1553
1554
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1552

def metric_headers
  @metric_headers
end

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

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



1557
1558
1559
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1557

def minimums
  @minimums
end

#property_quotaGoogle::Apis::AnalyticsdataV1alpha::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



1564
1565
1566
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1564

def property_quota
  @property_quota
end

#row_countFixnum

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

Returns:

  • (Fixnum)


1572
1573
1574
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1572

def row_count
  @row_count
end

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

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



1577
1578
1579
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1577

def rows
  @rows
end

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

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



1582
1583
1584
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1582

def totals
  @totals
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1589

def update!(**args)
  @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
  @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