WriteControl
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-04 UTC.
[null,null,["Last updated 2024-09-04 UTC."],[[["Provides control over how write requests to the label are executed, defaulting to \"last write wins\" if unspecified."],["Uses JSON representation to define the control type, which can be a required revision ID."],["`requiredRevisionId` specifies the target revision for the write request, returning a 400 error if it's not the latest."]]],[]]