Provides control over how write requests are executed. When not specified, the last write wins.
JSON representation
{// Union field control can be only one of the following:"requiredRevisionId": string// End of list of possible types for union field control.}
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-04 UTC."],[[["This documentation describes how to control write request behavior for Google Drive labels using JSON."],["You can specify a `requiredRevisionId` to ensure your write request only applies to a specific revision of the label."],["If `requiredRevisionId` doesn't match the latest label revision, the request will be rejected with a 400 Bad Request error."],["When no control is specified, the last write operation will be the one that is applied (\"last write wins\")."]]],[]]