Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class CreateEventThreatDetectionCustomModuleRequest.
Request message for SecurityCenterManagement.CreateEventThreatDetectionCustomModule.
Generated from protobuf message google.cloud.securitycentermanagement.v1.CreateEventThreatDetectionCustomModuleRequest
Namespace
Google \ Cloud \ SecurityCenterManagement \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Name of parent for the module, in one of the following formats: * * |
↳ event_threat_detection_custom_module |
EventThreatDetectionCustomModule
Required. The module to create. The EventThreatDetectionCustomModule.name field is ignored; Security Command Center generates the name. |
↳ validate_only |
bool
Optional. When set to |
getParent
Required. Name of parent for the module, in one of the following formats:
organizations/{organization}/locations/{location}
folders/{folder}/locations/{location}
projects/{project}/locations/{location}
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Name of parent for the module, in one of the following formats:
organizations/{organization}/locations/{location}
folders/{folder}/locations/{location}
projects/{project}/locations/{location}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEventThreatDetectionCustomModule
Required. The module to create. The EventThreatDetectionCustomModule.name field is ignored; Security Command Center generates the name.
Returns | |
---|---|
Type | Description |
EventThreatDetectionCustomModule|null |
hasEventThreatDetectionCustomModule
clearEventThreatDetectionCustomModule
setEventThreatDetectionCustomModule
Required. The module to create. The EventThreatDetectionCustomModule.name field is ignored; Security Command Center generates the name.
Parameter | |
---|---|
Name | Description |
var |
EventThreatDetectionCustomModule
|
Returns | |
---|---|
Type | Description |
$this |
getValidateOnly
Optional. When set to true
, the request will be validated (including IAM
checks), but no module will be created. An OK
response indicates that the
request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to create the module could still fail for one of the following reasons:
- The state of your cloud resources changed; for example, you lost a required IAM permission
- An error occurred during creation of the module
Defaults to
false
.
Returns | |
---|---|
Type | Description |
bool |
setValidateOnly
Optional. When set to true
, the request will be validated (including IAM
checks), but no module will be created. An OK
response indicates that the
request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to create the module could still fail for one of the following reasons:
- The state of your cloud resources changed; for example, you lost a required IAM permission
- An error occurred during creation of the module
Defaults to
false
.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. Name of parent for the module, in one of the following formats:
|
eventThreatDetectionCustomModule |
EventThreatDetectionCustomModule
Required. The module to create. The EventThreatDetectionCustomModule.name field is ignored; Security Command Center generates the name. |
Returns | |
---|---|
Type | Description |
CreateEventThreatDetectionCustomModuleRequest |