Skip to main content

◆ alterRole() [1/4]

AlterRoleResponse gpudb::GPUdb::alterRole (const AlterRoleRequest &request_) const

Alters a Role.

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

◆ alterRole() [2/4]

AlterRoleResponse & gpudb::GPUdb::alterRole (const AlterRoleRequest &request_,
AlterRoleResponse &response_ ) const

Alters a Role.

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).

◆ alterRole() [3/4]

AlterRoleResponse gpudb::GPUdb::alterRole (const std::string &name,
const std::string &action,
const std::string &value,
const std::map< std::string, std::string > &options ) const

Alters a Role.

Parameters
[in]nameName of the role to be altered. Must be an existing role.
[in]actionModification operation to be applied to the role. Supported values:
[in]valueThe value of the modification, depending on action.
[in]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ alterRole() [4/4]

AlterRoleResponse & gpudb::GPUdb::alterRole (const std::string &name,
const std::string &action,
const std::string &value,
const std::map< std::string, std::string > &options,
AlterRoleResponse &response_ ) const

Alters a Role.

Parameters
[in]nameName of the role to be altered. Must be an existing role.
[in]actionModification operation to be applied to the role. Supported values:
[in]valueThe value of the modification, depending on action.
[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).