DataSphere API v2, gRPC: ProjectService.GetRestrictions
Written by
Updated at October 17, 2024
Get current project restrictions.
gRPC request
rpc GetRestrictions (GetProjectRestrictionsRequest) returns (RestrictionsResponse)
GetProjectRestrictionsRequest
{
"projectId": "string"
}
Field |
Description |
projectId |
string Required field. ID of the project. |
RestrictionsResponse
{
"restrictions": [
{
"name": "string",
"boolValue": [
"bool"
],
"longValue": [
"int64"
],
"stringValue": [
"string"
]
}
]
}
Field |
Description |
restrictions[] |
List of restrictions. |
Restriction
Field |
Description |
name |
string Name of restriction. |
boolValue[] |
bool List of boolean restriction values. Empty if value type is not boolean. |
longValue[] |
int64 List of long restriction values. Empty if value type is not long. |
stringValue[] |
string List of string restriction values. Empty if value type is not string. |