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

# PATCH /v1/{+name}

`PATCH /v1/{+name}`

Updates the labels for specified Peering.

## Path parameters

- `name` string, required

## Query parameters

- `updateMask` string

## Request body

- Peering — Represents a Managed Service for Microsoft Active Directory Peering.
  - `labels` object — Optional. Resource labels to represent user-provided metadata.
  - `name` string — Output only. Unique name of the peering in this scope including projects and location using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`.
  - `domainResource` string — Required. Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: `projects/{project_id}/locations/global/domains/{domain_name}`
  - `createTime` string, google-datetime — Output only. The time the instance was created.
  - `state` 'STATE_UNSPECIFIED' | 'CREATING' | 'CONNECTED' | 'DISCONNECTED' | 'DELETING' — Output only. The current state of this Peering.
  - `statusMessage` string — Output only. Additional information about the current status of this peering, if available.
  - `authorizedNetwork` string — Required. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail.
  - `updateTime` string, google-datetime — Output only. Last update time.

## Response `200`

Successful response

---

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