GoogleCloudAssuredworkloadsV1OrgPolicy class

This assured workload service object is used to represent the org policy attached to a resource.

It servces the same purpose as the orgpolicy.v2.Policy object but with functionality that is limited to what is supported by Assured Workloads(e.g. only one rule under one OrgPolicy object, no conditions, etc).

Properties

constraint String?
The constraint name of the OrgPolicy.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inherit bool?
If inherit is true, policy rules of the lowest ancestor in the resource hierarchy chain are inherited.
getter/setter pair
reset bool?
Ignores policies set above this resource and restores to the constraint_default value.
getter/setter pair
resource String?
Resource that the OrgPolicy attaches to.
getter/setter pair
rule GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule?
The rule of the OrgPolicy.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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