Interface UpdateSecurityCenterServiceRequestOrBuilder (0.20.0)

public interface UpdateSecurityCenterServiceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSecurityCenterService()

public abstract SecurityCenterService getSecurityCenterService()

Required. The updated service.

.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityCenterService

The securityCenterService.

getSecurityCenterServiceOrBuilder()

public abstract SecurityCenterServiceOrBuilder getSecurityCenterServiceOrBuilder()

Required. The updated service.

.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityCenterServiceOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. The list of fields to be updated. Possible values:

  • "intended_enablement_state"
  • "modules"

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to be updated. Possible values:

  • "intended_enablement_state"
  • "modules"

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

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

Optional. When set to true, only validations (including IAM checks) will be done for the request (service will not be updated). An OK response indicates that the request is valid, while an error response indicates that the request is invalid. Note that a subsequent request to actually update the service could still fail for one of the following reasons:

  • The state could have changed (e.g. IAM permission lost).
  • A failure occurred while trying to delete the module.

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

Returns
Type Description
boolean

The validateOnly.

hasSecurityCenterService()

public abstract boolean hasSecurityCenterService()

Required. The updated service.

.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the securityCenterService field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. The list of fields to be updated. Possible values:

  • "intended_enablement_state"
  • "modules"

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

Returns
Type Description
boolean

Whether the updateMask field is set.