Method: settings.updateCustomer
อัปเดตการตั้งค่าของลูกค้า
หมายเหตุ: API นี้ต้องใช้บัญชีผู้ดูแลระบบจึงจะดำเนินการได้
คำขอ HTTP
PATCH https://cloudsearch.googleapis.com/v1/settings/customer
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์การค้นหา
พารามิเตอร์ |
updateMask |
string (FieldMask format)
อัปเดตมาสก์เพื่อควบคุมว่าจะอัปเดตช่องใดบ้าง หากคุณระบุช่องในupdateMask แต่ไม่ได้ระบุค่าที่นี่ ระบบจะล้างช่องนั้น หากไม่มีมาสก์หรือเว้นว่างไว้ ระบบจะอัปเดตทุกช่อง เส้นทางฟิลด์ที่รองรับในปัจจุบัน: vpcSettings และauditLrunningSettings ซึ่งเป็นรายการชื่อฟิลด์ที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ CustomerSettings
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Operation
ขอบเขตการให้สิทธิ์
ต้องมีขอบเขต OAuth อย่างใดอย่างหนึ่งต่อไปนี้
https://www.googleapis.com/auth/cloud_search.settings.indexing
https://www.googleapis.com/auth/cloud_search.settings
https://www.googleapis.com/auth/cloud_search
โปรดดูข้อมูลเพิ่มเติมที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-03 UTC
[null,null,["อัปเดตล่าสุด 2024-09-03 UTC"],[[["This API updates customer settings, requiring an admin account and using a PATCH request to `https://cloudsearch.googleapis.com/v1/settings/customer`."],["You can control which fields are updated with the `updateMask` query parameter, providing a comma-separated list of field paths."],["The request body should contain an instance of `CustomerSettings`, while a successful response will include an `Operation` object."],["Authorization requires one of the following OAuth scopes: `https://www.googleapis.com/auth/cloud_search.settings.indexing`, `https://www.googleapis.com/auth/cloud_search.settings`, or `https://www.googleapis.com/auth/cloud_search`."]]],[]]