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

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

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

## Namespace

Google \\ Cloud \\ SecurityCenterManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The resource name of the Event Threat Detection custom module, in one of the following formats: \* \* `organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}` \* \* `folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}` \* \* `projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}` |

### getName

Required. The resource name of the Event Threat Detection custom module, in
one of the following formats:

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

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

### setName

Required. The resource name of the Event Threat Detection custom module, in
one of the following formats:

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

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The resource name of the Event Threat Detection custom module, in one of the following formats: - - `organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}` - - `folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}` - - `projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}` Please see SecurityCenterManagementClient::effectiveEventThreatDetectionCustomModuleName() for help formatting this field. |

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