Google Analytics Admin V1alpha Client - Class ListAccountsResponse (0.14.0)

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

Request message for ListAccounts RPC.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ accounts array<Google\Analytics\Admin\V1alpha\Account>

Results that were accessible to the caller.

↳ 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.

getAccounts

Results that were accessible to the caller.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAccounts

Results that were accessible to the caller.

Parameter
NameDescription
var array<Google\Analytics\Admin\V1alpha\Account>
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