pub struct GrantPermissionTableRequest
pub name: String,
pub permission: String,
pub table_name: String,
pub filter_expression: String,
pub options: HashMap<String, String>,
The request payload for the /grant/permission/table endpoint.
Grant a table-level permission to a user or role
Fields
name: StringName of the user or role to which the permission will be granted. Must be an existing user or role.
permission: StringPermission to grant to the user or role.
table_name: StringName of the table to which the permission grants access, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table, view, or schema. If a schema, the permission also applies to tables and views in the schema.
filter_expression: StringOptional filter expression to apply to this grant. Only rows that match the filter will be affected.
options: HashMap<String, String>Optional parameters.
Trait Implementations
impl Clone for GrantPermissionTableRequest
fn clone(&self) -> GrantPermissionTableRequest
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Debug for GrantPermissionTableRequest
impl<‘de> Deserialize<‘de> for GrantPermissionTableRequest
fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,
fn avro_schema(&self) -> &‘static str
fn use_compression() -> bool
KineticaOptions::use_snappy enabled. Read more