GPUdb C++ API
Version 7.2.2.4
|
A set of parameters for GPUdb::revokePermissionProc. More...
#include <gpudb/protocol/revoke_permission_proc.h>
Public Member Functions | |
RevokePermissionProcRequest () | |
Constructs a RevokePermissionProcRequest object with default parameters. 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 |
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 | procName |
Name of the proc to which the permission grants access. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::revokePermissionProc.
Revokes a proc-level permission from a user or role.
Definition at line 18 of file revoke_permission_proc.h.
|
inline |
Constructs a RevokePermissionProcRequest object with default parameters.
Definition at line 24 of file revoke_permission_proc.h.
|
inline |
Constructs a RevokePermissionProcRequest object with the specified 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] | 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. The default value is an empty map. |
Definition at line 57 of file revoke_permission_proc.h.
std::string gpudb::RevokePermissionProcRequest::name |
Name of the user or role from which the permission will be revoked.
Must be an existing user or role.
Definition at line 69 of file revoke_permission_proc.h.
std::map<std::string, std::string> gpudb::RevokePermissionProcRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 95 of file revoke_permission_proc.h.
std::string gpudb::RevokePermissionProcRequest::permission |
Permission to revoke from the user or role.
Supported values:
Definition at line 83 of file revoke_permission_proc.h.
std::string gpudb::RevokePermissionProcRequest::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.
Definition at line 90 of file revoke_permission_proc.h.