Interface UpdatePostureRequestOrBuilder (0.7.0)

public interface UpdatePostureRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPosture()

public abstract Posture getPosture()

Required. The resource being updated.

.google.cloud.securityposture.v1.Posture posture = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Posture

The posture.

getPostureOrBuilder()

public abstract PostureOrBuilder getPostureOrBuilder()

Required. The resource being updated.

.google.cloud.securityposture.v1.Posture posture = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PostureOrBuilder

getRevisionId()

public abstract String getRevisionId()

Required. Posture revision which needs to be updated.

string revision_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The revisionId.

getRevisionIdBytes()

public abstract ByteString getRevisionIdBytes()

Required. Posture revision which needs to be updated.

string revision_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for revisionId.

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the Posture resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the Posture resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

Returns
Type Description
FieldMaskOrBuilder

hasPosture()

public abstract boolean hasPosture()

Required. The resource being updated.

.google.cloud.securityposture.v1.Posture posture = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the posture field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the Posture resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

Returns
Type Description
boolean

Whether the updateMask field is set.