- 0.53.0 (latest)
- 0.52.0
- 0.51.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.0
- 0.2.0
- 0.1.0
public interface OrgPolicyViolationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCustomConstraint()
public abstract CustomConstraint getCustomConstraint()
The custom constraint being violated.
.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 3;
Returns | |
---|---|
Type | Description |
com.google.cloud.orgpolicy.v2.CustomConstraint |
The customConstraint. |
getCustomConstraintOrBuilder()
public abstract CustomConstraintOrBuilder getCustomConstraintOrBuilder()
The custom constraint being violated.
.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 3;
Returns | |
---|---|
Type | Description |
com.google.cloud.orgpolicy.v2.CustomConstraintOrBuilder |
getError()
public abstract Status getError()
Any error encountered during the evaluation.
.google.rpc.Status error = 4;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
The error. |
getErrorOrBuilder()
public abstract StatusOrBuilder getErrorOrBuilder()
Any error encountered during the evaluation.
.google.rpc.Status error = 4;
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getName()
public abstract String getName()
The name of the OrgPolicyViolation
. Example:
organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f/orgPolicyViolations/38ce`
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
The name of the OrgPolicyViolation
. Example:
organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f/orgPolicyViolations/38ce`
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getResource()
public abstract ResourceContext getResource()
The resource violating the constraint.
.google.cloud.policysimulator.v1.ResourceContext resource = 2;
Returns | |
---|---|
Type | Description |
ResourceContext |
The resource. |
getResourceOrBuilder()
public abstract ResourceContextOrBuilder getResourceOrBuilder()
The resource violating the constraint.
.google.cloud.policysimulator.v1.ResourceContext resource = 2;
Returns | |
---|---|
Type | Description |
ResourceContextOrBuilder |
hasCustomConstraint()
public abstract boolean hasCustomConstraint()
The custom constraint being violated.
.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the customConstraint field is set. |
hasError()
public abstract boolean hasError()
Any error encountered during the evaluation.
.google.rpc.Status error = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the error field is set. |
hasResource()
public abstract boolean hasResource()
The resource violating the constraint.
.google.cloud.policysimulator.v1.ResourceContext resource = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the resource field is set. |