Reference documentation and code samples for the Google Cloud Billing V1 Client class ListBillingAccountsRequest.
Request message forListBillingAccounts.
Generated from protobuf messagegoogle.cloud.billing.v1.ListBillingAccountsRequest
Namespace
Google \ Cloud \ Billing \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ page_size
int
Requested page size. The maximum page size is 100; this is also the default.
↳ page_token
string
A token identifying a page of results to return. This should be anext_page_tokenvalue returned from a previousListBillingAccountscall. If unspecified, the first page of results is returned.
↳ filter
string
Options for how to filter the returned billing accounts. This only supports filtering forsubaccountsunder a single provided parent billing account. (for example,master_billing_account=billingAccounts/012345-678901-ABCDEF). Boolean algebra and other fields are not currently supported.
↳ parent
string
Optional. The parent resource to list billing accounts from. Format: -organizations/{organization_id}, for example,organizations/12345678-billingAccounts/{billing_account_id}, for example,billingAccounts/012345-567890-ABCDEF
getPageSize
Requested page size. The maximum page size is 100; this is also the
default.
Returns
Type
Description
int
setPageSize
Requested page size. The maximum page size is 100; this is also the
default.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
A token identifying a page of results to return. This should be anext_page_tokenvalue returned from a previousListBillingAccountscall. If unspecified, the first page of results is returned.
Returns
Type
Description
string
setPageToken
A token identifying a page of results to return. This should be anext_page_tokenvalue returned from a previousListBillingAccountscall. If unspecified, the first page of results is returned.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
Options for how to filter the returned billing accounts.
This only supports filtering forsubaccountsunder a
single provided parent billing account.
(for example,master_billing_account=billingAccounts/012345-678901-ABCDEF).
Boolean algebra and other fields are not currently supported.
Returns
Type
Description
string
setFilter
Options for how to filter the returned billing accounts.
This only supports filtering forsubaccountsunder a
single provided parent billing account.
(for example,master_billing_account=billingAccounts/012345-678901-ABCDEF).
Boolean algebra and other fields are not currently supported.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getParent
Optional. The parent resource to list billing accounts from.
Format:
organizations/{organization_id}, for example,organizations/12345678
billingAccounts/{billing_account_id}, for example,billingAccounts/012345-567890-ABCDEF
Returns
Type
Description
string
setParent
Optional. The parent resource to list billing accounts from.
Format:
organizations/{organization_id}, for example,organizations/12345678
billingAccounts/{billing_account_id}, for example,billingAccounts/012345-567890-ABCDEF
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::buildFromParent
Parameter
Name
Description
parent
string
Optional. The parent resource to list billing accounts from.
Format:
organizations/{organization_id}, for example,organizations/12345678
billingAccounts/{billing_account_id}, for example,billingAccounts/012345-567890-ABCDEF
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Billing V1 Client - Class ListBillingAccountsRequest (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-billing/latest/V1.ListBillingAccountsRequest)\n- [2.1.2](/php/docs/reference/cloud-billing/2.1.2/V1.ListBillingAccountsRequest)\n- [2.0.1](/php/docs/reference/cloud-billing/2.0.1/V1.ListBillingAccountsRequest)\n- [1.9.8](/php/docs/reference/cloud-billing/1.9.8/V1.ListBillingAccountsRequest)\n- [1.8.0](/php/docs/reference/cloud-billing/1.8.0/V1.ListBillingAccountsRequest)\n- [1.7.5](/php/docs/reference/cloud-billing/1.7.5/V1.ListBillingAccountsRequest)\n- [1.6.0](/php/docs/reference/cloud-billing/1.6.0/V1.ListBillingAccountsRequest)\n- [1.5.6](/php/docs/reference/cloud-billing/1.5.6/V1.ListBillingAccountsRequest) \nReference documentation and code samples for the Google Cloud Billing V1 Client class ListBillingAccountsRequest.\n\nRequest message for `ListBillingAccounts`.\n\nGenerated from protobuf message `google.cloud.billing.v1.ListBillingAccountsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Billing \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPageSize\n\nRequested page size. The maximum page size is 100; this is also the\ndefault.\n\n### setPageSize\n\nRequested page size. The maximum page size is 100; this is also the\ndefault.\n\n### getPageToken\n\nA token identifying a page of results to return. This should be a\n`next_page_token` value returned from a previous `ListBillingAccounts`\ncall. If unspecified, the first page of results is returned.\n\n### setPageToken\n\nA token identifying a page of results to return. This should be a\n`next_page_token` value returned from a previous `ListBillingAccounts`\ncall. If unspecified, the first page of results is returned.\n\n### getFilter\n\nOptions for how to filter the returned billing accounts.\n\nThis only supports filtering for\n[subaccounts](https://cloud.google.com/billing/docs/concepts) under a\nsingle provided parent billing account.\n(for example,\n`master_billing_account=billingAccounts/012345-678901-ABCDEF`).\nBoolean algebra and other fields are not currently supported.\n\n### setFilter\n\nOptions for how to filter the returned billing accounts.\n\nThis only supports filtering for\n[subaccounts](https://cloud.google.com/billing/docs/concepts) under a\nsingle provided parent billing account.\n(for example,\n`master_billing_account=billingAccounts/012345-678901-ABCDEF`).\nBoolean algebra and other fields are not currently supported.\n\n### getParent\n\nOptional. The parent resource to list billing accounts from.\n\nFormat:\n\n- `organizations/{organization_id}`, for example, `organizations/12345678`\n- `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`\n\n### setParent\n\nOptional. The parent resource to list billing accounts from.\n\nFormat:\n\n- `organizations/{organization_id}`, for example, `organizations/12345678`\n- `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`\n\n### static::buildFromParent"]]