Google Cloud Billing V1 Client - Class ListBillingAccountsResponse (1.8.0)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBillingAccounts

A list of billing accounts.

Parameter
NameDescription
var array<Google\Cloud\Billing\V1\BillingAccount>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this