Pivot
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"fieldNames": [
string
],
"orderBys": [
{
object (OrderBy )
}
],
"offset": string,
"limit": string,
"metricAggregations": [
enum (MetricAggregation )
]
} |
字段 |
fieldNames[] |
string
报告响应中可见列的维度名称。包含“dateRange”会生成一个日期范围列;对于响应中的每一行,日期范围列中的维度值将表示请求中的相应日期范围。
|
orderBys[] |
object (OrderBy )
指定数据透视中维度的排序方式。在第一个数据透视中,OrderBys 确定 Row 和 PivotDimensionHeader 的排序;在后续的数据透视中,OrderBys 仅确定 PivotDimensionHeader 的排序。这些 OrderBys 中指定的维度必须是 Pivot.field_names 的子集。
|
offset |
string (int64 format)
起始行的行数。第一行计为第 0 行。
|
limit |
string (int64 format)
要在该数据透视中返回的维度值的唯一组合数。limit 为必需参数,对于单个数据透视请求,limit 通常是 10,000。 RunPivotReportRequest 中每个 pivot 的 limit 的乘积不得超过 250,000。例如,每个数据透视中含有 limit:
1000 的双数据透视请求将会失败,因为产品为 1,000,000 。
|
metricAggregations[] |
enum (MetricAggregation )
使用指定的 metricAggregations 按此数据透视中的维度对指标进行汇总。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-05-02。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]