GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview class
OrgPolicyViolationsPreview is a resource providing a preview of the violations that will exist if an OrgPolicy change is made.
The list of violations are modeled as child resources and retrieved via a ListOrgPolicyViolations API call. There are potentially more OrgPolicyViolations than could fit in an embedded field. Thus, the use of a child resource instead of a field.
Constructors
-
GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview({String? createTime, List<
String> ? customConstraints, String? name, GoogleCloudPolicysimulatorV1OrgPolicyOverlay? overlay, GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts? resourceCounts, String? state, int? violationsCount}) - GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview.fromJson(Map json_)
Properties
- createTime ↔ String?
-
Time when this
OrgPolicyViolationsPreview
was created.getter/setter pair -
customConstraints
↔ List<
String> ? -
The names of the constraints against which all
OrgPolicyViolations
were evaluated.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The resource name of the
OrgPolicyViolationsPreview
.getter/setter pair - overlay ↔ GoogleCloudPolicysimulatorV1OrgPolicyOverlay?
-
The proposed changes we are previewing violations for.
getter/setter pair
- resourceCounts ↔ GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts?
-
A summary of the state of all resources scanned for compliance with the
changed OrgPolicy.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
The state of the
OrgPolicyViolationsPreview
.getter/setter pair - violationsCount ↔ int?
-
The number of OrgPolicyViolations in this
OrgPolicyViolationsPreview
.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited