Get Saved Resource Hierarchy (GCP)
For GCP only. Get the previously saved resource hierarchy for the specified cloud account ID.
Path Parameters
- cloud_type string required
Possible values: [
gcp
]Cloud type
- account_id string required
GCP account ID
- 200
- 400
- 404
- 500
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- displayName string
To get the display name of resource, Refer List Children of Parent.
aws: List Children of Parent (AWS)
gcp: List Children of Parent (GCP). Display name is the organization name if
nodeType
is ORG - nodeType string
Possible values: [
ORG
,FOLDER
,PROJECT
,SUBSCRIPTION
,MANAGEMENT_GROUP
,TENANT
,ACCOUNT
,OU
]Member account node type. Supported values based on cloud type:
aws: ORG, OU, or ACCOUNT
gcp: ORG, FOLDER, or PROJECT
azure: SUBSCRIPTION, MANAGEMENT_GROUP, or TENANT
- resourceId string
To get the list of resource IDs and its details, Refer List Children of Parent.
aws: List Children of Parent (AWS)
- selectionType string
Possible values: [
ALL
,INCLUDE
,EXCLUDE
]Organization Member accounts Selection type.
ALL: Include the resource and all its children
INCLUDE: Include the specified resource
EXCLUDE: Exclude the specified resource
{
"displayName": "Root",
"nodeType": "ORG",
"resourceId": "root",
"selectionType": "ALL"
}
bad_request / unauthorized_access
invalid_account_id_format
internal_error