Reference documentation and code samples for the Google Cloud Billing V1 Client class ListBillingAccountsRequest.
Request message for ListBillingAccounts
.
Generated from protobuf message google.cloud.billing.v1.ListBillingAccountsRequest
Namespace
Google \ Cloud \ Billing \ V1Methods
__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 a |
↳ filter |
string
Options for how to filter the returned billing accounts. This only supports filtering for subaccounts under a single provided parent billing account. (for example, |
↳ parent |
string
Optional. The parent resource to list billing accounts from. Format: - |
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 a
next_page_token
value returned from a previous ListBillingAccounts
call. 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 a
next_page_token
value returned from a previous ListBillingAccounts
call. 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 for
subaccounts under 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 for
subaccounts under 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:
|
Returns | |
---|---|
Type | Description |
ListBillingAccountsRequest |