Stops running a workstation, reducing costs.
HTTP request
POST https://workstations.googleapis.com/v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:stop
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Name of the workstation to stop. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "validateOnly": boolean, "etag": string } |
Fields | |
---|---|
validate |
Optional. If set, validate the request and preview the review, but do not actually apply it. |
etag |
Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. |
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.