GPUdb C++ API
Version 5.2.0.0
|
A set of input parameters for grantPermissionTable(const GrantPermissionTableRequest&) const. More...
#include <gpudb/protocol/grant_permission_table.h>
Public Member Functions | |
GrantPermissionTableRequest () | |
Constructs a GrantPermissionTableRequest object with default parameter values. More... | |
GrantPermissionTableRequest (const std::string &name, const std::string &permission, const std::string &tableName, const std::string &filterExpression, const std::map< std::string, std::string > &options) | |
Constructs a GrantPermissionTableRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | name |
std::string | permission |
std::string | tableName |
std::string | filterExpression |
std::map< std::string, std::string > | options |
A set of input parameters for grantPermissionTable(const GrantPermissionTableRequest&) const.
Grants a table-level permission to a user or role.
Definition at line 18 of file grant_permission_table.h.
|
inline |
Constructs a GrantPermissionTableRequest object with default parameter values.
Definition at line 25 of file grant_permission_table.h.
|
inline |
Constructs a GrantPermissionTableRequest object with the specified parameters.
[in] | name | Name of the user or role to which the permission will be granted. Must be an existing user or role. |
[in] | permission | Permission to grant to the user or role. Values: 'table_admin', 'table_insert', 'table_update', 'table_delete', 'table_read'. |
[in] | tableName | Name of the table to which the permission grants access. Must be an existing table, collection, or view. If a collection, the permission also applies to tables and views in the collection. |
[in] | filterExpression | Reserved for future use. Default value is an empty string. |
[in] | options | Optional parameters. |
Definition at line 53 of file grant_permission_table.h.
std::string gpudb::GrantPermissionTableRequest::filterExpression |
Definition at line 65 of file grant_permission_table.h.
std::string gpudb::GrantPermissionTableRequest::name |
Definition at line 62 of file grant_permission_table.h.
std::map<std::string, std::string> gpudb::GrantPermissionTableRequest::options |
Definition at line 66 of file grant_permission_table.h.
std::string gpudb::GrantPermissionTableRequest::permission |
Definition at line 63 of file grant_permission_table.h.
std::string gpudb::GrantPermissionTableRequest::tableName |
Definition at line 64 of file grant_permission_table.h.