Skip to main content

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.
 
 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.
 

Public Attributes

std::string name
 Name of the user or role from which the permission will be revoked.
 
std::string permission
 Permission to revoke from the user or role.
 
std::string credentialName
 Name of the credential on which the permission will be revoked.
 
std::map< std::string, std::string > options
 Optional parameters.
 

Detailed Description

A set of parameters for GPUdb::revokePermissionCredential.

[DEPRECATED–please use GPUdb::revokePermission instead] Revokes a credential-level permission from a user or role.

Definition at line 22 of file revoke_permission_credential.h.

Constructor & Destructor Documentation

◆ RevokePermissionCredentialRequest() [1/2]

gpudb::RevokePermissionCredentialRequest::RevokePermissionCredentialRequest ()
inline

Constructs a RevokePermissionCredentialRequest object with default parameters.

Definition at line 28 of file revoke_permission_credential.h.

◆ RevokePermissionCredentialRequest() [2/2]

gpudb::RevokePermissionCredentialRequest::RevokePermissionCredentialRequest (const std::string &name_,
const std::string &permission_,
const std::string &credentialName_,
const std::map< std::string, std::string > &options_ )
inline

Constructs a RevokePermissionCredentialRequest object with the specified parameters.

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 63 of file revoke_permission_credential.h.

Member Data Documentation

◆ credentialName

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 96 of file revoke_permission_credential.h.

◆ name

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 75 of file revoke_permission_credential.h.

◆ options

std::map<std::string, std::string> gpudb::RevokePermissionCredentialRequest::options

Optional parameters.

The default value is an empty map.

Definition at line 101 of file revoke_permission_credential.h.

◆ permission

std::string gpudb::RevokePermissionCredentialRequest::permission

Permission to revoke from the user or role.

Supported values:

Definition at line 89 of file revoke_permission_credential.h.


The documentation for this struct was generated from the following file: