Google Analytics Admin V1alpha Client - Class ListAudiencesResponse (0.20.0)

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

Response message for ListAudiences RPC.

Generated from protobuf message google.analytics.admin.v1alpha.ListAudiencesResponse

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ audiences array<Google\Analytics\Admin\V1alpha\Audience>

List of Audiences.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getAudiences

List of Audiences.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAudiences

List of Audiences.

Parameter
NameDescription
var array<Google\Analytics\Admin\V1alpha\Audience>
Returns
TypeDescription
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
TypeDescription
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
NameDescription
var string
Returns
TypeDescription
$this