Interface UpdateOSPolicyAssignmentRequestOrBuilder (2.15.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.