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

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

The maximum size of the request is 4 MiB.

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

## Namespace

Google \\ Cloud \\ SecurityCenterManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see [AIP-122: Resource names](https://google.aip.dev/122). Example: `organizations/{organization_id}`. |
| `↳ custom_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.CustomConfig` Required. The custom configuration that you need to test. |
| `↳ resource` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource` Required. Resource data to simulate custom module against. |

### getParent

Required. The relative resource name of the organization, project, or
folder. For more information about relative resource names, see [AIP-122:
Resource names](https://google.aip.dev/122). Example:
`organizations/{organization_id}`.

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

### setParent

Required. The relative resource name of the organization, project, or
folder. For more information about relative resource names, see [AIP-122:
Resource names](https://google.aip.dev/122). Example:
`organizations/{organization_id}`.

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

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

### getCustomConfig

Required. The custom configuration that you need to test.

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

### hasCustomConfig

### clearCustomConfig

### setCustomConfig

Required. The custom configuration that you need to test.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.CustomConfig` |

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

### getResource

Required. Resource data to simulate custom module against.

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

### hasResource

### clearResource

### setResource

Required. Resource data to simulate custom module against.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see [AIP-122: Resource names](https://google.aip.dev/122). Example: `organizations/{organization_id}`. |
| `customConfig` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.CustomConfig` Required. The custom configuration that you need to test. |
| `resource` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource` Required. Resource data to simulate custom module against. |

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