Method: organizations.locations.securityProfiles.list

列出指定機構和位置中的 SecurityProfile。

HTTP 要求

GET https://networksecurity.googleapis.com/v1beta1/{parent=organizations/*/locations/*}/securityProfiles

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

路徑參數

參數
parent

string

這是必要旗標,應列出 SecurityProfiles 的專案或機構和位置,格式為 projects|organizations/*/locations/{location}

查詢參數

參數
pageSize

integer

每個呼叫傳回的 SecurityProfile 數量上限。

pageToken

string

最後一個 ListSecurityProfilesResponse 傳回的值表示這是先前 securityProfiles.list 呼叫的後續動作,系統應傳回下一頁的資料。

要求主體

要求主體必須為空白。

回應主體

securityProfiles.list 方法傳回的回應。

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

JSON 表示法
{
  "securityProfiles": [
    {
      object (SecurityProfile)
    }
  ],
  "nextPageToken": string
}
欄位
securityProfiles[]

object (SecurityProfile)

SecurityProfile 資源清單。

nextPageToken

string

如果結果可能比此回應中顯示的結果多,就會加入 nextPageToken。如要取得下一組結果,請使用 nextPageToken 的值 (pageToken) 再次呼叫此方法。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/cloud-platform

詳情請參閱驗證總覽一文。