Method: peerings.patch

Full name: projects.locations.global.peerings.patch

Updates the labels for specified Peering.

HTTP request

PATCH https://managedidentities.googleapis.com/v1beta1/{peering.name=projects/*/locations/global/peerings/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
peering.name

string

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

Parameters
updateMask

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:

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

For more information, see the Authentication Overview.