OrgPolicy class

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

Constructors

OrgPolicy()
OrgPolicy.fromJson(Map _json)

Properties

booleanPolicy BooleanPolicy
For boolean Constraints, whether to enforce the Constraint or not.
read / write
constraint ↔ String
The name of the Constraint the Policy is configuring, for example, constraints/serviceuser.services. [...]
read / write
etag ↔ String
An opaque tag indicating the current version of the Policy, used for concurrency control. [...]
read / write
etagAsBytes ↔ List<int>
read / write
listPolicy ListPolicy
List of values either allowed or disallowed.
read / write
restoreDefault RestoreDefault
Restores the default behavior of the constraint; independent of Constraint type.
read / write
updateTime ↔ String
The time stamp the Policy was previously updated. This is set by the server, not specified by the caller, and represents the last time a call to SetOrgPolicy was made for that Policy. Any value set by the client will be ignored.
read / write
version ↔ int
Version of the Policy. Default version is 0;
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited