Updates tags directly bound to a GCP resource.
HTTP request
POST https://gkebackup.googleapis.com/v1/{name=projects/*/locations/*/restorePlans/*}:setTags The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The full resource name of the service resource. |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "tags": { string: string, ... }, "requestId": string, "etag": string } |
| Fields | |
|---|---|
tags |
Required. These bindings will override any bindings previously set and will be effective immediately. Each item in the map must be expressed as " An object containing a list of |
requestId |
Optional. A unique identifier for this request. Must be a valid UUID. This request is only idempotent if a |
etag |
Optional. A checksum based on the current bindings which can be passed to prevent race conditions. If not passed, etag check would be skipped. |
Response body
If successful, the response body contains an instance of SetTagsResponse.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.