Google Analytics Data V1beta Client - Class QueryAudienceExportResponse (0.17.1)

Reference documentation and code samples for the Google Analytics Data V1beta Client class QueryAudienceExportResponse.

A list of users in an audience export.

Generated from protobuf message google.analytics.data.v1beta.QueryAudienceExportResponse

Namespace

Google \ Analytics \ Data \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ audience_export Google\Analytics\Data\V1beta\AudienceExport

Configuration data about AudienceExport being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceExport correspond to the columns in the AudienceRows.

↳ audience_rows array<Google\Analytics\Data\V1beta\AudienceRow>

Rows for each user in an audience export. The number of rows in this response will be less than or equal to request's page size.

↳ row_count int

The total number of rows in the AudienceExport 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.

getAudienceExport

Configuration data about AudienceExport being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceExport correspond to the columns in the AudienceRows.

Returns
Type Description
Google\Analytics\Data\V1beta\AudienceExport|null

hasAudienceExport

clearAudienceExport

setAudienceExport

Configuration data about AudienceExport being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceExport correspond to the columns in the AudienceRows.

Parameter
Name Description
var Google\Analytics\Data\V1beta\AudienceExport
Returns
Type Description
$this

getAudienceRows

Rows for each user in an audience export. The number of rows in this response will be less than or equal to request's page size.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAudienceRows

Rows for each user in an audience export. The number of rows in this response will be less than or equal to request's page size.

Parameter
Name Description
var array<Google\Analytics\Data\V1beta\AudienceRow>
Returns
Type Description
$this

getRowCount

The total number of rows in the AudienceExport 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

hasRowCount

clearRowCount

setRowCount

The total number of rows in the AudienceExport 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