Method: globalForwardingRules.setLabels

Sets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation.

HTTP request

POST https://compute.googleapis.com/compute/v1/projects/{project}/global/forwardingRules/{resourceId}/setLabels

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Project ID for this request.

resourceId

string

Name or id of the resource for this request.

Request body

The request body contains data with the following structure:

JSON representation
{
  "labels": {
    string: string,
    ...
  },
  "labelFingerprint": string
}
Field