Method: projects.locations.securityProfiles.list

列出给定项目和位置中的 SecurityProfile。

HTTP 请求

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

网址采用 gRPC 转码语法。

路径参数

参数
parent

string

必需。应列出 SecurityProfiles 的项目或组织和位置,以 projects|organizations/*/locations/{location} 格式指定。

查询参数

参数
pageSize

integer

每次调用返回的 SecurityProfile 数量上限。

pageToken

string

最后一个 ListSecurityProfilesResponse 返回的值表示这是之前的 securityProfiles.list 调用的延续,并且系统应返回下一页数据。

请求正文

请求正文必须为空。

响应正文

如果成功,则响应正文包含一个 ListSecurityProfilesResponse 实例。

授权范围

需要以下 OAuth 范围:

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

如需了解详情,请参阅身份验证概览