Method: folders.locations.securityCenterServices.list

返回指定父级的所有安全控制台服务的列表。

HTTP 请求

GET https://securitycentermanagement.googleapis.com/v1/{parent=folders/*/locations/*}/securityCenterServices

网址采用 gRPC 转码语法。

路径参数

参数
parent

string

必需。要列出 Security Command Center 服务的父级的名称,格式应为以下任一格式:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}

查询参数

参数
pageSize

integer

可选。单个响应中返回的结果数上限。默认值为 10,最小值为 1,最大值为 1000。

pageToken

string

可选。上一个请求返回的分页令牌。提供此令牌可检索下一页结果。

进行分页时,请求的其余部分必须与生成页面令牌的请求一致。

showEligibleModulesOnly

boolean

此标志在设置后用于过滤显示的模块设置。默认设置为显示所有模块。

请求正文

请求正文必须为空。

响应正文

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

授权范围

需要以下 OAuth 范围:

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

如需了解详情,请参阅 Authentication Overview

IAM 权限

需要拥有 parent 资源的以下 IAM 权限:

  • securitycentermanagement.securityCenterServices.list

如需了解详情,请参阅 IAM 文档