OrgPolicy class

Defines a Cloud Organization Policy which is used to specify Constraints for configurations of Cloud Platform resources.

Constructors

OrgPolicy({BooleanPolicy? booleanPolicy, String? constraint, String? etag, ListPolicy? listPolicy, RestoreDefault? restoreDefault, String? updateTime, int? version})
OrgPolicy.fromJson(Map json_)

Properties

booleanPolicy BooleanPolicy?
For boolean Constraints, whether to enforce the Constraint or not.
getter/setter pair
constraint String?
The name of the Constraint the Policy is configuring, for example, constraints/serviceuser.services.
getter/setter pair
etag String?
An opaque tag indicating the current version of the Policy, used for concurrency control.
getter/setter pair
etagAsBytes List<int>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
listPolicy ListPolicy?
List of values either allowed or disallowed.
getter/setter pair
restoreDefault RestoreDefault?
Restores the default behavior of the constraint; independent of Constraint type.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateTime String?
The time stamp the Policy was previously updated.
getter/setter pair
version int?
Version of the Policy.
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