editable | sourcePath |
---|---|
false |
en/_api-ref/datasphere/v2/api-ref/Project/list.md |
Lists projects for the specified community.
GET https://datasphere.{{ api-host }}/datasphere/v2/projects
#| ||Field | Description || || communityId | string
Required field. ID of the community to list projects in. || || pageSize | string (int64)
The maximum number of results per page to return. If the number of available
results is larger than pageSize
,
the service returns a ListProjectsResponse.nextPageToken
that can be used to get the next page of results in subsequent list requests. ||
|| pageToken | string
Page token. To get the next page of results, set pageToken
to the
ListProjectsResponse.nextPageToken returned by a previous list request. ||
|| projectNamePattern | string
Name pattern to filter projects that are returned. Only projects with names matching the pattern will be returned. || || ownedById | string
User ID to filter projects that are returned. Only projects that are owned by specified user will be returned. || |#
HTTP Code: 200 - OK
{
"projects": [
{
"id": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"createdById": "string",
"settings": {
"serviceAccountId": "string",
"subnetId": "string",
"dataProcClusterId": "string",
"securityGroupIds": [
"string"
],
"earlyAccess": "boolean",
"ide": "string",
"defaultFolderId": "string",
"staleExecTimeoutMode": "string",
"vmInactivityTimeout": "string",
"defaultDedicatedSpec": "string"
},
"limits": {
"maxUnitsPerHour": "string",
"maxUnitsPerExecution": "string"
},
"communityId": "string"
}
],
"nextPageToken": "string"
}
#| ||Field | Description || || projects[] | Project
List of Project resources. || || nextPageToken | string
This token allows you to get the next page of results for list requests. If the number of results
is larger than ListProjectsRequest.pageSize, use
the nextPageToken
as the value
for the ListProjectsRequest.pageToken query parameter
in the next list request. Each subsequent list request will have its own
nextPageToken
to continue paging through the results. ||
|#
A Project resource.
#| ||Field | Description || || id | string
ID of the project. || || createdAt | string (date-time)
String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z
to 9999-12-31T23:59:59.999999999Z
, i.e. from 0 to 9 digits for fractions of a second.
To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). || || name | string
Name of the project. 1-63 characters long. || || description | string
Description of the project. 0-256 characters long. || || labels | object (map<string, string>) || || createdById | string || || settings | Settings
Settings of the project. || || limits | Limits
Limits of the project. || || communityId | string
ID of the community that the project belongs to. || |#
#| ||Field | Description || || serviceAccountId | string
ID of the service account, on whose behalf all operations with clusters will be performed. || || subnetId | string
ID of the subnet where the DataProc cluster resides. Currently only subnets created in the availability zone ru-central1-a are supported. || || dataProcClusterId | string
ID of the DataProc cluster. || || securityGroupIds[] | string
Network interfaces security groups. || || earlyAccess | boolean
Is early access preview enabled for the project. || || ide | enum (Ide)
Project IDE.
IDE_UNSPECIFIED
JUPYTER_LAB
: Project running on JupyterLab IDE. || || defaultFolderId | string
Default project folder ID. || || staleExecTimeoutMode | enum (StaleExecutionTimeoutMode)
Timeout to automatically stop stale executions.
STALE_EXECUTION_TIMEOUT_MODE_UNSPECIFIED
ONE_HOUR
: Setting to automatically stop stale execution after one hour with low consumption.THREE_HOURS
: Setting to automatically stop stale execution after three hours with low consumption.NO_TIMEOUT
: Setting to never automatically stop stale executions. || || vmInactivityTimeout | string (duration)
Timeout for VM deallocation. || || defaultDedicatedSpec | string
Default VM configuration for DEDICATED mode. || |#
#| ||Field | Description || || maxUnitsPerHour | string (int64)
The number of units that can be spent per hour. || || maxUnitsPerExecution | string (int64)
The number of units that can be spent on the one execution. || |#