# Google Cloud Workload Manager V1 Client - Class ListScannedResourcesRequest (0.2.0)

0.2.0 (latest) 0.1.0 Reference documentation and code samples for the Google Cloud Workload Manager V1 Client class ListScannedResourcesRequest.

Request message for the ListScannedResources RPC.

Generated from protobuf message `google.cloud.workloadmanager.v1.ListScannedResourcesRequest`

## Namespace

Google \\ Cloud \\ WorkloadManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Parent for ListScannedResourcesRequest. |
| `↳ rule` | `string` Rule name. |
| `↳ page_size` | `int` Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
| `↳ page_token` | `string` A token identifying a page of results the server should return. |
| `↳ filter` | `string` Filtering results. |
| `↳ order_by` | `string` Field to sort by. See <https://google.aip.dev/132#ordering> for more details. |

### getParent

Required. Parent for ListScannedResourcesRequest.

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

### setParent

Required. Parent for ListScannedResourcesRequest.

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

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

### getRule

Rule name.

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

### setRule

Rule name.

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

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

### getPageSize

Requested page size. Server may return fewer items than requested.

If unspecified, server will pick an appropriate default.

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

### setPageSize

Requested page size. Server may return fewer items than requested.

If unspecified, server will pick an appropriate default.

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

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

### getPageToken

A token identifying a page of results the server should return.

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

### setPageToken

A token identifying a page of results the server should return.

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

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

### getFilter

Filtering results.

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

### setFilter

Filtering results.

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

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

### getOrderBy

Field to sort by. See <https://google.aip.dev/132#ordering> for more details.

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

### setOrderBy

Field to sort by. See <https://google.aip.dev/132#ordering> for more details.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent for ListScannedResourcesRequest. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-workloadmanager/latest/V1.ListScannedResourcesRequest` |   |