# Google Cloud Security Center Management V1 Client - Class ListDescendantSecurityHealthAnalyticsCustomModulesRequest (1.4.0)

1.4.0 (latest) 1.3.3 1.2.1 1.1.3 1.0.0 0.3.2 0.2.7 0.1.0 Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class ListDescendantSecurityHealthAnalyticsCustomModulesRequest.

Request message for
[SecurityCenterManagement.ListDescendantSecurityHealthAnalyticsCustomModules](https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.Client.SecurityCenterManagementClient#_Google_Cloud_SecurityCenterManagement_V1_Client_SecurityCenterManagementClient__listDescendantSecurityHealthAnalyticsCustomModules__).

Generated from protobuf message `google.cloud.securitycentermanagement.v1.ListDescendantSecurityHealthAnalyticsCustomModulesRequest`

## Namespace

Google \\ Cloud \\ SecurityCenterManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Name of the parent organization, folder, or project in which to list custom modules, in one of the following formats: \* \* `organizations/{organization}/locations/{location}` \* \* `folders/{folder}/locations/{location}` \* \* `projects/{project}/locations/{location}` |
| `↳ page_size` | `int` Optional. The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000. |
| `↳ page_token` | `string` Optional. A pagination token returned from a previous request. Provide this token to retrieve the next page of results. When paginating, the rest of the request must match the request that generated the page token. |

### getParent

Required. Name of the parent organization, folder, or project in which to
list custom modules, in one of the following formats:

- `organizations/{organization}/locations/{location}`
- `folders/{folder}/locations/{location}`
- `projects/{project}/locations/{location}`

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

### setParent

Required. Name of the parent organization, folder, or project in which to
list custom modules, in one of the following formats:

- `organizations/{organization}/locations/{location}`
- `folders/{folder}/locations/{location}`
- `projects/{project}/locations/{location}`

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

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

### getPageSize

Optional. The maximum number of results to return in a single response.

Default is 10, minimum is 1, maximum is 1000.

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

### setPageSize

Optional. The maximum number of results to return in a single response.

Default is 10, minimum is 1, maximum is 1000.

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

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

### getPageToken

Optional. A pagination token returned from a previous request. Provide this
token to retrieve the next page of results.

When paginating, the rest of the request must match the request that
generated the page token.

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

### setPageToken

Optional. A pagination token returned from a previous request. Provide this
token to retrieve the next page of results.

When paginating, the rest of the request must match the request that
generated the page token.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Name of the parent organization, folder, or project in which to list custom modules, in one of the following formats: - - `organizations/{organization}/locations/{location}` - - `folders/{folder}/locations/{location}` - - `projects/{project}/locations/{location}` Please see SecurityCenterManagementClient::organizationLocationName() for help formatting this field. |

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