public static interface OrgPolicyViolationsPreview.ResourceCountsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCompliant()
public abstract int getCompliant()
Output only. Number of scanned resources with zero violations.
int32 compliant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The compliant. |
getErrors()
public abstract int getErrors()
Output only. Number of resources that returned an error when scanned.
int32 errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The errors. |
getNoncompliant()
public abstract int getNoncompliant()
Output only. Number of scanned resources with at least one violation.
int32 noncompliant = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The noncompliant. |
getScanned()
public abstract 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 | |
---|---|
Type | Description |
int |
The scanned. |
getUnenforced()
public abstract 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 | |
---|---|
Type | Description |
int |
The unenforced. |