Method: enterprises.policies.patch
HTTP リクエスト
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*/policies/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
ポリシーの名前(enterprises/{enterpriseId}/policies/{policyId} の形式)。
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
更新するフィールドを示すフィールド マスク。設定しない場合、変更可能なすべてのフィールドが変更されます。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo" 。
|
リクエストの本文
リクエストの本文には Policy
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には Policy
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidmanagement
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-30 UTC。
[null,null,["最終更新日 2025-01-30 UTC。"],[[["This operation updates or creates an enterprise policy using a PATCH request to the specified URL."],["The request must include path and query parameters to identify the target policy and specify fields to update."],["Both request and response bodies utilize the `Policy` object for data transfer."],["Authorization requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope."]]],[]]