DefaultPrivilegesArgs class

The set of arguments for DefaultPrivileges. The set of arguments for DefaultPrivileges.

Constructors

DefaultPrivilegesArgs({required Input<String> database, required Input<String> objectType, required Input<String> owner, required Input<List<String>> privileges, required Input<String> role, Input<String>? schema, Input<bool>? withGrantOption})
Creates a new DefaultPrivilegesArgs. database The database to grant default privileges for this role. objectType The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, routine, type, schema). owner Specifies the role that creates objects for which the default privileges will be applied. privileges 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. role The role that will automatically be granted the specified privileges on new objects created by the owner. schema The database schema to set default privileges for this role. withGrantOption Permit the grant recipient to grant it to others
const
DefaultPrivilegesArgs.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