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
書き込みリクエストが適用されるラベルのリビジョン ID。これがラベルの最新のリビジョンでない場合、リクエストは処理されず、400 Bad Request エラーが返されます。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-05 UTC。
[null,null,["最終更新日 2025-08-05 UTC。"],[],[],null,["# WriteControl\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nProvides control over how write requests are executed. When not specified, the last write wins.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `control` can be only one of the following: \"requiredRevisionId\": string // End of list of possible types for union field `control`. } ``` |\n\n| Fields ||\n|----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `control`. Determines the revision of the label to write to and how the request should behave if that revision isn't the current revision of the label. `control` can be only one of the following: ||\n| `requiredRevisionId` | `string` The revision ID of the label that the write request will be applied to. If this isn't the latest revision of the label, the request will not be processed and will return a 400 Bad Request error. |"]]