DataSphere API v2, gRPC: ProjectService.GetUnitBalance
Written by
Updated at November 26, 2024
Returns the unit balance of the specified project.
gRPC request
rpc GetUnitBalance (GetUnitBalanceRequest) returns (GetUnitBalanceResponse)
GetUnitBalanceRequest
{
"project_id": "string"
}
Field |
Description |
project_id |
string Required field. ID of the project to return the unit balance for. |
GetUnitBalanceResponse
{
"unit_balance": "google.protobuf.Int64Value"
}
Field |
Description |
unit_balance |
The number of units available to the project. |