Method: deployments.devices.patch
HTTP リクエスト
PATCH https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
device.name |
string
出力のみ。リソースパス名。
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
更新するフィールド。 これは、完全修飾されたフィールド名のカンマ区切りリストです。(例: "user.displayName,photo" )。
|
リクエストの本文
リクエストの本文には Device
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には Device
のインスタンスが含まれます。
認証スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/sasportal
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-11-02 UTC。
[null,null,["最終更新日 2022-11-02 UTC。"],[[["Updates an existing device within a deployment using an HTTP PATCH request."],["The request must target a specific device using its resource path in the URL."],["You can specify fields to update with the `updateMask` query parameter using FieldMask format."],["The request body should contain the updated device details in the Device object format, and the response will return the updated device if successful."],["Requires the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization."]]],["This document details the process of updating a device via a `PATCH` request to a specific URL: `https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}`. The `device.name` is a required path parameter. Optional updates are specified using the `updateMask` query parameter. The request body must contain a `Device` instance. A successful operation returns a `Device` instance in the response body. This operation requires the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization.\n"]]