◆ revokePermission() [1/4]
| RevokePermissionResponse gpudb::GPUdb::revokePermission | ( | const RevokePermissionRequest & | request_ | ) | const |
◆ revokePermission() [2/4]
| RevokePermissionResponse & gpudb::GPUdb::revokePermission | ( | const RevokePermissionRequest & | request_, |
| RevokePermissionResponse & | response_ ) const |
Revoke user or role the specified permission on the specified object.
Parameters
Returns
Response object containing the result of the operation (initially passed in by reference).
◆ revokePermission() [3/4]
| RevokePermissionResponse gpudb::GPUdb::revokePermission | ( | const std::string & | principal, |
| const std::string & | object, | ||
| const std::string & | objectType, | ||
| const std::string & | permission, | ||
| const std::map< std::string, std::string > & | options ) const |
Revoke user or role the specified permission on the specified object.
Parameters
| [in] | principal | Name of the user or role for which the permission is being revoked. Must be an existing user or role. The default value is ”. |
| [in] | object | Name of object permission is being revoked from. It is recommended to use a fully-qualified name when possible. |
| [in] | objectType | The type of object being revoked. Supported values:
|
| [in] | permission | Permission being revoked. Supported values:
|
| [in] | options | Optional parameters.
|
Returns
Response object containing the result of the operation.
◆ revokePermission() [4/4]
| RevokePermissionResponse & gpudb::GPUdb::revokePermission | ( | const std::string & | principal, |
| const std::string & | object, | ||
| const std::string & | objectType, | ||
| const std::string & | permission, | ||
| const std::map< std::string, std::string > & | options, | ||
| RevokePermissionResponse & | response_ ) const |
Revoke user or role the specified permission on the specified object.
Parameters
| [in] | principal | Name of the user or role for which the permission is being revoked. Must be an existing user or role. The default value is ”. |
| [in] | object | Name of object permission is being revoked from. It is recommended to use a fully-qualified name when possible. |
| [in] | objectType | The type of object being revoked. Supported values:
|
| [in] | permission | Permission being revoked. Supported values:
|
| [in] | options | Optional parameters.
|
| [out] | response_ | Response object containing the results of the operation. |
Returns
Response object containing the result of the operation (initially passed in by reference).