---
title: "POST /v1/{+name}:setManagement"
method: POST
path: "/v1/{+name}:setManagement"
tags: ["projects"]
---

# POST /v1/{+name}:setManagement

`POST /v1/{+name}:setManagement`

Sets the NodeManagement options for a node pool.

## Path parameters

- `name` string, required

## Request body

- SetNodePoolManagementRequest — SetNodePoolManagementRequest sets the node management properties of a node pool.
  - `projectId` string — Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.
  - `clusterId` string — Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
  - `name` string — The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
  - `zone` string — Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
  - `management` NodeManagement — NodeManagement defines the set of node management services turned on for the node pool.
    - `autoRepair` boolean — A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.
    - `upgradeOptions` AutoUpgradeOptions — AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.
      - `autoUpgradeStartTime` string — Output only. This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      - `description` string — Output only. This field is set when upgrades are about to commence with the description of the upgrade.
    - `autoUpgrade` boolean — A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.
  - `nodePoolId` string — Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/container.md) · [All operations](https://skmtc.net/google/apis/container/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/container/versions/f20e7f9e2240/schema)
