Google Analytics Admin V1beta Client - Class RunAccessReportResponse (0.22.5)

Reference documentation and code samples for the Google Analytics Admin V1beta Client class RunAccessReportResponse.

The customized Data Access Record Report response.

Generated from protobuf message google.analytics.admin.v1beta.RunAccessReportResponse

Namespace

Google \ Analytics \ Admin \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ dimension_headers array<Google\Analytics\Admin\V1beta\AccessDimensionHeader>

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

↳ metric_headers array<Google\Analytics\Admin\V1beta\AccessMetricHeader>

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

↳ rows array<Google\Analytics\Admin\V1beta\AccessRow>

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

↳ row_count int

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.

↳ quota Google\Analytics\Admin\V1beta\AccessQuota

The quota state for this Analytics property including this request. This field doesn't work with account-level requests.

getDimensionHeaders

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDimensionHeaders

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

Parameter
Name Description
var array<Google\Analytics\Admin\V1beta\AccessDimensionHeader>
Returns
Type Description
$this

getMetricHeaders

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMetricHeaders

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

Parameter
Name Description
var array<Google\Analytics\Admin\V1beta\AccessMetricHeader>
Returns
Type Description
$this

getRows

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRows

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

Parameter
Name Description
var array<Google\Analytics\Admin\V1beta\AccessRow>
Returns
Type Description
$this

getRowCount

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.

Returns
Type Description
int

setRowCount

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.

Parameter
Name Description
var int
Returns
Type Description
$this

getQuota

The quota state for this Analytics property including this request. This field doesn't work with account-level requests.

Returns
Type Description
Google\Analytics\Admin\V1beta\AccessQuota|null

hasQuota

clearQuota

setQuota

The quota state for this Analytics property including this request. This field doesn't work with account-level requests.

Parameter
Name Description
var Google\Analytics\Admin\V1beta\AccessQuota
Returns
Type Description
$this