# Google Cloud Security Command Center V1 Client - Class ListEventThreatDetectionCustomModulesRequest (2.5.1)

2.5.1 (latest) 2.5.0 2.4.2 2.3.0 2.2.1 2.1.1 2.0.4 1.32.0 1.31.0 1.30.0 1.29.0 1.28.2 1.21.0 1.20.2 1.19.1 1.18.0 1.17.0 1.16.0 1.15.1 1.14.2 1.13.1 Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class ListEventThreatDetectionCustomModulesRequest.

Request to list Event Threat Detection custom modules.

Generated from protobuf message `google.cloud.securitycenter.v1.ListEventThreatDetectionCustomModulesRequest`

## Namespace

Google \\ Cloud \\ SecurityCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Name of the parent to list custom modules under. Its format is: \* \* `organizations/{organization}/eventThreatDetectionSettings`. \* \* `folders/{folder}/eventThreatDetectionSettings`. \* \* `projects/{project}/eventThreatDetectionSettings`. |
| `↳ page_token` | `string` A page token, received from a previous `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEventThreatDetectionCustomModules` must match the call that provided the page token. |
| `↳ page_size` | `int` The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |

### getParent

Required. Name of the parent to list custom modules under.

Its format is:

- `organizations/{organization}/eventThreatDetectionSettings`.
- `folders/{folder}/eventThreatDetectionSettings`.
- `projects/{project}/eventThreatDetectionSettings`.

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

### setParent

Required. Name of the parent to list custom modules under.

Its format is:

- `organizations/{organization}/eventThreatDetectionSettings`.
- `folders/{folder}/eventThreatDetectionSettings`.
- `projects/{project}/eventThreatDetectionSettings`.

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

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

### getPageToken

A page token, received from a previous
`ListEventThreatDetectionCustomModules` call. Provide this to retrieve the
subsequent page.

When paginating, all other parameters provided to
`ListEventThreatDetectionCustomModules` must match the call that provided
the page token.

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

### setPageToken

A page token, received from a previous
`ListEventThreatDetectionCustomModules` call. Provide this to retrieve the
subsequent page.

When paginating, all other parameters provided to
`ListEventThreatDetectionCustomModules` must match the call that provided
the page token.

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

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

### getPageSize

The maximum number of modules to return. The service may return fewer than
this value.

If unspecified, at most 10 configs will be returned.
The maximum value is 1000; values above 1000 will be coerced to 1000.

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

### setPageSize

The maximum number of modules to return. The service may return fewer than
this value.

If unspecified, at most 10 configs will be returned.
The maximum value is 1000; values above 1000 will be coerced to 1000.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Name of the parent to list custom modules under. Its format is: - - `organizations/{organization}/eventThreatDetectionSettings`. - - `folders/{folder}/eventThreatDetectionSettings`. - - `projects/{project}/eventThreatDetectionSettings`. Please see SecurityCenterClient::eventThreatDetectionSettingsName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V1.ListEventThreatDetectionCustomModulesRequest` |   |