Allows administrators to create managed developer environments in the cloud.

- [REST Resource: v1beta.projects.locations.operations](https://docs.cloud.google.com/workstations/docs/reference/rest#v1beta.projects.locations.operations)
- [REST Resource: v1beta.projects.locations.workstationClusters](https://docs.cloud.google.com/workstations/docs/reference/rest#v1beta.projects.locations.workstationClusters)
- [REST Resource:
  v1beta.projects.locations.workstationClusters.workstationConfigs](https://docs.cloud.google.com/workstations/docs/reference/rest#v1beta.projects.locations.workstationClusters.workstationConfigs)
- [REST Resource:
  v1beta.projects.locations.workstationClusters.workstationConfigs.workstations](https://docs.cloud.google.com/workstations/docs/reference/rest#v1beta.projects.locations.workstationClusters.workstationConfigs.workstations)
- [REST Resource: v1.projects.locations](https://docs.cloud.google.com/workstations/docs/reference/rest#v1.projects.locations)
- [REST Resource: v1.projects.locations.operations](https://docs.cloud.google.com/workstations/docs/reference/rest#v1.projects.locations.operations)
- [REST Resource: v1.projects.locations.workstationClusters](https://docs.cloud.google.com/workstations/docs/reference/rest#v1.projects.locations.workstationClusters)
- [REST Resource: v1.projects.locations.workstationClusters.workstationConfigs](https://docs.cloud.google.com/workstations/docs/reference/rest#v1.projects.locations.workstationClusters.workstationConfigs)
- [REST Resource:
  v1.projects.locations.workstationClusters.workstationConfigs.workstations](https://docs.cloud.google.com/workstations/docs/reference/rest#v1.projects.locations.workstationClusters.workstationConfigs.workstations)

## Service: workstations.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

- <https://workstations.googleapis.com/$discovery/rest?version=v1>
- <https://workstations.googleapis.com/$discovery/rest?version=v1beta>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

- `https://workstations.googleapis.com`

### Regional service endpoint

A regional service endpoint is a base URL that specifies the network address of an API service in a single region. A service that is available in multiple regions might have multiple regional endpoints. Select a location to see its regional service endpoint for this service.
<button value="global" default="">global</button> <button value="asia-south1">asia-south1</button> <button value="europe-west6">europe-west6</button> <button value="us-central1">us-central1</button> <button value="us-east1">us-east1</button> <button value="us-east4">us-east4</button> <button value="us-east5">us-east5</button> <button value="us-west1">us-west1</button> <button value="us-west4">us-west4</button>   
- `https://workstations.googleapis.com`

<br />

## REST Resource: [v1beta.projects.locations.operations](https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.operations/cancel` | `POST /v1beta/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.operations/delete` | `DELETE /v1beta/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.operations/get` | `GET /v1beta/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.operations/list` | `GET /v1beta/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v1beta.projects.locations.workstationClusters](https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters/create` | `POST /v1beta/{parent=projects/*/locations/*}/workstationClusters` Creates a new workstation cluster. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters/delete` | `DELETE /v1beta/{name=projects/*/locations/*/workstationClusters/*}` Deletes the specified workstation cluster. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters/get` | `GET /v1beta/{name=projects/*/locations/*/workstationClusters/*}` Returns the requested workstation cluster. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters/list` | `GET /v1beta/{parent=projects/*/locations/*}/workstationClusters` Returns all workstation clusters in the specified location. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters/patch` | `PATCH /v1beta/{workstationCluster.name=projects/*/locations/*/workstationClusters/*}` Updates an existing workstation cluster. |

## REST Resource: [v1beta.projects.locations.workstationClusters.workstationConfigs](https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs/create` | `POST /v1beta/{parent=projects/*/locations/*/workstationClusters/*}/workstationConfigs` Creates a new workstation configuration. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs/delete` | `DELETE /v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}` Deletes the specified workstation configuration. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs/get` | `GET /v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}` Returns the requested workstation configuration. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs/getIamPolicy` | `GET /v1beta/{resource=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs/list` | `GET /v1beta/{parent=projects/*/locations/*/workstationClusters/*}/workstationConfigs` Returns all workstation configurations in the specified cluster. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs/listUsable` | `GET /v1beta/{parent=projects/*/locations/*/workstationClusters/*}/workstationConfigs:listUsable` Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs/patch` | `PATCH /v1beta/{workstationConfig.name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}` Updates an existing workstation configuration. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs/setIamPolicy` | `POST /v1beta/{resource=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs/testIamPermissions` | `POST /v1beta/{resource=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v1beta.projects.locations.workstationClusters.workstationConfigs.workstations](https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/create` | `POST /v1beta/{parent=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}/workstations` Creates a new workstation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/delete` | `DELETE /v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}` Deletes the specified workstation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/generateAccessToken` | `POST /v1beta/{workstation=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:generateAccessToken` Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/get` | `GET /v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}` Returns the requested workstation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/getIamPolicy` | `GET /v1beta/{resource=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/list` | `GET /v1beta/{parent=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}/workstations` Returns all Workstations using the specified workstation configuration. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/listUsable` | `GET /v1beta/{parent=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}/workstations:listUsable` Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/patch` | `PATCH /v1beta/{workstation.name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}` Updates an existing workstation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/pushCredentials` | `POST /v1beta/{workstation=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:pushCredentials` Pushes credentials to a running workstation on behalf of a user. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/setIamPolicy` | `POST /v1beta/{resource=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/start` | `POST /v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:start` Starts running a workstation so that users can connect to it. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/stop` | `POST /v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:stop` Stops running a workstation, reducing costs. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/suspend` | `POST /v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:suspend` Suspends a workstation to reduce costs. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations/testIamPermissions` | `POST /v1beta/{resource=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v1.projects.locations](https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations/get` | `GET /v1/{name=projects/*/locations/*}` Gets information about a location. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations/list` | `GET /v1/{name=projects/*}/locations` Lists information about the supported locations for this service. |

## REST Resource: [v1.projects.locations.operations](https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.operations/cancel` | `POST /v1/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.operations/delete` | `DELETE /v1/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.operations/get` | `GET /v1/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.operations/list` | `GET /v1/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v1.projects.locations.workstationClusters](https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters/create` | `POST /v1/{parent=projects/*/locations/*}/workstationClusters` Creates a new workstation cluster. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters/delete` | `DELETE /v1/{name=projects/*/locations/*/workstationClusters/*}` Deletes the specified workstation cluster. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters/get` | `GET /v1/{name=projects/*/locations/*/workstationClusters/*}` Returns the requested workstation cluster. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters/list` | `GET /v1/{parent=projects/*/locations/*}/workstationClusters` Returns all workstation clusters in the specified location. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters/patch` | `PATCH /v1/{workstationCluster.name=projects/*/locations/*/workstationClusters/*}` Updates an existing workstation cluster. |

## REST Resource: [v1.projects.locations.workstationClusters.workstationConfigs](https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs/create` | `POST /v1/{parent=projects/*/locations/*/workstationClusters/*}/workstationConfigs` Creates a new workstation configuration. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs/delete` | `DELETE /v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}` Deletes the specified workstation configuration. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs/get` | `GET /v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}` Returns the requested workstation configuration. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs/getIamPolicy` | `GET /v1/{resource=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs/list` | `GET /v1/{parent=projects/*/locations/*/workstationClusters/*}/workstationConfigs` Returns all workstation configurations in the specified cluster. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs/listUsable` | `GET /v1/{parent=projects/*/locations/*/workstationClusters/*}/workstationConfigs:listUsable` Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs/patch` | `PATCH /v1/{workstationConfig.name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}` Updates an existing workstation configuration. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v1.projects.locations.workstationClusters.workstationConfigs.workstations](https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/create` | `POST /v1/{parent=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}/workstations` Creates a new workstation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/delete` | `DELETE /v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}` Deletes the specified workstation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/generateAccessToken` | `POST /v1/{workstation=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:generateAccessToken` Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/get` | `GET /v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}` Returns the requested workstation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/getIamPolicy` | `GET /v1/{resource=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/list` | `GET /v1/{parent=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}/workstations` Returns all Workstations using the specified workstation configuration. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/listUsable` | `GET /v1/{parent=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}/workstations:listUsable` Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/patch` | `PATCH /v1/{workstation.name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}` Updates an existing workstation. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/start` | `POST /v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:start` Starts running a workstation so that users can connect to it. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/stop` | `POST /v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:stop` Stops running a workstation, reducing costs. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/suspend` | `POST /v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:suspend` Suspends a workstation to reduce costs. |
| `https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs.workstations/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |