Method: matters.holds.update
دامنه (واحد یا حسابهای سازمانی) و پارامترهای پرسوجو را بهروزرسانی میکند. نمیتوانید حسابهایی را به انباری اضافه کنید که یک واحد سازمانی را پوشش میدهد، همچنین نمیتوانید واحدهای سازمانی را به انباری اضافه کنید که حسابهای فردی را پوشش میدهد. اگر سعی کنید، مقادیر پشتیبانی نشده نادیده گرفته می شوند.
درخواست HTTP
PUT https://vault.googleapis.com/v1/matters/{matterId}/holds/{holdId}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
matterId | string شناسه موضوع |
holdId | string شناسه انبار. |
درخواست بدن
بدنه درخواست شامل یک نمونه از Hold
است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه ای از Hold
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/ediscovery
برای اطلاعات بیشتر، بهOAuth 2.0 Overview .
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-02-27 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-02-27 بهوقت ساعت هماهنگ جهانی."],[[["Updates a hold's scope (organizational unit or accounts) and query parameters, but doesn't allow mixing account and organizational unit scopes within the same hold."],["The endpoint for updating is `PUT https://vault.googleapis.com/v1/matters/{matterId}/holds/{holdId}` and requires specifying matter and hold IDs."],["The request and response bodies both utilize the `Hold` object for data transfer."],["Authorization necessitates the `https://www.googleapis.com/auth/ediscovery` OAuth scope."]]],["This document outlines the process for updating a hold via a `PUT` request to `https://vault.googleapis.com/v1/matters/{matterId}/holds/{holdId}`. The request requires `matterId` and `holdId` path parameters. The request body should contain a `Hold` instance. Upon successful update, the response body returns an updated `Hold` instance. The operation supports organizational unit or account scope updates but does not allow mixing both types in a single hold. Authorization requires the `https://www.googleapis.com/auth/ediscovery` OAuth scope.\n"]]