Interface CreateSecurityHealthAnalyticsCustomModuleRequestOrBuilder (0.23.0)

public interface CreateSecurityHealthAnalyticsCustomModuleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. Name of the parent organization, folder, or project of 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 the parent organization, folder, or project of 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.

getSecurityHealthAnalyticsCustomModule()

public abstract SecurityHealthAnalyticsCustomModule getSecurityHealthAnalyticsCustomModule()

Required. The resource being created.

.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityHealthAnalyticsCustomModule

The securityHealthAnalyticsCustomModule.

getSecurityHealthAnalyticsCustomModuleOrBuilder()

public abstract SecurityHealthAnalyticsCustomModuleOrBuilder getSecurityHealthAnalyticsCustomModuleOrBuilder()

Required. The resource being created.

.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityHealthAnalyticsCustomModuleOrBuilder

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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasSecurityHealthAnalyticsCustomModule()

public abstract boolean hasSecurityHealthAnalyticsCustomModule()

Required. The resource being created.

.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the securityHealthAnalyticsCustomModule field is set.