GPUdb C++ API
Version 7.1.10.0
|
A set of input parameters for const. More...
#include <gpudb/protocol/grant_permission_credential.h>
Public Member Functions | |
GrantPermissionCredentialRequest () | |
Constructs a GrantPermissionCredentialRequest object with default parameter values. More... | |
GrantPermissionCredentialRequest (const std::string &name_, const std::string &permission_, const std::string &credentialName_, const std::map< std::string, std::string > &options_) | |
Constructs a GrantPermissionCredentialRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | name |
std::string | permission |
std::string | credentialName |
std::map< std::string, std::string > | options |
A set of input parameters for const.
Grants a credential-level permission to a user or role.
Definition at line 20 of file grant_permission_credential.h.
|
inline |
Constructs a GrantPermissionCredentialRequest object with default parameter values.
Definition at line 27 of file grant_permission_credential.h.
|
inline |
Constructs a GrantPermissionCredentialRequest 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.
|
[in] | credentialName_ | Name of the credential on which the permission will be granted. Must be an existing credential, or an empty string to grant access on all credentials. |
[in] | options_ | Optional parameters. |
Definition at line 58 of file grant_permission_credential.h.
std::string gpudb::GrantPermissionCredentialRequest::credentialName |
Definition at line 68 of file grant_permission_credential.h.
std::string gpudb::GrantPermissionCredentialRequest::name |
Definition at line 66 of file grant_permission_credential.h.
std::map<std::string, std::string> gpudb::GrantPermissionCredentialRequest::options |
Definition at line 69 of file grant_permission_credential.h.
std::string gpudb::GrantPermissionCredentialRequest::permission |
Definition at line 67 of file grant_permission_credential.h.