GPUdb C++ API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::GrantPermissionCredentialRequest Struct Reference

A set of input parameters for const. More...

#include <gpudb/protocol/grant_permission_credential.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

A set of input parameters for const.

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

Definition at line 20 of file grant_permission_credential.h.

Constructor & Destructor Documentation

gpudb::GrantPermissionCredentialRequest::GrantPermissionCredentialRequest ( )
inline

Constructs a GrantPermissionCredentialRequest object with default parameter values.

Definition at line 27 of file grant_permission_credential.h.

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

Constructs a GrantPermissionCredentialRequest 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]credentialName_Name of the credential on which the permission will be granted. Must be an existing credential, or an empty string to grant access on all credentials.
[in]options_Optional parameters.

Definition at line 58 of file grant_permission_credential.h.

Member Data Documentation

std::string gpudb::GrantPermissionCredentialRequest::credentialName

Definition at line 68 of file grant_permission_credential.h.

std::string gpudb::GrantPermissionCredentialRequest::name

Definition at line 66 of file grant_permission_credential.h.

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

Definition at line 69 of file grant_permission_credential.h.

std::string gpudb::GrantPermissionCredentialRequest::permission

Definition at line 67 of file grant_permission_credential.h.


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