Class: Google::Apis::AnalyticsdataV1beta::RunReportResponse
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::RunReportResponse
- 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 report table corresponding to a request.
Instance Attribute Summary collapse
-
#dimension_headers ⇒ Array<Google::Apis::AnalyticsdataV1beta::DimensionHeader>
Describes dimension columns.
-
#kind ⇒ String
Identifies what kind of resource this message is.
-
#maximums ⇒ Array<Google::Apis::AnalyticsdataV1beta::Row>
If requested, the maximum values of metrics.
-
#metadata ⇒ Google::Apis::AnalyticsdataV1beta::ResponseMetaData
Response's metadata carrying additional information about the report content.
-
#metric_headers ⇒ Array<Google::Apis::AnalyticsdataV1beta::MetricHeader>
Describes metric columns.
-
#minimums ⇒ Array<Google::Apis::AnalyticsdataV1beta::Row>
If requested, the minimum values of metrics.
-
#property_quota ⇒ Google::Apis::AnalyticsdataV1beta::PropertyQuota
Current state of all quotas for this Analytics Property.
-
#row_count ⇒ Fixnum
The total number of rows in the query result.
-
#rows ⇒ Array<Google::Apis::AnalyticsdataV1beta::Row>
Rows of dimension value combinations and metric values in the report.
-
#totals ⇒ Array<Google::Apis::AnalyticsdataV1beta::Row>
If requested, the totaled values of metrics.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RunReportResponse
constructor
A new instance of RunReportResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RunReportResponse
Returns a new instance of RunReportResponse.
2132 2133 2134 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2132 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension_headers ⇒ Array<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
2074 2075 2076 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2074 def dimension_headers @dimension_headers end |
#kind ⇒ String
Identifies what kind of resource this message is. This kind is always the
fixed string "analyticsData#runReport". Useful to distinguish between response
types in JSON.
Corresponds to the JSON property kind
2081 2082 2083 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2081 def kind @kind end |
#maximums ⇒ Array<Google::Apis::AnalyticsdataV1beta::Row>
If requested, the maximum values of metrics.
Corresponds to the JSON property maximums
2086 2087 2088 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2086 def maximums @maximums end |
#metadata ⇒ Google::Apis::AnalyticsdataV1beta::ResponseMetaData
Response's metadata carrying additional information about the report content.
Corresponds to the JSON property metadata
2091 2092 2093 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2091 def @metadata end |
#metric_headers ⇒ Array<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
2097 2098 2099 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2097 def metric_headers @metric_headers end |
#minimums ⇒ Array<Google::Apis::AnalyticsdataV1beta::Row>
If requested, the minimum values of metrics.
Corresponds to the JSON property minimums
2102 2103 2104 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2102 def minimums @minimums end |
#property_quota ⇒ Google::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
2109 2110 2111 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2109 def property_quota @property_quota end |
#row_count ⇒ Fixnum
The total number of rows in the query result. rowCount is independent of the
number of rows returned in the response, the limit request parameter, and
the offset 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. To learn more about this pagination parameter, see
Pagination.
Corresponds to the JSON property rowCount
2120 2121 2122 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2120 def row_count @row_count end |
#rows ⇒ Array<Google::Apis::AnalyticsdataV1beta::Row>
Rows of dimension value combinations and metric values in the report.
Corresponds to the JSON property rows
2125 2126 2127 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2125 def rows @rows end |
#totals ⇒ Array<Google::Apis::AnalyticsdataV1beta::Row>
If requested, the totaled values of metrics.
Corresponds to the JSON property totals
2130 2131 2132 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2130 def totals @totals end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2137 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) @metadata = args[:metadata] if args.key?(:metadata) @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 |