Google Cloud Security Center Management V1 Client - Class SimulateSecurityHealthAnalyticsCustomModuleRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class SimulateSecurityHealthAnalyticsCustomModuleRequest.

Request message to simulate a CustomConfig against a given test resource.

Maximum size of the request is 4 MB by default.

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

Namespace

Google \ Cloud \ SecurityCenterManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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 Relative Resource Name Example: organizations/{organization_id}.

↳ custom_config Google\Cloud\SecurityCenterManagement\V1\CustomConfig

Required. The custom configuration that you need to test.

↳ resource Google\Cloud\SecurityCenterManagement\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 Relative Resource Name Example: organizations/{organization_id}.

Returns
TypeDescription
string

setParent

Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see Relative Resource Name Example: organizations/{organization_id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCustomConfig

Required. The custom configuration that you need to test.

Returns
TypeDescription
Google\Cloud\SecurityCenterManagement\V1\CustomConfig|null

hasCustomConfig

clearCustomConfig

setCustomConfig

Required. The custom configuration that you need to test.

Parameter
NameDescription
var Google\Cloud\SecurityCenterManagement\V1\CustomConfig
Returns
TypeDescription
$this

getResource

Required. Resource data to simulate custom module against.

Returns
TypeDescription
Google\Cloud\SecurityCenterManagement\V1\SimulateSecurityHealthAnalyticsCustomModuleRequest\SimulatedResource|null

hasResource

clearResource

setResource

Required. Resource data to simulate custom module against.

Parameter
NameDescription
var Google\Cloud\SecurityCenterManagement\V1\SimulateSecurityHealthAnalyticsCustomModuleRequest\SimulatedResource
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see Relative Resource Name Example: organizations/{organization_id}.

customConfig Google\Cloud\SecurityCenterManagement\V1\CustomConfig

Required. The custom configuration that you need to test.

resource Google\Cloud\SecurityCenterManagement\V1\SimulateSecurityHealthAnalyticsCustomModuleRequest\SimulatedResource

Required. Resource data to simulate custom module against.

Returns
TypeDescription
Google\Cloud\SecurityCenterManagement\V1\SimulateSecurityHealthAnalyticsCustomModuleRequest