◆ revokePermissionDatasource() [1/4]
| RevokePermissionDatasourceResponse gpudb::GPUdb::revokePermissionDatasource | ( | const RevokePermissionDatasourceRequest & | request_ | ) | const |
[DEPRECATED–please use revokePermission instead] Revokes a data source permission from a user or role.
Parameters
| [in] | request_ | Request object containing the parameters for the operation. |
Returns
Response object containing the result of the operation.
◆ revokePermissionDatasource() [2/4]
| RevokePermissionDatasourceResponse & gpudb::GPUdb::revokePermissionDatasource | ( | const RevokePermissionDatasourceRequest & | request_, |
| RevokePermissionDatasourceResponse & | response_ ) const |
[DEPRECATED–please use revokePermission instead] Revokes a data source permission from a user or role.
Parameters
Returns
Response object containing the result of the operation (initially passed in by reference).
◆ revokePermissionDatasource() [3/4]
| RevokePermissionDatasourceResponse gpudb::GPUdb::revokePermissionDatasource | ( | const std::string & | name, |
| const std::string & | permission, | ||
| const std::string & | datasourceName, | ||
| const std::map< std::string, std::string > & | options ) const |
[DEPRECATED–please use revokePermission instead] Revokes a data source permission from a user or role.
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. |
Returns
Response object containing the result of the operation.
◆ revokePermissionDatasource() [4/4]
| RevokePermissionDatasourceResponse & gpudb::GPUdb::revokePermissionDatasource | ( | const std::string & | name, |
| const std::string & | permission, | ||
| const std::string & | datasourceName, | ||
| const std::map< std::string, std::string > & | options, | ||
| RevokePermissionDatasourceResponse & | response_ ) const |
[DEPRECATED–please use revokePermission instead] Revokes a data source permission from a user or role.
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. |
| [out] | response_ | Response object containing the results of the operation. |
Returns
Response object containing the result of the operation (initially passed in by reference).