列出指定機構和位置中的 SecurityProfile。
HTTP 要求
GET https://networksecurity.googleapis.com/v1beta1/{parent=organizations/*/locations/*}/securityProfiles
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
parent |
這是必要旗標,應列出 SecurityProfiles 的專案或機構和位置,格式為 |
查詢參數
| 參數 | |
|---|---|
pageSize |
每個呼叫傳回的 SecurityProfile 數量上限。 |
pageToken |
最後一個 |
要求主體
要求主體必須為空白。
回應主體
securityProfiles.list 方法傳回的回應。
如果成功,回應主體會含有以下結構的資料:
| JSON 表示法 |
|---|
{
"securityProfiles": [
{
object ( |
| 欄位 | |
|---|---|
securityProfiles[] |
SecurityProfile 資源清單。 |
nextPageToken |
如果結果可能比此回應中顯示的結果多,就會加入 |
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/cloud-platform
詳情請參閱驗證總覽一文。