|
919 | 919 | "ruby_package": "Google::Cloud::Firestore::V1"
|
920 | 920 | },
|
921 | 921 | "nested": {
|
| 922 | + "AggregationResult": { |
| 923 | + "fields": { |
| 924 | + "aggregateFields": { |
| 925 | + "keyType": "string", |
| 926 | + "type": "Value", |
| 927 | + "id": 2 |
| 928 | + } |
| 929 | + } |
| 930 | + }, |
922 | 931 | "DocumentMask": {
|
923 | 932 | "fields": {
|
924 | 933 | "fieldPaths": {
|
|
1269 | 1278 | }
|
1270 | 1279 | ]
|
1271 | 1280 | },
|
| 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 | + }, |
1272 | 1304 | "PartitionQuery": {
|
1273 | 1305 | "requestType": "PartitionQueryRequest",
|
1274 | 1306 | "responseType": "PartitionQueryResponse",
|
|
1760 | 1792 | }
|
1761 | 1793 | }
|
1762 | 1794 | },
|
| 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 | + }, |
1763 | 1852 | "PartitionQueryRequest": {
|
1764 | 1853 | "oneofs": {
|
1765 | 1854 | "queryType": {
|
|
2296 | 2385 | }
|
2297 | 2386 | }
|
2298 | 2387 | },
|
| 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 | + }, |
2299 | 2439 | "Cursor": {
|
2300 | 2440 | "fields": {
|
2301 | 2441 | "values": {
|
|
0 commit comments