DataSphere API v2, gRPC: ProjectService.List
Lists projects for the specified community.
gRPC request
rpc List (ListProjectsRequest) returns (ListProjectsResponse)
ListProjectsRequest
{
"communityId": "string",
"pageSize": "int64",
"pageToken": "string",
"projectNamePattern": "string",
"ownedById": "string"
}
Field |
Description |
communityId |
string Required field. ID of the community to list projects in. |
pageSize |
int64 The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
projectNamePattern |
string Name pattern to filter projects that are returned. |
ownedById |
string User ID to filter projects that are returned. |
ListProjectsResponse
{
"projects": [
{
"id": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
"createdById": "string",
"settings": {
"serviceAccountId": "string",
"subnetId": "string",
"dataProcClusterId": "string",
"securityGroupIds": [
"string"
],
"earlyAccess": "bool",
"ide": "Ide",
"defaultFolderId": "string",
"staleExecTimeoutMode": "StaleExecutionTimeoutMode",
"vmInactivityTimeout": "google.protobuf.Duration",
"defaultDedicatedSpec": "string"
},
"limits": {
"maxUnitsPerHour": "google.protobuf.Int64Value",
"maxUnitsPerExecution": "google.protobuf.Int64Value"
},
"communityId": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
projects[] |
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 |
Project
A Project resource.
Field |
Description |
id |
string ID of the project. |
createdAt |
|
name |
string Name of the project. 1-63 characters long. |
description |
string Description of the project. 0-256 characters long. |
labels |
string |
createdById |
string |
settings |
Settings of the project. |
limits |
Limits of the project. |
communityId |
string ID of the community that the project belongs to. |
Settings
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. |
dataProcClusterId |
string ID of the DataProc cluster. |
securityGroupIds[] |
string Network interfaces security groups. |
earlyAccess |
bool Is early access preview enabled for the project. |
ide |
enum Ide Project IDE.
|
defaultFolderId |
string Default project folder ID. |
staleExecTimeoutMode |
enum StaleExecutionTimeoutMode Timeout to automatically stop stale executions.
|
vmInactivityTimeout |
Timeout for VM deallocation. |
defaultDedicatedSpec |
string Default VM configuration for DEDICATED mode. |
Limits
Field |
Description |
maxUnitsPerHour |
The number of units that can be spent per hour. |
maxUnitsPerExecution |
The number of units that can be spent on the one execution. |