Interface UpdateSecurityMarksRequestOrBuilder (2.51.0)

public interface UpdateSecurityMarksRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSecurityMarks()

public abstract SecurityMarks getSecurityMarks()

Required. The security marks resource to update.

.google.cloud.securitycenter.v2.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityMarks

The securityMarks.

getSecurityMarksOrBuilder()

public abstract SecurityMarksOrBuilder getSecurityMarksOrBuilder()

Required. The security marks resource to update.

.google.cloud.securitycenter.v2.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityMarksOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

The FieldMask to use when updating the security marks resource.

The field mask must not contain duplicate fields. If empty or set to "marks", all marks will be replaced. Individual marks can be updated using "marks.<mark_key>".

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The FieldMask to use when updating the security marks resource.

The field mask must not contain duplicate fields. If empty or set to "marks", all marks will be replaced. Individual marks can be updated using "marks.<mark_key>".

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasSecurityMarks()

public abstract boolean hasSecurityMarks()

Required. The security marks resource to update.

.google.cloud.securitycenter.v2.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the securityMarks field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

The FieldMask to use when updating the security marks resource.

The field mask must not contain duplicate fields. If empty or set to "marks", all marks will be replaced. Individual marks can be updated using "marks.<mark_key>".

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.