# Google Cloud BigQuery Migration V2 Client - Class ListMigrationWorkflowsRequest (1.3.0)

1.3.0 (latest) 1.2.3 1.1.5 1.0.0 0.4.5 0.3.3 0.2.2 0.1.4 Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class ListMigrationWorkflowsRequest.

A request to list previously created migration workflows.

Generated from protobuf message `google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest`

## Namespace

Google \\ Cloud \\ BigQuery \\ Migration \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The project and location of the migration workflows to list. Example: `projects/123/locations/us` |
| `↳ read_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` The list of fields to be retrieved. |
| `↳ page_size` | `int` The maximum number of migration workflows to return. The service may return fewer than this number. |
| `↳ page_token` | `string` A page token, received from previous `ListMigrationWorkflows` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationWorkflows` must match the call that provided the page token. |

### getParent

Required. The project and location of the migration workflows to list.

Example: `projects/123/locations/us`

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

### setParent

Required. The project and location of the migration workflows to list.

Example: `projects/123/locations/us`

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

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

### getReadMask

The list of fields to be retrieved.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasReadMask

### clearReadMask

### setReadMask

The list of fields to be retrieved.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

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

### getPageSize

The maximum number of migration workflows to return. The service may return
fewer than this number.

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

### setPageSize

The maximum number of migration workflows to return. The service may return
fewer than this number.

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

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

### getPageToken

A page token, received from previous `ListMigrationWorkflows` call.

Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListMigrationWorkflows`
must match the call that provided the page token.

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

### setPageToken

A page token, received from previous `ListMigrationWorkflows` call.

Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListMigrationWorkflows`
must match the call that provided the page token.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The project and location of the migration workflows to list. Example: `projects/123/locations/us` Please see MigrationServiceClient::locationName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-migration/latest/V2.ListMigrationWorkflowsRequest` |   |