Cloud Composer 1 is in the post-maintenance mode. Google
does not release any further updates to Cloud Composer 1, including new versions of Airflow, bugfixes, and security updates. We recommend planning
migration to Cloud Composer 2 .
Send feedback
Method: projects.locations.environments.list
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
GET https://composer.googleapis.com/v1/{parent=projects/*/locations/*}/environments
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters
parent
string
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 parent
:
composer.environments.list
Query parameters
Parameters
pageSize
integer
The maximum number of environments to return.
pageToken
string
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 (Environment
)
}
] ,
"nextPageToken" : string
}
Fields
environments[]
object (Environment
)
The list of environments returned by a ListEnvironmentsRequest.
nextPageToken
string
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 .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-24 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-06-24 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-24 UTC."]]