Method: customers.patch
HTTP 要求
PATCH https://sasportal.googleapis.com/v1alpha1/{customer.name=customers/*}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
customer.name |
string
僅供輸出。客戶的資源名稱。
|
查詢參數
參數 |
updateMask |
string (FieldMask format)
要更新的欄位。 這是以半形逗號分隔的清單,當中列出所有欄位的完整名稱。範例:"user.displayName,photo" 。
|
要求主體
要求主體包含 Customer
的例項。
回應主體
如果成功,回應主體會包含 Customer
的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/sasportal
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-11-02 (世界標準時間)。
[null,null,["上次更新時間:2022-11-02 (世界標準時間)。"],[[["This operation updates an existing customer using an HTTP PATCH request."],["The request should target `https://sasportal.googleapis.com/v1alpha1/{customer.name=customers/*}` and include the customer's resource name as a path parameter."],["It's possible to specify fields to update using the `updateMask` query parameter in `FieldMask` format."],["Both the request and response bodies utilize the `Customer` object for data exchange, requiring `https://www.googleapis.com/auth/sasportal` authorization scope."]]],["The content describes updating a customer resource via a PATCH request to a specific URL endpoint. The request URL uses gRPC Transcoding syntax and includes a customer name as a path parameter. It also takes an `updateMask` query parameter specifying the fields to modify. The request body contains the `Customer` instance for update, and a successful response will also contain a `Customer` instance. The request requires `https://www.googleapis.com/auth/sasportal` authorization scope.\n"]]