1.2.4 (latest) 1.2.3 1.1.1 1.0.4 0.11.5 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.1 0.4.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class ListFederationsRequest.

Request message for ListFederations.

Generated from protobuf message `google.cloud.metastore.v1beta.ListFederationsRequest`

## Namespace

Google \\ Cloud \\ Metastore \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The relative resource name of the location of metastore federations to list, in the following form: `projects/{project_number}/locations/{location_id}`. |
| `↳ page_size` | `int` Optional. The maximum number of federations to return. The response may contain less than the maximum number. If unspecified, no more than 500 services are returned. The maximum value is 1000; values above 1000 are changed to 1000. |
| `↳ page_token` | `string` Optional. A page token, received from a previous ListFederationServices call. Provide this token to retrieve the subsequent page. To retrieve the first page, supply an empty page token. When paginating, other parameters provided to ListFederationServices must match the call that provided the page token. |
| `↳ filter` | `string` Optional. The filter to apply to list results. |
| `↳ order_by` | `string` Optional. Specify the ordering of results as described in [Sorting Order](https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order. |

### getParent

Required. The relative resource name of the location of metastore
federations to list, in the following form:
`projects/{project_number}/locations/{location_id}`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setParent

Required. The relative resource name of the location of metastore
federations to list, in the following form:
`projects/{project_number}/locations/{location_id}`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageSize

Optional. The maximum number of federations to return. The response may
contain less than the maximum number. If unspecified, no more than 500
services are returned. The maximum value is 1000; values above 1000 are
changed to 1000.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

Optional. The maximum number of federations to return. The response may
contain less than the maximum number. If unspecified, no more than 500
services are returned. The maximum value is 1000; values above 1000 are
changed to 1000.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageToken

Optional. A page token, received from a previous ListFederationServices
call. Provide this token to retrieve the subsequent page.

To retrieve the first page, supply an empty page token.
When paginating, other parameters provided to
ListFederationServices must match the call that provided the
page token.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPageToken

Optional. A page token, received from a previous ListFederationServices
call. Provide this token to retrieve the subsequent page.

To retrieve the first page, supply an empty page token.
When paginating, other parameters provided to
ListFederationServices must match the call that provided the
page token.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFilter

Optional. The filter to apply to list results.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFilter

Optional. The filter to apply to list results.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getOrderBy

Optional. Specify the ordering of results as described in [Sorting
Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).

If not specified, the results will be sorted in the default order.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setOrderBy

Optional. Specify the ordering of results as described in [Sorting
Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).

If not specified, the results will be sorted in the default order.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The relative resource name of the location of metastore federations to list, in the following form: `projects/{project_number}/locations/{location_id}`. Please see DataprocMetastoreFederationClient::locationName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1beta.ListFederationsRequest` |   |