GPUdb C++ API
Version 7.2.2.4
|
A set of parameters for GPUdb::revokePermissionCredential. More...
#include <gpudb/protocol/revoke_permission_credential.h>
Public Member Functions | |
RevokePermissionCredentialRequest () | |
Constructs a RevokePermissionCredentialRequest object with default parameters. More... | |
RevokePermissionCredentialRequest (const std::string &name_, const std::string &permission_, const std::string &credentialName_, const std::map< std::string, std::string > &options_) | |
Constructs a RevokePermissionCredentialRequest 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 | credentialName |
Name of the credential on which the permission will be revoked. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::revokePermissionCredential.
Revokes a credential-level permission from a user or role.
Definition at line 20 of file revoke_permission_credential.h.
|
inline |
Constructs a RevokePermissionCredentialRequest object with default parameters.
Definition at line 26 of file revoke_permission_credential.h.
|
inline |
Constructs a RevokePermissionCredentialRequest 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] | credentialName_ | Name of the credential on which the permission will be revoked. Must be an existing credential, or an empty string to revoke access on all credentials. |
[in] | options_ | Optional parameters. The default value is an empty map. |
Definition at line 61 of file revoke_permission_credential.h.
std::string gpudb::RevokePermissionCredentialRequest::credentialName |
Name of the credential on which the permission will be revoked.
Must be an existing credential, or an empty string to revoke access on all credentials.
Definition at line 94 of file revoke_permission_credential.h.
std::string gpudb::RevokePermissionCredentialRequest::name |
Name of the user or role from which the permission will be revoked.
Must be an existing user or role.
Definition at line 73 of file revoke_permission_credential.h.
std::map<std::string, std::string> gpudb::RevokePermissionCredentialRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 99 of file revoke_permission_credential.h.
std::string gpudb::RevokePermissionCredentialRequest::permission |
Permission to revoke from the user or role.
Supported values:
Definition at line 87 of file revoke_permission_credential.h.