GPUdb C++ API  Version 6.2.0.3
gpudb::RevokePermissionSystemRequest Struct Reference

A set of input parameters for revokePermissionSystem(const RevokePermissionSystemRequest&) const. More...

#include <gpudb/protocol/revoke_permission_system.h>

Public Member Functions

 RevokePermissionSystemRequest ()
 Constructs a RevokePermissionSystemRequest object with default parameter values. More...
 
 RevokePermissionSystemRequest (const std::string &name_, const std::string &permission_, const std::map< std::string, std::string > &options_)
 Constructs a RevokePermissionSystemRequest object with the specified parameters. More...
 

Public Attributes

std::string name
 
std::string permission
 
std::map< std::string, std::string > options
 

Detailed Description

A set of input parameters for revokePermissionSystem(const RevokePermissionSystemRequest&) const.

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

Definition at line 18 of file revoke_permission_system.h.

Constructor & Destructor Documentation

◆ RevokePermissionSystemRequest() [1/2]

gpudb::RevokePermissionSystemRequest::RevokePermissionSystemRequest ( )
inline

Constructs a RevokePermissionSystemRequest object with default parameter values.

Definition at line 25 of file revoke_permission_system.h.

◆ RevokePermissionSystemRequest() [2/2]

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

Constructs a RevokePermissionSystemRequest 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.
[in]options_Optional parameters.

Definition at line 54 of file revoke_permission_system.h.

Member Data Documentation

◆ name

std::string gpudb::RevokePermissionSystemRequest::name

Definition at line 61 of file revoke_permission_system.h.

◆ options

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

Definition at line 63 of file revoke_permission_system.h.

◆ permission

std::string gpudb::RevokePermissionSystemRequest::permission

Definition at line 62 of file revoke_permission_system.h.


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