Interface UpdateOSPolicyAssignmentRequestOrBuilder (2.56.0)

public interface UpdateOSPolicyAssignmentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOsPolicyAssignment()

public abstract OSPolicyAssignment getOsPolicyAssignment()

Required. The updated OS policy assignment.

.google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OSPolicyAssignment

The osPolicyAssignment.

getOsPolicyAssignmentOrBuilder()

public abstract OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder()

Required. The updated OS policy assignment.

.google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OSPolicyAssignmentOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Optional. Field mask that controls which fields of the assignment should be updated.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Field mask that controls which fields of the assignment should be updated.

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

Returns
Type Description
FieldMaskOrBuilder

hasOsPolicyAssignment()

public abstract boolean hasOsPolicyAssignment()

Required. The updated OS policy assignment.

.google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the osPolicyAssignment field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Optional. Field mask that controls which fields of the assignment should be updated.

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

Returns
Type Description
boolean

Whether the updateMask field is set.