Method: enterprises.patch
درخواست HTTP
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string نام شرکت به شکل enterprises/{enterpriseId} . |
پارامترهای پرس و جو
پارامترها |
---|
updateMask | string ( FieldMask format) ماسک فیلد که فیلدهایی را برای بهروزرسانی نشان میدهد. اگر تنظیم نشود، تمام فیلدهای قابل تغییر اصلاح خواهند شد. این فهرستی از نامهای فیلدهای کاملاً واجد شرایط با کاما است. مثال: "user.displayName,photo" . |
درخواست بدن
بدنه درخواست شامل یک نمونه از Enterprise
است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه ای از Enterprise
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/androidmanagement
برای اطلاعات بیشتر، بهOAuth 2.0 Overview .
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-02-19 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-02-19 بهوقت ساعت هماهنگ جهانی."],[[["This operation updates an existing enterprise using a PATCH request to the specified URL."],["You can specify fields to be updated using the `updateMask` query parameter or update all modifiable fields by leaving it unset."],["The request body should contain an `Enterprise` object with the desired modifications."],["A successful update will return the updated `Enterprise` object in the response body."],["Authorization requires the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["This outlines the process of updating an enterprise via a `PATCH` request to a specific URL: `https://androidmanagement.googleapis.com/v1/{name=enterprises/*}`. The `name` path parameter specifies the enterprise ID. The `updateMask` query parameter determines which fields to modify. The request body includes the updated `Enterprise` data, and a successful response also returns an `Enterprise` instance. The operation requires `https://www.googleapis.com/auth/androidmanagement` authorization scope.\n"]]