Replaces all the labels of an Instance.
HTTP request
PATCH https://notebooks.googleapis.com/v1/{name}:setLabels
Path parameters
Parameters | |
---|---|
name |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "labels": { string: string, ... } } |
Fields | |
---|---|
labels |
Labels to apply to this instance. These can be later modified by the setLabels method An object containing a list of |
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.