GPUdb C++ API  Version 7.2.2.4
gpudb::RevokePermissionTableRequest Struct Reference

A set of parameters for GPUdb::revokePermissionTable. More...

#include <gpudb/protocol/revoke_permission_table.h>

Public Member Functions

 RevokePermissionTableRequest ()
 Constructs a RevokePermissionTableRequest object with default parameters. More...
 
 RevokePermissionTableRequest (const std::string &name_, const std::string &permission_, const std::string &tableName_, const std::map< std::string, std::string > &options_)
 Constructs a RevokePermissionTableRequest object with the specified parameters. More...
 

Public Attributes

std::string name
 Name of the user or role from which the permission will be revoked. More...
 
std::string permission
 Permission to revoke from the user or role. More...
 
std::string tableName
 Name of the table to which the permission grants access, in [ schema_name. ]table_name format, using standard name resolution rules. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::revokePermissionTable.

Revokes a table-level permission from a user or role.

Definition at line 18 of file revoke_permission_table.h.

Constructor & Destructor Documentation

◆ RevokePermissionTableRequest() [1/2]

gpudb::RevokePermissionTableRequest::RevokePermissionTableRequest ( )
inline

Constructs a RevokePermissionTableRequest object with default parameters.

Definition at line 24 of file revoke_permission_table.h.

◆ RevokePermissionTableRequest() [2/2]

gpudb::RevokePermissionTableRequest::RevokePermissionTableRequest ( const std::string &  name_,
const std::string &  permission_,
const std::string &  tableName_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a RevokePermissionTableRequest object with the specified parameters.

Parameters
[in]name_Name of the user or role from which the permission will be revoked. Must be an existing user or role.
[in]permission_Permission to revoke from the user or role. Supported values:
[in]tableName_Name 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.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 80 of file revoke_permission_table.h.

Member Data Documentation

◆ name

std::string gpudb::RevokePermissionTableRequest::name

Name of the user or role from which the permission will be revoked.

Must be an existing user or role.

Definition at line 92 of file revoke_permission_table.h.

◆ options

std::map<std::string, std::string> gpudb::RevokePermissionTableRequest::options

Optional parameters.

The default value is an empty map.

Definition at line 135 of file revoke_permission_table.h.

◆ permission

std::string gpudb::RevokePermissionTableRequest::permission

Permission to revoke from the user or role.

Supported values:

Definition at line 115 of file revoke_permission_table.h.

◆ tableName

std::string gpudb::RevokePermissionTableRequest::tableName

Name 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.

Definition at line 124 of file revoke_permission_table.h.


The documentation for this struct was generated from the following file: