---
title: "PATCH /v3/{+name}"
method: PATCH
path: "/v3/{+name}"
tags: ["locations"]
---

# PATCH /v3/{+name}

`PATCH /v3/{+name}`

Updates tag bindings directly attached to a GCP resource. Update_mask can be kept empty or "*".

## Path parameters

- `name` string, required

## Query parameters

- `updateMask` string
- `validateOnly` boolean

## Request body

- TagBindingCollection — Represents a collection of tags directly bound to a GCP resource.
  - `fullResourceName` string — The full resource name of the resource the TagBindings are bound to. E.g. `//cloudresourcemanager.googleapis.com/projects/123`
  - `etag` string — Optional. A checksum based on the current bindings which can be passed to prevent race conditions. This field is always set in server responses.
  - `name` string — Identifier. The name of the TagBindingCollection, following the convention: `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to. "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123"
  - `tags` object — Tag keys/values directly bound to this resource, specified in namespaced format. For example: "123/environment": "production"

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/cloudresourcemanager.md) · [All operations](https://skmtc.dev/google/apis/cloudresourcemanager/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/cloudresourcemanager/revisions/3d76e8caf96a/schema)
