Interface OrgPolicyViolationsPreview.ResourceCountsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OrgPolicyViolationsPreview.ResourceCounts,OrgPolicyViolationsPreview.ResourceCounts.Builder
- Enclosing class:
- OrgPolicyViolationsPreview
public static interface OrgPolicyViolationsPreview.ResourceCountsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintOutput only.intOutput only.intOutput only.intOutput only.intOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getScanned
int getScanned()Output only. Number of resources checked for compliance. Must equal: unenforced + noncompliant + compliant + error
int32 scanned = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The scanned.
-
getNoncompliant
int getNoncompliant()Output only. Number of scanned resources with at least one violation.
int32 noncompliant = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The noncompliant.
-
getCompliant
int getCompliant()Output only. Number of scanned resources with zero violations.
int32 compliant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The compliant.
-
getUnenforced
int getUnenforced()Output only. Number of resources where the constraint was not enforced, i.e. the Policy set `enforced: false` for that resource.
int32 unenforced = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The unenforced.
-
getErrors
int getErrors()Output only. Number of resources that returned an error when scanned.
int32 errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The errors.
-