Method set
Sets the unit balance and the limits of the specified folder budget.
HTTP request
POST https://datasphere.api.cloud.yandex.net/datasphere/v1/folders/{folderId}:budget
Path parameters
Parameter | Description |
---|---|
folderId | Required. ID of the folder to set a budget for. The maximum string length in characters is 50. |
Body parameters
{
"setMask": "string",
"unitBalance": "integer",
"maxUnitsPerHour": "integer",
"maxUnitsPerExecution": "integer"
}
Field | Description |
---|---|
setMask | string Field mask that specifies which fields of the budget are going to be set. A comma-separated names off ALL fields to be updated. Оnly the specified fields will be changed. The others will be left untouched. If the field is specified in If |
unitBalance | integer (int64) The number of units available in the folder. |
maxUnitsPerHour | integer (int64) The number of units that can be spent per hour. |
maxUnitsPerExecution | integer (int64) The number of units that can be spent on one execution. |
Response
HTTP Code: 200 - OK
"object"
Empty JSON object {}
.
Field | Description |
---|---|
object Empty JSON object |