DataSphere API v2, gRPC: ProjectService.GetUnitBalance
Статья создана
Обновлена 17 октября 2024 г.
Returns the unit balance of the specified project.
gRPC request
rpc GetUnitBalance (GetUnitBalanceRequest) returns (GetUnitBalanceResponse)
GetUnitBalanceRequest
{
"projectId": "string"
}
Field |
Description |
projectId |
string Required field. ID of the project to return the unit balance for. |
GetUnitBalanceResponse
{
"unitBalance": "google.protobuf.Int64Value"
}
Field |
Description |
unitBalance |
The number of units available to the project. |