Class OSPolicyAssignmentReport.OSPolicyCompliance.Builder (2.43.0)

public static final class OSPolicyAssignmentReport.OSPolicyCompliance.Builder extends GeneratedMessageV3.Builder<OSPolicyAssignmentReport.OSPolicyCompliance.Builder> implements OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder

Compliance data for an OS policy

Protobuf type google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllOsPolicyResourceCompliances(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance> values)

public OSPolicyAssignmentReport.OSPolicyCompliance.Builder addAllOsPolicyResourceCompliances(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance> values)

Compliance data for each resource within the policy that is applied to the VM.

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance>