GPUdb C++ API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::RevokePermissionProcRequest Struct Reference

A set of input parameters for const. More...

#include <gpudb/protocol/revoke_permission_proc.h>

Public Member Functions

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

Public Attributes

std::string name
 
std::string permission
 
std::string procName
 
std::map< std::string,
std::string > 
options
 

Detailed Description

A set of input parameters for const.

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

Definition at line 18 of file revoke_permission_proc.h.

Constructor & Destructor Documentation

gpudb::RevokePermissionProcRequest::RevokePermissionProcRequest ( )
inline

Constructs a RevokePermissionProcRequest object with default parameter values.

Definition at line 25 of file revoke_permission_proc.h.

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

Constructs a RevokePermissionProcRequest 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]procName_Name of the proc to which the permission grants access. Must be an existing proc, or an empty string if the permission grants access to all procs.
[in]options_Optional parameters.

Definition at line 52 of file revoke_permission_proc.h.

Member Data Documentation

std::string gpudb::RevokePermissionProcRequest::name

Definition at line 60 of file revoke_permission_proc.h.

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

Definition at line 63 of file revoke_permission_proc.h.

std::string gpudb::RevokePermissionProcRequest::permission

Definition at line 61 of file revoke_permission_proc.h.

std::string gpudb::RevokePermissionProcRequest::procName

Definition at line 62 of file revoke_permission_proc.h.


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