projects
POST /v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:databaseFailover
Changed onTriggers database failover (only for highly resilient environments).
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
Database Failover Request required
Request to trigger database failover (only for highly resilient environments).
Response
Successful response
Changes
- info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/cloudcomposerwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloudcomposerwas removed from the endpoint's security schemeOauth2c
- info