Google Analytics Data V1alpha Client - Class QueryReportTaskResponse (0.21.1)

Reference documentation and code samples for the Google Analytics Data V1alpha Client class QueryReportTaskResponse.

The report content corresponding to a report task.

Generated from protobuf message google.analytics.data.v1alpha.QueryReportTaskResponse

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ dimension_headersarray<DimensionHeader>

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

↳ metric_headersarray<MetricHeader>

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

↳ rowsarray<Row>

Rows of dimension value combinations and metric values in the report.

↳ totalsarray<Row>

If requested, the totaled values of metrics.

↳ maximumsarray<Row>

If requested, the maximum values of metrics.

↳ minimumsarray<Row>

If requested, the minimum values of metrics.

↳ row_countint

The total number of rows in the query result.

↳ metadataResponseMetaData

Metadata for the report.

getDimensionHeaders

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDimensionHeaders

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

Parameter
NameDescription
vararray<DimensionHeader>
Returns
TypeDescription
$this

getMetricHeaders

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetricHeaders

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

Parameter
NameDescription
vararray<MetricHeader>
Returns
TypeDescription
$this

getRows

Rows of dimension value combinations and metric values in the report.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRows

Rows of dimension value combinations and metric values in the report.

Parameter
NameDescription
vararray<Row>
Returns
TypeDescription
$this

getTotals

If requested, the totaled values of metrics.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTotals

If requested, the totaled values of metrics.

Parameter
NameDescription
vararray<Row>
Returns
TypeDescription
$this

getMaximums

If requested, the maximum values of metrics.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMaximums

If requested, the maximum values of metrics.

Parameter
NameDescription
vararray<Row>
Returns
TypeDescription
$this

getMinimums

If requested, the minimum values of metrics.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMinimums

If requested, the minimum values of metrics.

Parameter
NameDescription
vararray<Row>
Returns
TypeDescription
$this

getRowCount

The total number of rows in the query result.

Returns
TypeDescription
int

setRowCount

The total number of rows in the query result.

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getMetadata

Metadata for the report.

Returns
TypeDescription
ResponseMetaData|null

hasMetadata

clearMetadata

setMetadata

Metadata for the report.

Parameter
NameDescription
varResponseMetaData
Returns
TypeDescription
$this