# WriteControl

- [JSON representation](https://developers.google.com/workspace/drive/labels/reference/rest/v2beta/WriteControl#SCHEMA_REPRESENTATION)

Provides control over how write requests are executed. When not specified, the last write wins.

| JSON representation |
|---|
| ``` { "requiredRevisionId": string } ``` |

| Fields ||
|---|---|
| Union field `control`. Determines the revision of the label to write to and how the request should behave if that revision is not the current revision of the label. `control` can be only one of the following: ||
| `requiredRevisionId` | `string` The \[revisionId\]\[google.apps.drive.labels.v1.Label.revision_id\] of the label that the write request will be applied to. If this is not the latest revision of the label, the request will not be processed and will return a 400 Bad Request error. |