GPUdb C++ API
Version 7.1.10.0
|
A set of input parameters for const. More...
#include <gpudb/protocol/grant_permission.h>
Public Member Functions | |
GrantPermissionRequest () | |
Constructs a GrantPermissionRequest object with default parameter values. More... | |
GrantPermissionRequest (const std::string &principal_, const std::string &object_, const std::string &objectType_, const std::string &permission_, const std::map< std::string, std::string > &options_) | |
Constructs a GrantPermissionRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | principal |
std::string | object |
std::string | objectType |
std::string | permission |
std::map< std::string, std::string > | options |
A set of input parameters for const.
Grant user or role the specified permission on the specified object.
Definition at line 18 of file grant_permission.h.
|
inline |
Constructs a GrantPermissionRequest object with default parameter values.
Definition at line 25 of file grant_permission.h.
|
inline |
Constructs a GrantPermissionRequest object with the specified parameters.
[in] | principal_ | Name of the user or role for which the permission is being granted. Must be an existing user or role. |
[in] | object_ | Name of object permission is being granted to. It is recommended to use a fully-qualified name when possible. |
[in] | objectType_ | The type of object being granted to
|
[in] | permission_ | Permission being granted.
|
[in] | options_ | Optional parameters.
|
Definition at line 126 of file grant_permission.h.
std::string gpudb::GrantPermissionRequest::object |
Definition at line 136 of file grant_permission.h.
std::string gpudb::GrantPermissionRequest::objectType |
Definition at line 137 of file grant_permission.h.
std::map<std::string, std::string> gpudb::GrantPermissionRequest::options |
Definition at line 139 of file grant_permission.h.
std::string gpudb::GrantPermissionRequest::permission |
Definition at line 138 of file grant_permission.h.
std::string gpudb::GrantPermissionRequest::principal |
Definition at line 135 of file grant_permission.h.