POST /v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy
Changed onSets the maintenance policy for a cluster.
Request
- Base URLhttps://container.googleapis.com
- URLhttps://container.googleapis.com/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy
- Auth
- OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/cloud-platformAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/containerAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/container
Path parameters
Required. The Google Developers Console project ID or project number.
Required. The name of the Google Compute Engine zone in which the cluster resides.
Required. The name of the cluster to update.
Request body
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/containerwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/containerwas removed from the endpoint's security schemeOauth2c
- info
- 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/containerwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/containerwas removed from the endpoint's security schemeOauth2c
- info