Google Analytics Data V1beta Client - Class QueryAudienceExportResponse (0.12.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Analytics\Data\V1beta\AudienceExport
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array<Google\Analytics\Data\V1beta\AudienceRow>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this