Method: customers.enterprise.securityInsights.enable

為客戶啟用洞察資料,並設定必要的 Chrome 連接器。

HTTP 要求

POST https://chromemanagement.googleapis.com/v1/{customer=customers/*}/enterprise/securityInsights:enable

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
customer

string

必填。要啟用洞察資料的客戶。格式:customers/{customer}

要求主體

要求主體會包含結構如下的資料:

JSON 表示法
{
  "targetOus": [
    string
  ]
}
欄位
targetOus[]

string

(選用步驟) 要為哪些機構單位設定必要連接器。機構單位會以相對於根目錄的路徑提供。如未設定這個欄位,系統會在根機構單位設定連接器 (如同設為「/」)。範例:["/corp/sales", "/eng"]

回應主體

為顧客啟用洞察資料後的回應。

如果成功,回應主體會含有以下結構的資料:

JSON 表示法
{
  "insightsState": enum (InsightsEnablementState)
}
欄位
insightsState

enum (InsightsEnablementState)

洞察功能的狀態。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/chrome.management.securityinsights