# Google Cloud Security Center Management V1 Client - Class ListEventThreatDetectionCustomModulesRequest (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 ListEventThreatDetectionCustomModulesRequest.

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

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

## 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 parent 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 modules to return. The service may return fewer than this value. If unspecified, at most 10 modules will be returned. The maximum value is 1000; values above 1000 will be coerced to 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 parent 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 parent 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 modules to return. The service may return
fewer than this value. If unspecified, at most 10 modules will be returned.

The maximum value is 1000; values above 1000 will be coerced to 1000.

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

### setPageSize

Optional. The maximum number of modules to return. The service may return
fewer than this value. If unspecified, at most 10 modules 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` |   |

### 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 parent 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.ListEventThreatDetectionCustomModulesRequest` |   |