Skip to content

Commit 25d32c8

Browse files
committed
compile protos and upload the generated json file
1 parent b92e492 commit 25d32c8

File tree

1 file changed

+140
-0
lines changed

1 file changed

+140
-0
lines changed

packages/firestore/src/protos/protos.json

+140
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,15 @@
919919
"ruby_package": "Google::Cloud::Firestore::V1"
920920
},
921921
"nested": {
922+
"AggregationResult": {
923+
"fields": {
924+
"aggregateFields": {
925+
"keyType": "string",
926+
"type": "Value",
927+
"id": 2
928+
}
929+
}
930+
},
922931
"DocumentMask": {
923932
"fields": {
924933
"fieldPaths": {
@@ -1269,6 +1278,29 @@
12691278
}
12701279
]
12711280
},
1281+
"RunAggregationQuery": {
1282+
"requestType": "RunAggregationQueryRequest",
1283+
"responseType": "RunAggregationQueryResponse",
1284+
"responseStream": true,
1285+
"options": {
1286+
"(google.api.http).post": "/v1/{parent=projects/*/databases/*/documents}:runAggregationQuery",
1287+
"(google.api.http).body": "*",
1288+
"(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/databases/*/documents/*/**}:runAggregationQuery",
1289+
"(google.api.http).additional_bindings.body": "*"
1290+
},
1291+
"parsedOptions": [
1292+
{
1293+
"(google.api.http)": {
1294+
"post": "/v1/{parent=projects/*/databases/*/documents}:runAggregationQuery",
1295+
"body": "*",
1296+
"additional_bindings": {
1297+
"post": "/v1/{parent=projects/*/databases/*/documents/*/**}:runAggregationQuery",
1298+
"body": "*"
1299+
}
1300+
}
1301+
}
1302+
]
1303+
},
12721304
"PartitionQuery": {
12731305
"requestType": "PartitionQueryRequest",
12741306
"responseType": "PartitionQueryResponse",
@@ -1760,6 +1792,63 @@
17601792
}
17611793
}
17621794
},
1795+
"RunAggregationQueryRequest": {
1796+
"oneofs": {
1797+
"queryType": {
1798+
"oneof": [
1799+
"structuredAggregationQuery"
1800+
]
1801+
},
1802+
"consistencySelector": {
1803+
"oneof": [
1804+
"transaction",
1805+
"newTransaction",
1806+
"readTime"
1807+
]
1808+
}
1809+
},
1810+
"fields": {
1811+
"parent": {
1812+
"type": "string",
1813+
"id": 1,
1814+
"options": {
1815+
"(google.api.field_behavior)": "REQUIRED"
1816+
}
1817+
},
1818+
"structuredAggregationQuery": {
1819+
"type": "StructuredAggregationQuery",
1820+
"id": 2
1821+
},
1822+
"transaction": {
1823+
"type": "bytes",
1824+
"id": 4
1825+
},
1826+
"newTransaction": {
1827+
"type": "TransactionOptions",
1828+
"id": 5
1829+
},
1830+
"readTime": {
1831+
"type": "google.protobuf.Timestamp",
1832+
"id": 6
1833+
}
1834+
}
1835+
},
1836+
"RunAggregationQueryResponse": {
1837+
"fields": {
1838+
"result": {
1839+
"type": "AggregationResult",
1840+
"id": 1
1841+
},
1842+
"transaction": {
1843+
"type": "bytes",
1844+
"id": 2
1845+
},
1846+
"readTime": {
1847+
"type": "google.protobuf.Timestamp",
1848+
"id": 3
1849+
}
1850+
}
1851+
},
17631852
"PartitionQueryRequest": {
17641853
"oneofs": {
17651854
"queryType": {
@@ -2296,6 +2385,57 @@
22962385
}
22972386
}
22982387
},
2388+
"StructuredAggregationQuery": {
2389+
"oneofs": {
2390+
"queryType": {
2391+
"oneof": [
2392+
"structuredQuery"
2393+
]
2394+
}
2395+
},
2396+
"fields": {
2397+
"structuredQuery": {
2398+
"type": "StructuredQuery",
2399+
"id": 1
2400+
},
2401+
"aggregations": {
2402+
"rule": "repeated",
2403+
"type": "Aggregation",
2404+
"id": 3
2405+
}
2406+
},
2407+
"nested": {
2408+
"Aggregation": {
2409+
"oneofs": {
2410+
"operator": {
2411+
"oneof": [
2412+
"count"
2413+
]
2414+
}
2415+
},
2416+
"fields": {
2417+
"count": {
2418+
"type": "Count",
2419+
"id": 1
2420+
},
2421+
"alias": {
2422+
"type": "string",
2423+
"id": 7
2424+
}
2425+
},
2426+
"nested": {
2427+
"Count": {
2428+
"fields": {
2429+
"upTo": {
2430+
"type": "int32",
2431+
"id": 1
2432+
}
2433+
}
2434+
}
2435+
}
2436+
}
2437+
}
2438+
},
22992439
"Cursor": {
23002440
"fields": {
23012441
"values": {

0 commit comments

Comments
 (0)