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

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

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

## 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}/eventThreatDetectionCustomModules/{custom_module}` \* \* `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}` \* \* `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}` |

### getName

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

- `organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
- `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
- `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{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}/eventThreatDetectionCustomModules/{custom_module}`
- `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
- `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{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}/eventThreatDetectionCustomModules/{custom_module}` - - `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}` - - `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}` Please see SecurityCenterManagementClient::eventThreatDetectionCustomModuleName() for help formatting this field. |

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