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

A set of input parameters for revokePermissionTable(const RevokePermissionTableRequest&) const. More...

#include <gpudb/protocol/revoke_permission_table.h>

Public Member Functions

 RevokePermissionTableRequest ()
 Constructs a RevokePermissionTableRequest object with default parameter values. 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
 
std::string permission
 
std::string tableName
 
std::map< std::string, std::string > options
 

Detailed Description

A set of input parameters for revokePermissionTable(const RevokePermissionTableRequest&) const.

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 parameter values.

Definition at line 25 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.
[in]tableName_Name of the table to which the permission grants access. Must be an existing table, collection, or view.
[in]options_Optional parameters.

Definition at line 64 of file revoke_permission_table.h.

Member Data Documentation

◆ name

std::string gpudb::RevokePermissionTableRequest::name

Definition at line 72 of file revoke_permission_table.h.

◆ options

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

Definition at line 75 of file revoke_permission_table.h.

◆ permission

std::string gpudb::RevokePermissionTableRequest::permission

Definition at line 73 of file revoke_permission_table.h.

◆ tableName

std::string gpudb::RevokePermissionTableRequest::tableName

Definition at line 74 of file revoke_permission_table.h.


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