# Google Analytics Admin V1alpha Client - Class RunAccessReportResponse (0.32.0)

0.32.0 (latest) 0.31.3 0.30.0 0.29.1 0.28.1 0.27.0 0.26.0 0.25.2 0.24.2 0.23.0 0.22.5 0.20.0 0.19.0 0.18.1 0.17.0 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.2

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

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

The customized Data Access Record Report response.

Generated from protobuf message `google.analytics.admin.v1alpha.RunAccessReportResponse`

## Namespace

Google \\ Analytics \\ Admin \\ V1alpha

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dimension_headers` | `array<https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.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<https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.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<https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.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](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). |
| `↳ quota` | `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.AccessDimensionHeader>` |   |

### 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<https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.AccessMetricHeader>` |   |

### 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<https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.AccessMetricHeader>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRows

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.AccessRow>` |   |

### setRows

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.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](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#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](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#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** |
| `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.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` | `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.AccessQuota` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |