List Projects of Parent (GCP)
For GCP only. List all the child projects of the given parent. A parent can be an organization resource or a folder resource.
The request body parameter is the content of the Service Account Key (JSON) file, which is required.
Path Parameters
- cloud_type string required
Possible values: [
gcp
]Cloud type
- parent_id string required
GCP parent ID
Query Parameters
- nextPageToken string
Token to request next page of projects
- pageSize int32
Page size. Valid range is 1-300 inclusive. A page size of 0 returns a nextPageToken but no projects.
- parentType string required
Possible values: [
folders
,organizations
]Parent type
- application/json
Request Body required
Service Account Key (JSON) file content
property name*
object
Responses
- 200
- 400
- 500
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- displayName string
Display name
- hasChild boolean
true = Has child
- id string
Node ID
- parent string
Parent
- type string
Possible values: [
ORG
,FOLDER
,PROJECT
,SUBSCRIPTION
,MANAGEMENT_GROUP
,TENANT
,ACCOUNT
,OU
]Node type
{
"displayName": "string",
"hasChild": true,
"id": "string",
"parent": "string",
"type": "ORG"
}
bad_request / unauthorized_access
internal_error
Loading...