Interface CreateEventThreatDetectionCustomModuleRequestOrBuilder (0.23.0)

public interface CreateEventThreatDetectionCustomModuleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventThreatDetectionCustomModule()

public abstract EventThreatDetectionCustomModule getEventThreatDetectionCustomModule()

Required. The module to create. The EventThreatDetectionCustomModule.name field is ignored; Security Command Center generates the name.

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventThreatDetectionCustomModule

The eventThreatDetectionCustomModule.

getEventThreatDetectionCustomModuleOrBuilder()

public abstract EventThreatDetectionCustomModuleOrBuilder getEventThreatDetectionCustomModuleOrBuilder()

Required. The module to create. The EventThreatDetectionCustomModule.name field is ignored; Security Command Center generates the name.

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventThreatDetectionCustomModuleOrBuilder

getParent()

public abstract String 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}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public abstract boolean 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.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasEventThreatDetectionCustomModule()

public abstract boolean hasEventThreatDetectionCustomModule()

Required. The module to create. The EventThreatDetectionCustomModule.name field is ignored; Security Command Center generates the name.

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the eventThreatDetectionCustomModule field is set.