# Google Cloud Security Compliance V1 Client - Class ListCloudControlDeploymentsRequest (0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class ListCloudControlDeploymentsRequest.

The request message for ListCloudControlDeployments.

Generated from protobuf message `google.cloud.cloudsecuritycompliance.v1.ListCloudControlDeploymentsRequest`

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent resource for the cloud control deployment, in the format `organizations/{organization}/locations/{location}` or `projects/{project}/locations/{location}`. The only supported location is `global`. |
| `↳ page_size` | `int` Optional. The requested page size. The server might return fewer items than you requested. If unspecified, the server picks an appropriate default. |
| `↳ page_token` | `string` Optional. A token that identifies the page of results that the server should return. |
| `↳ filter` | `string` Optional. The filter to apply on the resource, as defined by [AIP-160: Filtering](https://google.aip.dev/160). |
| `↳ order_by` | `string` Optional. The sort order for the results. The following values are supported: \* \* `name` \* \* `name desc` If you do not specify a value, then the results are not sorted. |

### getParent

Required. The parent resource for the cloud control deployment, in the
format `organizations/{organization}/locations/{location}` or
`projects/{project}/locations/{location}`.

The only supported location is `global`.

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

### setParent

Required. The parent resource for the cloud control deployment, in the
format `organizations/{organization}/locations/{location}` or
`projects/{project}/locations/{location}`.

The only supported location is `global`.

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

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

### getPageSize

Optional. The requested page size. The server might return fewer items than
you requested.

If unspecified, the server picks an appropriate default.

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

### setPageSize

Optional. The requested page size. The server might return fewer items than
you requested.

If unspecified, the server picks an appropriate default.

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

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

### getPageToken

Optional. A token that identifies the page of results that the server
should return.

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

### setPageToken

Optional. A token that identifies the page of results that the server
should return.

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

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

### getFilter

Optional. The filter to apply on the resource, as defined by
[AIP-160: Filtering](https://google.aip.dev/160).

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

### setFilter

Optional. The filter to apply on the resource, as defined by
[AIP-160: Filtering](https://google.aip.dev/160).

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

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

### getOrderBy

Optional. The sort order for the results. The following values are
supported:

- `name`
- `name desc` If you do not specify a value, then the results are not sorted.

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

### setOrderBy

Optional. The sort order for the results. The following values are
supported:

- `name`
- `name desc` If you do not specify a value, then the results are not sorted.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource for the cloud control deployment, in the format `organizations/{organization}/locations/{location}` or `projects/{project}/locations/{location}`. The only supported location is `global`. Please see DeploymentClient::organizationLocationName() for help formatting this field. |

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