SchemaPolicy class

Constructors

SchemaPolicy({Input<bool>? create, Input<bool>? createWithGrant, Input<String>? role, Input<bool>? usage, Input<bool>? usageWithGrant})
Creates a new SchemaPolicy. create Should the specified ROLE have CREATE privileges to the specified SCHEMA. createWithGrant Should the specified ROLE have CREATE privileges to the specified SCHEMA and the ability to GRANT the CREATE privilege to other ROLEs. role The ROLE who is receiving the policy. If this value is empty or not specified it implies the policy is referring to the PUBLIC role. usage Should the specified ROLE have USAGE privileges to the specified SCHEMA. usageWithGrant Should the specified ROLE have USAGE privileges to the specified SCHEMA and the ability to GRANT the USAGE privilege to other ROLEs.
const
SchemaPolicy.fromMap(Map<String, dynamic> map)
factory

Properties

create → Input<bool>?
Should the specified ROLE have CREATE privileges to the specified SCHEMA.
final
createWithGrant → Input<bool>?
Should the specified ROLE have CREATE privileges to the specified SCHEMA and the ability to GRANT the CREATE privilege to other ROLEs.
final
hashCode → int
The hash code for this object.
no setterinherited
role → Input<String>?
The ROLE who is receiving the policy. If this value is empty or not specified it implies the policy is referring to the PUBLIC role.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
usage → Input<bool>?
Should the specified ROLE have USAGE privileges to the specified SCHEMA.
final
usageWithGrant → Input<bool>?
Should the specified ROLE have USAGE privileges to the specified SCHEMA and the ability to GRANT the USAGE privilege to other ROLEs.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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