Interface UpdateSecurityCenterServiceRequestOrBuilder (0.22.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 fields to update. Accepts the following values:

  • intended_enablement_state
  • modules

    If omitted, then all eligible fields are updated.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The fields to update. Accepts the following values:

  • intended_enablement_state
  • modules

    If omitted, then all eligible fields are updated.

.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, the request will be validated (including IAM checks), but no service 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 service 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 update of the service

    Defaults to false.

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 fields to update. Accepts the following values:

  • intended_enablement_state
  • modules

    If omitted, then all eligible fields are updated.

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

Returns
Type Description
boolean

Whether the updateMask field is set.