GPUdb C++ API  Version 7.2.2.4
gpudb::RevokePermissionProcRequest Struct Reference

A set of parameters for GPUdb::revokePermissionProc. More...

#include <gpudb/protocol/revoke_permission_proc.h>

Public Member Functions

 RevokePermissionProcRequest ()
 Constructs a RevokePermissionProcRequest object with default parameters. More...
 
 RevokePermissionProcRequest (const std::string &name_, const std::string &permission_, const std::string &procName_, const std::map< std::string, std::string > &options_)
 Constructs a RevokePermissionProcRequest 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 procName
 Name of the proc to which the permission grants access. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::revokePermissionProc.

Revokes a proc-level permission from a user or role.

Definition at line 18 of file revoke_permission_proc.h.

Constructor & Destructor Documentation

◆ RevokePermissionProcRequest() [1/2]

gpudb::RevokePermissionProcRequest::RevokePermissionProcRequest ( )
inline

Constructs a RevokePermissionProcRequest object with default parameters.

Definition at line 24 of file revoke_permission_proc.h.

◆ RevokePermissionProcRequest() [2/2]

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

Constructs a RevokePermissionProcRequest 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]procName_Name of the proc to which the permission grants access. Must be an existing proc, or an empty string if the permission grants access to all procs.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 57 of file revoke_permission_proc.h.

Member Data Documentation

◆ name

std::string gpudb::RevokePermissionProcRequest::name

Name of the user or role from which the permission will be revoked.

Must be an existing user or role.

Definition at line 69 of file revoke_permission_proc.h.

◆ options

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

Optional parameters.

The default value is an empty map.

Definition at line 95 of file revoke_permission_proc.h.

◆ permission

std::string gpudb::RevokePermissionProcRequest::permission

Permission to revoke from the user or role.

Supported values:

Definition at line 83 of file revoke_permission_proc.h.

◆ procName

std::string gpudb::RevokePermissionProcRequest::procName

Name of the proc to which the permission grants access.

Must be an existing proc, or an empty string if the permission grants access to all procs.

Definition at line 90 of file revoke_permission_proc.h.


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