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

A set of input parameters for revokeRole(const RevokeRoleRequest&) const. More...

#include <gpudb/protocol/revoke_role.h>

Public Member Functions

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

Public Attributes

std::string role
 
std::string member
 
std::map< std::string, std::string > options
 

Detailed Description

A set of input parameters for revokeRole(const RevokeRoleRequest&) const.

Revokes membership in a role from a user or role.

Definition at line 18 of file revoke_role.h.

Constructor & Destructor Documentation

◆ RevokeRoleRequest() [1/2]

gpudb::RevokeRoleRequest::RevokeRoleRequest ( )
inline

Constructs a RevokeRoleRequest object with default parameter values.

Definition at line 24 of file revoke_role.h.

◆ RevokeRoleRequest() [2/2]

gpudb::RevokeRoleRequest::RevokeRoleRequest ( const std::string &  role_,
const std::string &  member_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a RevokeRoleRequest object with the specified parameters.

Parameters
[in]role_Name of the role in which membership will be revoked. Must be an existing role.
[in]member_Name of the user or role that will be revoked membership in role. Must be an existing user or role.
[in]options_Optional parameters.

Definition at line 42 of file revoke_role.h.

Member Data Documentation

◆ member

std::string gpudb::RevokeRoleRequest::member

Definition at line 50 of file revoke_role.h.

◆ options

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

Definition at line 51 of file revoke_role.h.

◆ role

std::string gpudb::RevokeRoleRequest::role

Definition at line 49 of file revoke_role.h.


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