platform.v1.IamService
- Request:
ListOrganizationsRequest
- Response:
ListOrganizationsResponse
- REST mapping:
GET /v1/organizations
- Request:
ListAppsRequest
- Response:
ListAppsResponse
- REST mapping:
GET /v1/apps
- Request:
GetAppRequest
- Response:
App
- REST mapping:
GET /v1/apps/{id}
- Request:
CreateAppRequest
- Response:
CreateAppResponse
- REST mapping:
POST /v1/apps
- Request:
UpdateAppRequest
- Response:
App
- REST mapping:
PATCH /v1/apps/{id}
DeleteApp is refused while the app holds resources or other apps.
- Request:
DeleteAppRequest
- Response:
DeleteAppResponse
- REST mapping:
DELETE /v1/apps/{id}
- Request:
MoveResourcesRequest
- Response:
MoveResourcesResponse
- REST mapping:
POST /v1/apps/{app_id}:moveResources
- Request:
ListRolesRequest
- Response:
ListRolesResponse
- REST mapping:
GET /v1/roles
- Request:
ListMembersRequest
- Response:
ListMembersResponse
- REST mapping:
GET /v1/members
- Request:
CheckPermissionRequest
- Response:
CheckPermissionResponse
- REST mapping:
POST /v1/iam:checkPermission
App groups a tenant’s resources. Apps nest; a view of an app includes the apps below it, and a role held on an app applies to them as well.
| Field | Type | # | Notes |
|---|
id | string | 1 | app_… (proj_… for apps created as projects) |
org | string | 2 | |
name | string | 3 | |
parent_id | string | 4 | empty for a top-level app |
description | string | 5 | |
template_id | string | 6 | the template the app was created from, if any |
CheckPermission powers the “test this permission” simulator in the IAM UI.
| Field | Type | # | Notes |
|---|
principal | string | 1 | |
permission | string | 2 | |
scope | string | 3 | |
| Field | Type | # | Notes |
|---|
allowed | bool | 1 | |
reason | string | 2 | |
| Field | Type | # | Notes |
|---|
org | string | 1 | the tenant; defaults to the caller’s |
name | string | 2 | |
parent_id | string | 3 | empty for a top-level app |
description | string | 4 | |
attach_ids | string | 5 | existing resources to move into the new app |
template_id | string | 6 | launch the template’s items into the app |
| Field | Type | # | Notes |
|---|
app | App | 1 | |
operations | Operation | 2 | One operation per template item. A failed item leaves the others running. |
No fields.
| Field | Type | # | Notes |
|---|
org | string | 1 | |
| Field | Type | # | Notes |
|---|
scope | string | 1 | |
| Field | Type | # | Notes |
|---|
members | Member | 1 | |
No fields.
| Field | Type | # | Notes |
|---|
organizations | Organization | 1 | |
No fields.
| Field | Type | # | Notes |
|---|
roles | Role | 1 | |
| Field | Type | # | Notes |
|---|
app_id | string | 1 | the destination |
resource_ids | string | 2 | |
| Field | Type | # | Notes |
|---|
moved | string | 1 | |
| Field | Type | # | Notes |
|---|
id | string | 1 | |
name | string | 2 | |
description | string | 3 | |
parent_id | string | 4 | "" moves the app to the top level |