Method: customers.patch
คำขอ HTTP
PATCH https://sasportal.googleapis.com/v1alpha1/{customer.name=customers/*}
URL ใช้ไวยากรณ์ gRPC Transcoding
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
customer.name |
string
เอาต์พุตเท่านั้น ชื่อทรัพยากรของลูกค้า
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
updateMask |
string (FieldMask format)
ช่องที่จะอัปเดต ซึ่งเป็นรายการช่องชื่อที่สมบูรณ์ในตัวเองและคั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ Customer
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Customer
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต 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"],[[["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"]]