Interface UpdatePostureRequestOrBuilder (0.5.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
TypeDescription
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
TypeDescription
PostureOrBuilder

getRevisionId()

public abstract String getRevisionId()

Required. Posture revision which needs to be updated.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasPosture()

public abstract boolean hasPosture()

Required. The resource being updated.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.