WriteControl
쓰기 요청 실행 방법을 제어할 수 있습니다. 지정하지 않으면 마지막 쓰기가 적용됩니다.
JSON 표현 |
{
// Union field control can be only one of the following:
"requiredRevisionId": string
// End of list of possible types for union field control .
} |
필드 |
통합 필드 control . 쓸 라벨의 버전 및 해당 버전이 라벨의 현재 버전이 아닌 경우 요청의 작동 방식을 결정합니다. control 은 다음 중 하나여야 합니다. |
requiredRevisionId |
string
쓰기 요청이 적용될 라벨의 [revisionId][google.apps.drive.labels.v1.Label.revision_id] 입니다. 라벨의 최신 버전이 아닌 경우 요청이 처리되지 않으며 400 잘못된 요청 오류가 표시됩니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-10-11(UTC)
[null,null,["최종 업데이트: 2024-10-11(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."]]],[]]