# Google Cloud Security Compliance V1 Client - Class ListCloudControlsRequest (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 ListCloudControlsRequest.

Request message for ListCloudControls.

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

## 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 name, in one of the following formats: - `organizations/{organization}/locations/{location}` - `projects/{project}/locations/{location}`. The only supported location is `global`. |
| `↳ page_size` | `int` Optional. The maximum number of cloud controls to return. The default value is `500`. If you exceed the maximum value of `1000`, then the service uses the maximum value. |
| `↳ page_token` | `string` Optional. A pagination token that's returned from a previous request to list cloud controls. Provide this token to retrieve the next page of results. When paginating, the parent that you provide to the [ListCloudControls](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Client.ConfigClient#_Google_Cloud_CloudSecurityCompliance_V1_Client_ConfigClient__listCloudControls__) request must match the call that provided the page token. |

### getParent

Required. The parent resource name, in one of the following formats:

- `organizations/{organization}/locations/{location}`
- `projects/{project}/locations/{location}`.

The only supported location is `global`.

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

### setParent

Required. The parent resource name, in one of the following formats:

- `organizations/{organization}/locations/{location}`
- `projects/{project}/locations/{location}`.

The only supported location is `global`.

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

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

### getPageSize

Optional. The maximum number of cloud controls to return. The default value
is `500`.

If you exceed the maximum value of `1000`, then the service uses the
maximum value.

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

### setPageSize

Optional. The maximum number of cloud controls to return. The default value
is `500`.

If you exceed the maximum value of `1000`, then the service uses the
maximum value.

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

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

### getPageToken

Optional. A pagination token that's returned from a previous request to
list cloud controls. Provide this token to retrieve the next page of
results.

When paginating, the parent that you provide to the
[ListCloudControls](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Client.ConfigClient#_Google_Cloud_CloudSecurityCompliance_V1_Client_ConfigClient__listCloudControls__)
request must match the call that provided the page token.

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

### setPageToken

Optional. A pagination token that's returned from a previous request to
list cloud controls. Provide this token to retrieve the next page of
results.

When paginating, the parent that you provide to the
[ListCloudControls](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Client.ConfigClient#_Google_Cloud_CloudSecurityCompliance_V1_Client_ConfigClient__listCloudControls__)
request 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 parent resource name, in one of the following formats: - `organizations/{organization}/locations/{location}` - `projects/{project}/locations/{location}`. The only supported location is `global`. Please see ConfigClient::organizationLocationName() for help formatting this field. |

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