Method: enterprises.devices.patch
HTTP リクエスト
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
デバイスの名前(enterprises/{enterpriseId}/devices/{deviceId} 形式)。
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
更新するフィールドを示すフィールド マスク。設定しない場合、変更可能なすべてのフィールドが変更されます。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo" 。
|
リクエストの本文
リクエストの本文には Device
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には Device
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidmanagement
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-13 UTC。
[null,null,["最終更新日 2025-01-13 UTC。"],[[["Updates a device using an HTTP PATCH request to a specific URL with required path and optional query parameters."],["Requires `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization."],["Request and response bodies utilize the `Device` object for data transfer."],["Path parameters specify the enterprise and device, while query parameters allow for selective field updates using a field mask."],["You can find more details about the `Device` object and authorization in the provided links."]]],[]]