Method: enterprises.patch
HTTP-запрос
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
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 "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-02-19 UTC.
[null,null,["Последнее обновление: 2025-02-19 UTC."],[[["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"]]