A set of parameters for GPUdb::alterRole. More…
#include <gpudb/protocol/alter_role.h>
Public Member Functions | |
| AlterRoleRequest () | |
| Constructs an AlterRoleRequest object with default parameters. | |
| AlterRoleRequest (const std::string &name_, const std::string &action_, const std::string &value_, const std::map< std::string, std::string > &options_) | |
| Constructs an AlterRoleRequest object with the specified parameters. | |
Public Attributes | |
| std::string | name |
| Name of the role to be altered. | |
| std::string | action |
| Modification operation to be applied to the role. | |
| std::string | value |
| The value of the modification, depending on action. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::alterRole.
Alters a Role.
Definition at line 17 of file alter_role.h.
Constructor & Destructor Documentation
◆ AlterRoleRequest() [1/2]
| inline |
Constructs an AlterRoleRequest object with default parameters.
Definition at line 22 of file alter_role.h.
◆ AlterRoleRequest() [2/2]
| inline |
Constructs an AlterRoleRequest object with the specified parameters.
| [in] | name_ | Name of the role to be altered. Must be an existing role. |
| [in] | action_ | Modification operation to be applied to the role. Supported values:
|
| [in] | value_ | The value of the modification, depending on action_. |
| [in] | options_ | Optional parameters. The default value is an empty map. |
Definition at line 55 of file alter_role.h.
Member Data Documentation
◆ action
| std::string gpudb::AlterRoleRequest::action |
Modification operation to be applied to the role.
Supported values:
- alter_role_set_comment: Sets the comment for an internal role.
- alter_role_set_resource_group: Sets the resource group for an internal role. The resource group must exist, otherwise, an empty string assigns the role to the default resource group.
Definition at line 81 of file alter_role.h.
◆ name
| std::string gpudb::AlterRoleRequest::name |
Name of the role to be altered.
Must be an existing role.
Definition at line 66 of file alter_role.h.
◆ options
| std::map<std::string, std::string> gpudb::AlterRoleRequest::options |
◆ value
| std::string gpudb::AlterRoleRequest::value |
The value of the modification, depending on action.
Definition at line 86 of file alter_role.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/alter_role.h