Reference documentation and code samples for the Google Cloud Security Command Center 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.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest
Namespace
Google \ Cloud \ SecurityCenter \ V1Methods
__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 Relative Resource Name Example: |
↳ custom_config |
CustomConfig
Required. The custom configuration that you need to test. |
↳ resource |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCustomConfig
Required. The custom configuration that you need to test.
| Returns | |
|---|---|
| Type | Description |
CustomConfig|null |
|
hasCustomConfig
clearCustomConfig
setCustomConfig
Required. The custom configuration that you need to test.
| Parameter | |
|---|---|
| Name | Description |
var |
CustomConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResource
Required. Resource data to simulate custom module against.
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest\SimulatedResource|null |
|
hasResource
clearResource
setResource
Required. Resource data to simulate custom module against.
| Parameter | |
|---|---|
| Name | Description |
var |
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 Relative
Resource
Name
Example: |
customConfig |
CustomConfig
Required. The custom configuration that you need to test. |
resource |
SimulateSecurityHealthAnalyticsCustomModuleRequest\SimulatedResource
Required. Resource data to simulate custom module against. |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest |
|