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 Reference documentation and code samples for the Google Cloud Dataproc Metastore V1 Client class ListMetadataImportsRequest.

Request message for
[DataprocMetastore.ListMetadataImports](https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1.Client.DataprocMetastoreClient#_Google_Cloud_Metastore_V1_Client_DataprocMetastoreClient__listMetadataImports__).

Generated from protobuf message `google.cloud.metastore.v1.ListMetadataImportsRequest`

## Namespace

Google \\ Cloud \\ Metastore \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The relative resource name of the service whose metadata imports to list, in the following form: `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports`. |
| `↳ page_size` | `int` Optional. The maximum number of imports to return. The response may contain less than the maximum number. If unspecified, no more than 500 imports 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 [DataprocMetastore.ListServices](https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1.Client.DataprocMetastoreClient#_Google_Cloud_Metastore_V1_Client_DataprocMetastoreClient__listServices__) 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 [DataprocMetastore.ListServices](https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1.Client.DataprocMetastoreClient#_Google_Cloud_Metastore_V1_Client_DataprocMetastoreClient__listServices__) 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 service whose metadata imports
to list, in the following form:
`projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports`.

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

### setParent

Required. The relative resource name of the service whose metadata imports
to list, in the following form:
`projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports`.

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

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

### getPageSize

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

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

### setPageSize

Optional. The maximum number of imports to return. The response may contain
less than the maximum number. If unspecified, no more than 500 imports 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
[DataprocMetastore.ListServices](https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1.Client.DataprocMetastoreClient#_Google_Cloud_Metastore_V1_Client_DataprocMetastoreClient__listServices__)
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
[DataprocMetastore.ListServices](https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1.Client.DataprocMetastoreClient#_Google_Cloud_Metastore_V1_Client_DataprocMetastoreClient__listServices__)
must match the call that provided the page token.

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

### setPageToken

Optional. A page token, received from a previous
[DataprocMetastore.ListServices](https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1.Client.DataprocMetastoreClient#_Google_Cloud_Metastore_V1_Client_DataprocMetastoreClient__listServices__)
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
[DataprocMetastore.ListServices](https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1.Client.DataprocMetastoreClient#_Google_Cloud_Metastore_V1_Client_DataprocMetastoreClient__listServices__)
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 service whose metadata imports to list, in the following form: `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports`. Please see DataprocMetastoreClient::serviceName() for help formatting this field. |

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