# SimulateSecurityHealthAnalyticsCustomModuleResponse

- [JSON representation](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/SimulateSecurityHealthAnalyticsCustomModuleResponse#SCHEMA_REPRESENTATION)
- [SimulatedResult](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/SimulateSecurityHealthAnalyticsCustomModuleResponse#SimulatedResult)
  - [JSON representation](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/SimulateSecurityHealthAnalyticsCustomModuleResponse#SimulatedResult.SCHEMA_REPRESENTATION)

Response message for simulating a `SecurityHealthAnalyticsCustomModule` against a given resource.

| JSON representation |
|---|
| ``` { "result": { object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/SimulateSecurityHealthAnalyticsCustomModuleResponse#SimulatedResult`) } } ``` |

| Fields ||
|---|---|
| `result` | ``object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/SimulateSecurityHealthAnalyticsCustomModuleResponse#SimulatedResult`)`` Result for test case in the corresponding request. |

## SimulatedResult

Possible test result.

| JSON representation |
|---|
| ``` { // Union field `result` can be only one of the following: "finding": { object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources.findings#Finding`) }, "noViolation": { object }, "error": { object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/Shared.Types/ListOperationsResponse#Status`) } // End of list of possible types for union field `result`. } ``` |

| Fields ||
|---|---|
| Union field `result`. The result of the simulation. `result` can be only one of the following: ||
| `finding` | ``object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources.findings#Finding`)`` Finding that would be published for the test case, if a violation is detected. |
| `noViolation` | `object` Indicates that the test case does not trigger any violation. |
| `error` | ``object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/Shared.Types/ListOperationsResponse#Status`)`` Error encountered during the test. |