v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1364261347.5 KB
projects

Enables or disables the ABAC authorization mechanism on a cluster.

post/v1/{+name}:setLegacyAbac

Path parameters

namestring required

The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format projects/*/locations/*/clusters/*.

Request body

projectIdstring

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

clusterIdstring

Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.

namestring

The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format projects/*/locations/*/clusters/*.

enabledboolean

Required. Whether ABAC authorization will be enabled in the cluster.

zonestring

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

Response

Successful response