Method: settings.updateCustomer
更新客戶設定。
注意:您必須擁有管理員帳戶才能執行這個 API。
HTTP 要求
PATCH https://cloudsearch.googleapis.com/v1/settings/customer
這個網址使用 gRPC 轉碼語法。
查詢參數
參數 |
updateMask |
string (FieldMask format)
更新遮罩來控制要更新的欄位。如果您在 updateMask 中指定欄位,但未在此指定值,系統會清除該欄位。如果沒有遮罩或空白,系統會更新所有欄位。目前支援的欄位路徑:vpcSettings 和 auditLoggingSettings 此為以半形逗號分隔的完整欄位名稱清單。範例:"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
詳情請參閱授權指南。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-03 (世界標準時間)。
[null,null,["上次更新時間:2024-09-03 (世界標準時間)。"],[[["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`."]]],[]]