Skip to main content

◆ revokePermission() [1/4]

RevokePermissionResponse gpudb::GPUdb::revokePermission (const RevokePermissionRequest &request_) const

Revoke user or role the specified permission on the specified object.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ 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
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
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]principalName of the user or role for which the permission is being revoked. Must be an existing user or role. The default value is ”.
[in]objectName of object permission is being revoked from. It is recommended to use a fully-qualified name when possible.
[in]objectTypeThe type of object being revoked. Supported values:
[in]permissionPermission being revoked. Supported values:
[in]optionsOptional parameters.The default value is an empty map.
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]principalName of the user or role for which the permission is being revoked. Must be an existing user or role. The default value is ”.
[in]objectName of object permission is being revoked from. It is recommended to use a fully-qualified name when possible.
[in]objectTypeThe type of object being revoked. Supported values:
[in]permissionPermission being revoked. Supported values:
[in]optionsOptional 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).