A set of parameters for GPUdb::revokePermissionDatasource. More…
#include <gpudb/protocol/revoke_permission_datasource.h>
Public Member Functions | |
| RevokePermissionDatasourceRequest () | |
| Constructs a RevokePermissionDatasourceRequest object with default parameters. | |
| RevokePermissionDatasourceRequest (const std::string &name_, const std::string &permission_, const std::string &datasourceName_, const std::map< std::string, std::string > &options_) | |
| Constructs a RevokePermissionDatasourceRequest object with the specified parameters. | |
Public Attributes | |
| std::string | name |
| Name of the user or role from which the permission will be revoked. | |
| std::string | permission |
| Permission to revoke from the user or role. | |
| std::string | datasourceName |
| Name of the data source on which the permission will be revoked. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::revokePermissionDatasource.
[DEPRECATED–please use GPUdb::revokePermission instead] Revokes a data source permission from a user or role.
Definition at line 22 of file revoke_permission_datasource.h.
Constructor & Destructor Documentation
◆ RevokePermissionDatasourceRequest() [1/2]
| inline |
Constructs a RevokePermissionDatasourceRequest object with default parameters.
Definition at line 28 of file revoke_permission_datasource.h.
◆ RevokePermissionDatasourceRequest() [2/2]
| inline |
Constructs a RevokePermissionDatasourceRequest object with the specified 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. Supported values:
|
| [in] | datasourceName_ | Name of the data source on which the permission will be revoked. Must be an existing data source, or an empty string to revoke permission from all data sources. |
| [in] | options_ | Optional parameters. The default value is an empty map. |
Definition at line 64 of file revoke_permission_datasource.h.
Member Data Documentation
◆ datasourceName
| std::string gpudb::RevokePermissionDatasourceRequest::datasourceName |
Name of the data source on which the permission will be revoked.
Must be an existing data source, or an empty string to revoke permission from all data sources.
Definition at line 97 of file revoke_permission_datasource.h.
◆ name
| std::string gpudb::RevokePermissionDatasourceRequest::name |
Name of the user or role from which the permission will be revoked.
Must be an existing user or role.
Definition at line 76 of file revoke_permission_datasource.h.
◆ options
| std::map<std::string, std::string> gpudb::RevokePermissionDatasourceRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 102 of file revoke_permission_datasource.h.
◆ permission
| std::string gpudb::RevokePermissionDatasourceRequest::permission |
Permission to revoke from the user or role.
Supported values:
- revoke_permission_datasource_admin: Admin access on the given data source.
- revoke_permission_datasource_connect: Connect access on the given data source.
Definition at line 90 of file revoke_permission_datasource.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/revoke_permission_datasource.h