Interface CreateEventThreatDetectionCustomModuleRequestOrBuilder (0.13.0)

public interface CreateEventThreatDetectionCustomModuleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventThreatDetectionCustomModule()

public abstract EventThreatDetectionCustomModule getEventThreatDetectionCustomModule()

Required. The module to create. The event_threat_detection_custom_module.name will be ignored and server generated.

.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 event_threat_detection_custom_module.name will be ignored and server generated.

.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. Its format is organizations/{organization}/locations/{location}, folders/{folder}/locations/{location}, or 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. Its format is organizations/{organization}/locations/{location}, folders/{folder}/locations/{location}, or 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, only validations (including IAM checks) will done for the request (no module will be created). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually create the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred during creation of the module.

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 event_threat_detection_custom_module.name will be ignored and server generated.

.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.