addedInput schema / properties / request_body
Added value: +{
+ "description": "Request body of type BatchRunPivotReportsRequest: pass it via `params` (merged into the built body) or whole via `body_file`.",
+ "properties": {
+ "requests": {
+ "items": {
+ "properties": {
+ "cohortSpec": {
+ "properties": {
+ "cohortReportSettings": {
+ "properties": {
+ "accumulate": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "cohorts": {
+ "items": {
+ "properties": {
+ "dateRange": {
+ "type": "object"
+ },
+ "dimension": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "cohortsRange": {
+ "properties": {
+ "endOffset": {
+ "type": "integer"
+ },
+ "granularity": {
+ "enum": [
+ "GRANULARITY_UNSPECIFIED",
+ "DAILY",
+ "WEEKLY",
+ "MONTHLY"
+ ],
+ "type": "string"
+ },
+ "startOffset": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "comparisons": {
+ "items": {
+ "properties": {
+ "comparison": {
+ "type": "string"
+ },
+ "dimensionFilter": {
+ "properties": {
+ "andGroup": {
+ "type": "object"
+ },
+ "filter": {
+ "type": "object"
+ },
+ "notExpression": {
+ "type": "object"
+ },
+ "orGroup": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "currencyCode": {
+ "type": "string"
+ },
+ "dateRanges": {
+ "items": {
+ "properties": {
+ "endDate": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "startDate": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "dimensionFilter": {
+ "properties": {
+ "andGroup": {
+ "properties": {
+ "expressions": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "filter": {
+ "properties": {
+ "betweenFilter": {
+ "type": "object"
+ },
+ "emptyFilter": {
+ "type": "object"
+ },
+ "fieldName": {
+ "type": "string"
+ },
+ "inListFilter": {
+ "type": "object"
+ },
+ "numericFilter": {
+ "type": "object"
+ },
+ "stringFilter": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "notExpression": {
+ "properties": {
+ "andGroup": {
+ "type": "object"
+ },
+ "filter": {
+ "type": "object"
+ },
+ "notExpression": {
+ "type": "object"
+ },
+ "orGroup": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "orGroup": {
+ "properties": {
+ "expressions": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "dimensions": {
+ "items": {
+ "properties": {
+ "dimensionExpression": {
+ "properties": {
+ "concatenate": {
+ "type": "object"
+ },
+ "lowerCase": {
+ "type": "object"
+ },
+ "upperCase": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "keepEmptyRows": {
+ "type": "boolean"
+ },
+ "metricFilter": {
+ "properties": {
+ "andGroup": {
+ "properties": {
+ "expressions": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "filter": {
+ "properties": {
+ "betweenFilter": {
+ "type": "object"
+ },
+ "emptyFilter": {
+ "type": "object"
+ },
+ "fieldName": {
+ "type": "string"
+ },
+ "inListFilter": {
+ "type": "object"
+ },
+ "numericFilter": {
+ "type": "object"
+ },
+ "stringFilter": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "notExpression": {
+ "properties": {
+ "andGroup": {
+ "type": "object"
+ },
+ "filter": {
+ "type": "object"
+ },
+ "notExpression": {
+ "type": "object"
+ },
+ "orGroup": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "orGroup": {
+ "properties": {
+ "expressions": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "metrics": {
+ "items": {
+ "properties": {
+ "expression": {
+ "type": "string"
+ },
+ "invisible": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "pivots": {
+ "items": {
+ "properties": {
+ "fieldNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "limit": {
+ "type": "string"
+ },
+ "metricAggregations": {
+ "items": {
+ "enum": [
+ "METRIC_AGGREGATION_UNSPECIFIED",
+ "TOTAL",
+ "MINIMUM",
+ "MAXIMUM",
+ "COUNT"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "offset": {
+ "type": "string"
+ },
+ "orderBys": {
+ "items": {
+ "properties": {
+ "desc": {
+ "type": "boolean"
+ },
+ "dimension": {
+ "type": "object"
+ },
+ "metric": {
+ "type": "object"
+ },
+ "pivot": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "property": {
+ "type": "string"
+ },
+ "returnPropertyQuota": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+}