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

A set of input parameters for grantPermissionSystem(const GrantPermissionSystemRequest&) const. More...

#include <gpudb/protocol/grant_permission_system.h>

Public Member Functions

 GrantPermissionSystemRequest ()
 Constructs a GrantPermissionSystemRequest object with default parameter values. More...
 
 GrantPermissionSystemRequest (const std::string &name_, const std::string &permission_, const std::map< std::string, std::string > &options_)
 Constructs a GrantPermissionSystemRequest 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 grantPermissionSystem(const GrantPermissionSystemRequest&) const.

Grants a system-level permission to a user or role.

Definition at line 18 of file grant_permission_system.h.

Constructor & Destructor Documentation

◆ GrantPermissionSystemRequest() [1/2]

gpudb::GrantPermissionSystemRequest::GrantPermissionSystemRequest ( )
inline

Constructs a GrantPermissionSystemRequest object with default parameter values.

Definition at line 25 of file grant_permission_system.h.

◆ GrantPermissionSystemRequest() [2/2]

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

Constructs a GrantPermissionSystemRequest object with the specified parameters.

Parameters
[in]name_Name of the user or role to which the permission will be granted. Must be an existing user or role.
[in]permission_Permission to grant to the user or role.
[in]options_Optional parameters.

Definition at line 54 of file grant_permission_system.h.

Member Data Documentation

◆ name

std::string gpudb::GrantPermissionSystemRequest::name

Definition at line 61 of file grant_permission_system.h.

◆ options

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

Definition at line 63 of file grant_permission_system.h.

◆ permission

std::string gpudb::GrantPermissionSystemRequest::permission

Definition at line 62 of file grant_permission_system.h.


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