FolderBudgetService
Статья создана
A set of methods for managing Datasphere folder budgets.
Call | Description |
---|---|
Get | Returns the specified folder budget. |
Set | Sets the unit balance and the limits of the specified folder budget. |
Calls FolderBudgetService
Get
Returns the specified folder budget.
rpc Get (GetFolderBudgetRequest) returns (GetFolderBudgetResponse)
GetFolderBudgetRequest
Field | Description |
---|---|
folder_id | string Required. ID of the folder to get a budget for. The maximum string length in characters is 50. |
GetFolderBudgetResponse
Field | Description |
---|---|
unit_balance | google.protobuf.Int64Value The number of units available in the folder. |
max_units_per_hour | google.protobuf.Int64Value The number of units that can be spent per hour. |
max_units_per_execution | google.protobuf.Int64Value The number of units that can be spent on one execution. |
Set
Sets the unit balance and the limits of the specified folder budget.
rpc Set (SetFolderBudgetRequest) returns (google.protobuf.Empty)
SetFolderBudgetRequest
Field | Description |
---|---|
folder_id | string Required. ID of the folder to set a budget for. The maximum string length in characters is 50. |
set_mask | google.protobuf.FieldMask Field mask that specifies which fields of the budget are going to be set. |
unit_balance | google.protobuf.Int64Value The number of units available in the folder. |
max_units_per_hour | google.protobuf.Int64Value The number of units that can be spent per hour. |
max_units_per_execution | google.protobuf.Int64Value The number of units that can be spent on one execution. |