Method: projects.locations.nodes.patch

Updates the configurations of a node.

HTTP request

PATCH https://tpu.googleapis.com/v2/{node.name=projects/*/locations/*/nodes/*}

The URL usesgRPC Transcoding syntax.

Path parameters

Parameters
node.name

string

Output only. Immutable. The name of the TPU.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. Mask of fields from [Node][Tpu.Node] to update. Supported fields: [description, tags, labels, metadata, networkConfig.enable_external_ips].

This is a comma-separated list of fully qualified names of fields. Example:"user.displayName,photo".

Request body

The request body contains an instance ofNode.

Response body

If successful, the response body contains an instance ofOperation.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud.tpu
  • https://www.googleapis.com/auth/cloud-platform

For more information, see theAuthentication Overview.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-17 UTC.