返回调用方可以访问的所有账号的摘要。
HTTP 请求
GET https://analyticsadmin.googleapis.com/v1beta/accountSummaries
网址采用 gRPC 转码语法。
查询参数
| 参数 | |
|---|---|
| pageSize | 
 要返回的 AccountSummary 资源的数量上限。服务返回的数量可能小于此值,即使有其他网页也是如此。如果未指定,则最多返回 50 个资源。最大值为 200;(更高的值将被强制转换为最大值) | 
| pageToken | 
 从之前的  | 
请求正文
请求正文必须为空。
响应正文
accountSummaries.list RPC 的响应消息。
如果成功,响应正文将包含结构如下的数据:
| JSON 表示法 | 
|---|
| {
  "accountSummaries": [
    {
      object ( | 
| 字段 | |
|---|---|
| accountSummaries[] | 
 调用方有权访问的所有账号的账号摘要。 | 
| nextPageToken | 
 可作为  | 
授权范围
需要以下 OAuth 范围之一:
- https://www.googleapis.com/auth/analytics.readonly
- https://www.googleapis.com/auth/analytics.edit
AccountSummary
一个虚拟资源,用于概要显示某个账号及其所有子 Google Analytics 媒体资源。
| JSON 表示法 | 
|---|
| {
  "name": string,
  "account": string,
  "displayName": string,
  "propertySummaries": [
    {
      object ( | 
| 字段 | |
|---|---|
| name | 
 此账号摘要的资源名称。格式:accountSummaries/{account_id} 示例:“accountSummaries/1000” | 
| account | 
 此账号摘要中提及的账号的资源名称。格式:accounts/{account_id}。示例:“accounts/1000” | 
| displayName | 
 此账号摘要中提及的账号的显示名称。 | 
| propertySummaries[] | 
 此账号的子账号摘要列表。 | 
PropertySummary
表示 Google Analytics 媒体资源元数据的虚拟资源。
| JSON 表示法 | 
|---|
| {
  "property": string,
  "displayName": string,
  "propertyType": enum ( | 
| 字段 | |
|---|---|
| property | 
 此房源摘要中提及的房源的资源名称。格式:properties/{property_id}。示例:“properties/1000” | 
| displayName | 
 此媒体资源摘要中提及的媒体资源的显示名称。 | 
| propertyType | 
 媒体资源的媒体资源类型。 | 
| parent | 
 此媒体资源的逻辑父项的资源名称。 注意:您可以使用“移动媒体资源”界面更改父级。格式:accounts/{account}、properties/{property}。示例:“accounts/100”“properties/200” |