Project
Статья создана
A set of methods for managing Project resources.
JSON Representation
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"settings": {
"serviceAccountId": "string",
"subnetId": "string",
"dataProcClusterId": "string",
"commitMode": "string",
"securityGroupIds": [
"string"
]
},
"limits": {
"maxUnitsPerHour": "integer",
"maxUnitsPerExecution": "integer"
}
}
Field | Description |
---|---|
id | string ID of the project. |
folderId | string ID of the folder that the project belongs to. |
createdAt | string (date-time) String in RFC3339 text format. |
name | string Name of the project. 1-63 characters long. |
description | string Description of the project. 0-256 characters long. |
settings | object Settings of the project. |
settings. serviceAccountId |
string ID of the service account, on whose behalf all operations with clusters will be performed. |
settings. subnetId |
string ID of the subnet where the DataProc cluster resides. Currently only subnets created in the availability zone ru-central1-a are supported. |
settings. dataProcClusterId |
string ID of the DataProc cluster. |
settings. commitMode |
string Commit mode that is assigned to the project.
|
settings. securityGroupIds[] |
string Network interfaces security groups. |
limits | object Limits of the project. |
limits. maxUnitsPerHour |
integer (int64) The number of units that can be spent per hour. |
limits. maxUnitsPerExecution |
integer (int64) The number of units that can be spent on the one execution. |
Methods
Method | Description |
---|---|
create | Creates a project in the specified folder. |
delete | Deletes the specified project. |
execute | Executes code in the specified cell or notebook. |
get | Returns the specified project. |
getCellOutputs | Returns outputs of the specified cell. |
getNotebookMetadata | Returns metadata of the specified notebook. |
getStateVariables | Returns state variables of the specified notebook. |
getUnitBalance | Returns the unit balance of the specified project. |
list | Lists projects for the specified folder. |
open | Opens the specified project. |
setUnitBalance | Sets the unit balance of the specified project. |
update | Updates the specified project. |