Method: peerings.patch

Full name:

Updates the labels for specified Peering.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Output only. Unique name of the peering in this scope including projects and location using the form: projects/{projectId}/locations/global/peerings/{peeringId}.

Query parameters


string (FieldMask format)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Peering: * labels

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

Authorization requires the following IAM permission on the specified resource updateMask:

  • managedidentities.peerings.update

Request body

The request body contains an instance of Peering.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.