Interface UpdateSecurityHealthAnalyticsCustomModuleRequestOrBuilder (0.22.0)

public interface UpdateSecurityHealthAnalyticsCustomModuleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSecurityHealthAnalyticsCustomModule()

public abstract SecurityHealthAnalyticsCustomModule getSecurityHealthAnalyticsCustomModule()

Required. The resource being updated.

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

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

Returns
Type Description
SecurityHealthAnalyticsCustomModuleOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. The fields to update. The following values are valid:

  • custom_config
  • enablement_state

    If you omit this field or set it to the wildcard value *, then all eligible fields are updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The fields to update. The following values are valid:

  • custom_config
  • enablement_state

    If you omit this field or set it to the wildcard value *, then all eligible fields are updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

Optional. When set to true, the request will be validated (including IAM checks), but no module will be updated. 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 update 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 updated.

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

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. The fields to update. The following values are valid:

  • custom_config
  • enablement_state

    If you omit this field or set it to the wildcard value *, then all eligible fields are updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.