Google Cloud Security Command Center V1 Client - Class SimulateSecurityHealthAnalyticsCustomModuleResponse (1.21.0)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class SimulateSecurityHealthAnalyticsCustomModuleResponse.

Response message for simulating a SecurityHealthAnalyticsCustomModule against a given resource.

Generated from protobuf message google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ result Google\Cloud\SecurityCenter\V1\SimulateSecurityHealthAnalyticsCustomModuleResponse\SimulatedResult

Result for test case in the corresponding request.

getResult

Result for test case in the corresponding request.

Returns
TypeDescription
Google\Cloud\SecurityCenter\V1\SimulateSecurityHealthAnalyticsCustomModuleResponse\SimulatedResult|null

hasResult

clearResult

setResult

Result for test case in the corresponding request.

Parameter
NameDescription
var Google\Cloud\SecurityCenter\V1\SimulateSecurityHealthAnalyticsCustomModuleResponse\SimulatedResult
Returns
TypeDescription
$this