- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
List environments.
HTTP request
GET https://composer.googleapis.com/v1/{parent=projects/*/locations/*}/environments
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 List environments in the given project and location, in the form: "projects/{projectId}/locations/{locationId}" Authorization requires the following IAM permission on the specified resource  
 | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 The maximum number of environments to return. | 
| pageToken | 
 The nextPageToken value returned from a previous List request, if any. | 
Request body
The request body must be empty.
Response body
The environments in a project and location.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "environments": [
    {
      object ( | 
| Fields | |
|---|---|
| environments[] | 
 The list of environments returned by a ListEnvironmentsRequest. | 
| nextPageToken | 
 The page token used to query for the next page if one exists. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.