DefaultPrivilegState class
Input properties used for looking up and filtering DefaultPrivileg resources.
Constructors
-
DefaultPrivilegState({Input<
String> ? database, Input<String> ? objectType, Input<String> ? owner, Input<List< ? privileges, Input<String> >String> ? role, Input<String> ? schema, Input<bool> ? withGrantOption}) -
Creates a new DefaultPrivilegState.
databaseThe database to grant default privileges for this role.objectTypeThe PostgreSQL object type to set the default privileges on (one of: table, sequence, function, routine, type, schema).ownerSpecifies the role that creates objects for which the default privileges will be applied.privilegesList of privileges (e.g., SELECT, INSERT, UPDATE, DELETE) to grant on new objects created by the owner. An empty list could be provided to revoke all default privileges for this role.roleThe role that will automatically be granted the specified privileges on new objects created by the owner.schemaThe database schema to set default privileges for this role.withGrantOptionPermit the grant recipient to grant it to othersconst -
DefaultPrivilegState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
database
→ Input<
String> ? -
The database to grant default privileges for this role.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
objectType
→ Input<
String> ? -
The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, routine, type, schema).
final
-
owner
→ Input<
String> ? -
Specifies the role that creates objects for which the default privileges will be applied.
final
-
privileges
→ Input<
List< ?String> > -
List of privileges (e.g., SELECT, INSERT, UPDATE, DELETE) to grant on new objects created by the owner. An empty list could be provided to revoke all default privileges for this role.
final
-
role
→ Input<
String> ? -
The role that will automatically be granted the specified privileges on new objects created by the owner.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schema
→ Input<
String> ? -
The database schema to set default privileges for this role.
final
-
withGrantOption
→ Input<
bool> ? -
Permit the grant recipient to grant it to others
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