# Google Cloud Data Fusion V1 Client - Class ListAvailableVersionsRequest (1.1.2)

1.1.2 (latest) 1.1.1 1.0.5 0.6.5 0.5.2 0.4.1 0.3.0 0.2.11 Reference documentation and code samples for the Google Cloud Data Fusion V1 Client class ListAvailableVersionsRequest.

Request message for the list available versions request.

Generated from protobuf message `google.cloud.datafusion.v1.ListAvailableVersionsRequest`

## Namespace

Google \\ Cloud \\ DataFusion \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The project and location for which to retrieve instance information in the format projects/{project}/locations/{location}. |
| `↳ page_size` | `int` The maximum number of items to return. |
| `↳ page_token` | `string` The next_page_token value to use if there are additional results to retrieve for this list request. |
| `↳ latest_patch_only` | `bool` Whether or not to return the latest patch of every available minor version. If true, only the latest patch will be returned. Ex. if allowed versions is \[6.1.1, 6.1.2, 6.2.0\] then response will be \[6.1.2, 6.2.0\] |

### getParent

Required. The project and location for which to retrieve instance information
in the format projects/{project}/locations/{location}.

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

### setParent

Required. The project and location for which to retrieve instance information
in the format projects/{project}/locations/{location}.

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

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

### getPageSize

The maximum number of items to return.

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

### setPageSize

The maximum number of items to return.

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

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

### getPageToken

The next_page_token value to use if there are additional
results to retrieve for this list request.

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

### setPageToken

The next_page_token value to use if there are additional
results to retrieve for this list request.

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

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

### getLatestPatchOnly

Whether or not to return the latest patch of every available minor version.

If true, only the latest patch will be returned. Ex. if allowed versions is
\[6.1.1, 6.1.2, 6.2.0\] then response will be \[6.1.2, 6.2.0\]

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setLatestPatchOnly

Whether or not to return the latest patch of every available minor version.

If true, only the latest patch will be returned. Ex. if allowed versions is
\[6.1.1, 6.1.2, 6.2.0\] then response will be \[6.1.2, 6.2.0\]

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The project and location for which to retrieve instance information in the format projects/{project}/locations/{location}. Please see DataFusionClient::locationName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-data-fusion/latest/V1.ListAvailableVersionsRequest` |   |