Google Cloud Billing V1 Client - Class ListBillingAccountsResponse (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Billing V1 Client class ListBillingAccountsResponse.

Response message for ListBillingAccounts.

Generated from protobuf message google.cloud.billing.v1.ListBillingAccountsResponse

Namespace

Google \ Cloud \ Billing \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ billing_accounts array<Google\Cloud\Billing\V1\BillingAccount>

A list of billing accounts.

↳ next_page_token string

A token to retrieve the next page of results. To retrieve the next page, call ListBillingAccounts again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

getBillingAccounts

A list of billing accounts.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setBillingAccounts

A list of billing accounts.

Parameter
Name Description
var array<Google\Cloud\Billing\V1\BillingAccount>
Returns
Type Description
$this

getNextPageToken

A token to retrieve the next page of results. To retrieve the next page, call ListBillingAccounts again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

Returns
Type Description
string

setNextPageToken

A token to retrieve the next page of results. To retrieve the next page, call ListBillingAccounts again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

Parameter
Name Description
var string
Returns
Type Description
$this