获取 UserList。
授权标头:
此方法支持以下可选标头,用于定义 API 如何授权对请求的访问权限:
login-account:(可选)凭据的 Google 账号是用户的账号的资源名称。如果未设置,则默认为请求的账号。格式:accountTypes/{loginAccountType}/accounts/{loginAccountId}linked-account:(可选)与login-account建立了产品关联的账号的资源名称。格式:accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
HTTP 请求
GET https://datamanager.googleapis.com/v1/{name=accountTypes/*/accounts/*/userLists/*}
网址采用 gRPC 转码语法。
路径参数
| 参数 | |
|---|---|
name |
必需。要检索的 UserList 的资源名称。格式:accountTypes/{accountType}/accounts/{account}/userLists/{userList} |
请求正文
请求正文必须为空。
响应正文
如果成功,则响应正文包含一个 UserList 实例。
授权范围
需要以下 OAuth 作用域:
https://www.googleapis.com/auth/datamanager