projects
POST /v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:hibernate
Changed onHibernates (pauses) a running environment. It requests the environment to switch to the HIBERNATED state, keeping its data and minimizing cost, but not running any DAGs. This method is supported for Cloud Composer environments in development mode in versions composer-3-airflow-..-build. and newer.
Request
- Base URLhttps://composer.googleapis.com
- Auth
- OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloudcomposerAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloudcomposer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectsIdstring required
locationsIdstring required
environmentsIdstring required
Request body
Hibernate Environment Request required
Request to hibernate a Composer environment.
Response
Successful response
Changes
- info
endpoint added
- info