# Billing V1 API - Class Google::Cloud::Billing::V1::ListBillingAccountsRequest (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.18.1 0.17.4 0.16.0 0.15.1 0.14.0 0.13.2 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.5 Reference documentation and code samples for the Billing V1 API class Google::Cloud::Billing::V1::ListBillingAccountsRequest.

Request message for `ListBillingAccounts`.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #filter

    def filter() -> ::String

**Returns**

- (::String) --- Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) 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.

### #filter=

    def filter=(value) -> ::String

**Parameter**

- **value** (::String) --- Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) 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**

- (::String) --- Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) 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.

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- Requested page size. The maximum page size is 100; this is also the default.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Requested page size. The maximum page size is 100; this is also the default.
**Returns**

- (::Integer) --- Requested page size. The maximum page size is 100; this is also the default.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- 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.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- 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**

- (::String) --- 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.

### #parent

    def parent() -> ::String

**Returns**

- (::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`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::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`
**Returns**

- (::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`