@google-cloud/spanner 8.0.0 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +35 -0
- package/build/protos/google/spanner/v1/change_stream.proto +451 -0
- package/build/protos/google/spanner/v1/commit_response.proto +9 -4
- package/build/protos/google/spanner/v1/transaction.proto +40 -356
- package/build/protos/protos.d.ts +2087 -4
- package/build/protos/protos.js +6191 -349
- package/build/protos/protos.json +556 -25
- package/build/src/batch-transaction.js +2 -2
- package/build/src/codec.js +20 -21
- package/build/src/common-grpc/service.js +10 -10
- package/build/src/common.d.ts +1 -0
- package/build/src/common.js +9 -1
- package/build/src/database.d.ts +3 -2
- package/build/src/database.js +16 -14
- package/build/src/helper.d.ts +90 -0
- package/build/src/helper.js +154 -0
- package/build/src/index.d.ts +36 -1
- package/build/src/index.js +179 -8
- package/build/src/instrument.js +3 -2
- package/build/src/metrics/constants.d.ts +36 -0
- package/build/src/metrics/constants.js +106 -0
- package/build/src/metrics/external-types.d.ts +20 -0
- package/build/src/metrics/external-types.js +32 -0
- package/build/src/metrics/interceptor.d.ts +13 -0
- package/build/src/metrics/interceptor.js +87 -0
- package/build/src/metrics/metrics-tracer-factory.d.ts +165 -0
- package/build/src/metrics/metrics-tracer-factory.js +389 -0
- package/build/src/metrics/metrics-tracer.d.ts +204 -0
- package/build/src/metrics/metrics-tracer.js +371 -0
- package/build/src/metrics/spanner-metrics-exporter.d.ts +35 -0
- package/build/src/metrics/spanner-metrics-exporter.js +119 -0
- package/build/src/metrics/transform.d.ts +144 -0
- package/build/src/metrics/transform.js +272 -0
- package/build/src/multiplexed-session.d.ts +1 -1
- package/build/src/multiplexed-session.js +2 -4
- package/build/src/partial-result-stream.js +9 -5
- package/build/src/session-factory.d.ts +34 -0
- package/build/src/session-factory.js +30 -0
- package/build/src/session-pool.js +1 -2
- package/build/src/table.d.ts +2 -0
- package/build/src/table.js +5 -0
- package/build/src/transaction-runner.d.ts +6 -0
- package/build/src/transaction-runner.js +8 -0
- package/build/src/transaction.d.ts +44 -1
- package/build/src/transaction.js +202 -49
- package/build/src/v1/database_admin_client.d.ts +34 -0
- package/build/src/v1/database_admin_client.js +167 -1
- package/build/src/v1/database_admin_client_config.json +4 -0
- package/build/src/v1/instance_admin_client.d.ts +120 -0
- package/build/src/v1/instance_admin_client.js +312 -13
- package/build/src/v1/spanner_client.js +108 -0
- package/build/src/v1/spanner_proto_list.json +1 -0
- package/package.json +15 -8
package/build/protos/protos.json
CHANGED
|
@@ -33,12 +33,19 @@
|
|
|
33
33
|
"type": "FileDescriptorProto",
|
|
34
34
|
"id": 1
|
|
35
35
|
}
|
|
36
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"extensions": [
|
|
38
|
+
[
|
|
39
|
+
536000000,
|
|
40
|
+
536000000
|
|
41
|
+
]
|
|
42
|
+
]
|
|
37
43
|
},
|
|
38
44
|
"Edition": {
|
|
39
45
|
"edition": "proto2",
|
|
40
46
|
"values": {
|
|
41
47
|
"EDITION_UNKNOWN": 0,
|
|
48
|
+
"EDITION_LEGACY": 900,
|
|
42
49
|
"EDITION_PROTO2": 998,
|
|
43
50
|
"EDITION_PROTO3": 999,
|
|
44
51
|
"EDITION_2023": 1000,
|
|
@@ -77,6 +84,11 @@
|
|
|
77
84
|
"type": "int32",
|
|
78
85
|
"id": 11
|
|
79
86
|
},
|
|
87
|
+
"optionDependency": {
|
|
88
|
+
"rule": "repeated",
|
|
89
|
+
"type": "string",
|
|
90
|
+
"id": 15
|
|
91
|
+
},
|
|
80
92
|
"messageType": {
|
|
81
93
|
"rule": "repeated",
|
|
82
94
|
"type": "DescriptorProto",
|
|
@@ -165,6 +177,10 @@
|
|
|
165
177
|
"rule": "repeated",
|
|
166
178
|
"type": "string",
|
|
167
179
|
"id": 10
|
|
180
|
+
},
|
|
181
|
+
"visibility": {
|
|
182
|
+
"type": "SymbolVisibility",
|
|
183
|
+
"id": 11
|
|
168
184
|
}
|
|
169
185
|
},
|
|
170
186
|
"nested": {
|
|
@@ -390,6 +406,10 @@
|
|
|
390
406
|
"rule": "repeated",
|
|
391
407
|
"type": "string",
|
|
392
408
|
"id": 5
|
|
409
|
+
},
|
|
410
|
+
"visibility": {
|
|
411
|
+
"type": "SymbolVisibility",
|
|
412
|
+
"id": 6
|
|
393
413
|
}
|
|
394
414
|
},
|
|
395
415
|
"nested": {
|
|
@@ -604,6 +624,7 @@
|
|
|
604
624
|
42,
|
|
605
625
|
42
|
|
606
626
|
],
|
|
627
|
+
"php_generic_services",
|
|
607
628
|
[
|
|
608
629
|
38,
|
|
609
630
|
38
|
|
@@ -739,7 +760,8 @@
|
|
|
739
760
|
"type": "bool",
|
|
740
761
|
"id": 10,
|
|
741
762
|
"options": {
|
|
742
|
-
"default": false
|
|
763
|
+
"default": false,
|
|
764
|
+
"deprecated": true
|
|
743
765
|
}
|
|
744
766
|
},
|
|
745
767
|
"debugRedact": {
|
|
@@ -767,6 +789,10 @@
|
|
|
767
789
|
"type": "FeatureSet",
|
|
768
790
|
"id": 21
|
|
769
791
|
},
|
|
792
|
+
"featureSupport": {
|
|
793
|
+
"type": "FeatureSupport",
|
|
794
|
+
"id": 22
|
|
795
|
+
},
|
|
770
796
|
"uninterpretedOption": {
|
|
771
797
|
"rule": "repeated",
|
|
772
798
|
"type": "UninterpretedOption",
|
|
@@ -836,6 +862,26 @@
|
|
|
836
862
|
"id": 2
|
|
837
863
|
}
|
|
838
864
|
}
|
|
865
|
+
},
|
|
866
|
+
"FeatureSupport": {
|
|
867
|
+
"fields": {
|
|
868
|
+
"editionIntroduced": {
|
|
869
|
+
"type": "Edition",
|
|
870
|
+
"id": 1
|
|
871
|
+
},
|
|
872
|
+
"editionDeprecated": {
|
|
873
|
+
"type": "Edition",
|
|
874
|
+
"id": 2
|
|
875
|
+
},
|
|
876
|
+
"deprecationWarning": {
|
|
877
|
+
"type": "string",
|
|
878
|
+
"id": 3
|
|
879
|
+
},
|
|
880
|
+
"editionRemoved": {
|
|
881
|
+
"type": "Edition",
|
|
882
|
+
"id": 4
|
|
883
|
+
}
|
|
884
|
+
}
|
|
839
885
|
}
|
|
840
886
|
}
|
|
841
887
|
},
|
|
@@ -924,6 +970,10 @@
|
|
|
924
970
|
"default": false
|
|
925
971
|
}
|
|
926
972
|
},
|
|
973
|
+
"featureSupport": {
|
|
974
|
+
"type": "FieldOptions.FeatureSupport",
|
|
975
|
+
"id": 4
|
|
976
|
+
},
|
|
927
977
|
"uninterpretedOption": {
|
|
928
978
|
"rule": "repeated",
|
|
929
979
|
"type": "UninterpretedOption",
|
|
@@ -1066,6 +1116,7 @@
|
|
|
1066
1116
|
"options": {
|
|
1067
1117
|
"retention": "RETENTION_RUNTIME",
|
|
1068
1118
|
"targets": "TARGET_TYPE_FILE",
|
|
1119
|
+
"feature_support.edition_introduced": "EDITION_2023",
|
|
1069
1120
|
"edition_defaults.edition": "EDITION_2023",
|
|
1070
1121
|
"edition_defaults.value": "EXPLICIT"
|
|
1071
1122
|
}
|
|
@@ -1076,6 +1127,7 @@
|
|
|
1076
1127
|
"options": {
|
|
1077
1128
|
"retention": "RETENTION_RUNTIME",
|
|
1078
1129
|
"targets": "TARGET_TYPE_FILE",
|
|
1130
|
+
"feature_support.edition_introduced": "EDITION_2023",
|
|
1079
1131
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
1080
1132
|
"edition_defaults.value": "OPEN"
|
|
1081
1133
|
}
|
|
@@ -1086,6 +1138,7 @@
|
|
|
1086
1138
|
"options": {
|
|
1087
1139
|
"retention": "RETENTION_RUNTIME",
|
|
1088
1140
|
"targets": "TARGET_TYPE_FILE",
|
|
1141
|
+
"feature_support.edition_introduced": "EDITION_2023",
|
|
1089
1142
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
1090
1143
|
"edition_defaults.value": "PACKED"
|
|
1091
1144
|
}
|
|
@@ -1096,6 +1149,7 @@
|
|
|
1096
1149
|
"options": {
|
|
1097
1150
|
"retention": "RETENTION_RUNTIME",
|
|
1098
1151
|
"targets": "TARGET_TYPE_FILE",
|
|
1152
|
+
"feature_support.edition_introduced": "EDITION_2023",
|
|
1099
1153
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
1100
1154
|
"edition_defaults.value": "VERIFY"
|
|
1101
1155
|
}
|
|
@@ -1106,7 +1160,8 @@
|
|
|
1106
1160
|
"options": {
|
|
1107
1161
|
"retention": "RETENTION_RUNTIME",
|
|
1108
1162
|
"targets": "TARGET_TYPE_FILE",
|
|
1109
|
-
"
|
|
1163
|
+
"feature_support.edition_introduced": "EDITION_2023",
|
|
1164
|
+
"edition_defaults.edition": "EDITION_LEGACY",
|
|
1110
1165
|
"edition_defaults.value": "LENGTH_PREFIXED"
|
|
1111
1166
|
}
|
|
1112
1167
|
},
|
|
@@ -1116,27 +1171,38 @@
|
|
|
1116
1171
|
"options": {
|
|
1117
1172
|
"retention": "RETENTION_RUNTIME",
|
|
1118
1173
|
"targets": "TARGET_TYPE_FILE",
|
|
1174
|
+
"feature_support.edition_introduced": "EDITION_2023",
|
|
1119
1175
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
1120
1176
|
"edition_defaults.value": "ALLOW"
|
|
1121
1177
|
}
|
|
1178
|
+
},
|
|
1179
|
+
"enforceNamingStyle": {
|
|
1180
|
+
"type": "EnforceNamingStyle",
|
|
1181
|
+
"id": 7,
|
|
1182
|
+
"options": {
|
|
1183
|
+
"retention": "RETENTION_SOURCE",
|
|
1184
|
+
"targets": "TARGET_TYPE_METHOD",
|
|
1185
|
+
"feature_support.edition_introduced": "EDITION_2024",
|
|
1186
|
+
"edition_defaults.edition": "EDITION_2024",
|
|
1187
|
+
"edition_defaults.value": "STYLE2024"
|
|
1188
|
+
}
|
|
1189
|
+
},
|
|
1190
|
+
"defaultSymbolVisibility": {
|
|
1191
|
+
"type": "VisibilityFeature.DefaultSymbolVisibility",
|
|
1192
|
+
"id": 8,
|
|
1193
|
+
"options": {
|
|
1194
|
+
"retention": "RETENTION_SOURCE",
|
|
1195
|
+
"targets": "TARGET_TYPE_FILE",
|
|
1196
|
+
"feature_support.edition_introduced": "EDITION_2024",
|
|
1197
|
+
"edition_defaults.edition": "EDITION_2024",
|
|
1198
|
+
"edition_defaults.value": "EXPORT_TOP_LEVEL"
|
|
1199
|
+
}
|
|
1122
1200
|
}
|
|
1123
1201
|
},
|
|
1124
1202
|
"extensions": [
|
|
1125
1203
|
[
|
|
1126
1204
|
1000,
|
|
1127
|
-
|
|
1128
|
-
],
|
|
1129
|
-
[
|
|
1130
|
-
1001,
|
|
1131
|
-
1001
|
|
1132
|
-
],
|
|
1133
|
-
[
|
|
1134
|
-
1002,
|
|
1135
|
-
1002
|
|
1136
|
-
],
|
|
1137
|
-
[
|
|
1138
|
-
9990,
|
|
1139
|
-
9990
|
|
1205
|
+
9994
|
|
1140
1206
|
],
|
|
1141
1207
|
[
|
|
1142
1208
|
9995,
|
|
@@ -1181,7 +1247,13 @@
|
|
|
1181
1247
|
"UTF8_VALIDATION_UNKNOWN": 0,
|
|
1182
1248
|
"VERIFY": 2,
|
|
1183
1249
|
"NONE": 3
|
|
1184
|
-
}
|
|
1250
|
+
},
|
|
1251
|
+
"reserved": [
|
|
1252
|
+
[
|
|
1253
|
+
1,
|
|
1254
|
+
1
|
|
1255
|
+
]
|
|
1256
|
+
]
|
|
1185
1257
|
},
|
|
1186
1258
|
"MessageEncoding": {
|
|
1187
1259
|
"values": {
|
|
@@ -1196,6 +1268,33 @@
|
|
|
1196
1268
|
"ALLOW": 1,
|
|
1197
1269
|
"LEGACY_BEST_EFFORT": 2
|
|
1198
1270
|
}
|
|
1271
|
+
},
|
|
1272
|
+
"EnforceNamingStyle": {
|
|
1273
|
+
"values": {
|
|
1274
|
+
"ENFORCE_NAMING_STYLE_UNKNOWN": 0,
|
|
1275
|
+
"STYLE2024": 1,
|
|
1276
|
+
"STYLE_LEGACY": 2
|
|
1277
|
+
}
|
|
1278
|
+
},
|
|
1279
|
+
"VisibilityFeature": {
|
|
1280
|
+
"fields": {},
|
|
1281
|
+
"reserved": [
|
|
1282
|
+
[
|
|
1283
|
+
1,
|
|
1284
|
+
536870911
|
|
1285
|
+
]
|
|
1286
|
+
],
|
|
1287
|
+
"nested": {
|
|
1288
|
+
"DefaultSymbolVisibility": {
|
|
1289
|
+
"values": {
|
|
1290
|
+
"DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0,
|
|
1291
|
+
"EXPORT_ALL": 1,
|
|
1292
|
+
"EXPORT_TOP_LEVEL": 2,
|
|
1293
|
+
"LOCAL_ALL": 3,
|
|
1294
|
+
"STRICT": 4
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1199
1298
|
}
|
|
1200
1299
|
}
|
|
1201
1300
|
},
|
|
@@ -1223,11 +1322,26 @@
|
|
|
1223
1322
|
"type": "Edition",
|
|
1224
1323
|
"id": 3
|
|
1225
1324
|
},
|
|
1226
|
-
"
|
|
1325
|
+
"overridableFeatures": {
|
|
1227
1326
|
"type": "FeatureSet",
|
|
1228
|
-
"id":
|
|
1327
|
+
"id": 4
|
|
1328
|
+
},
|
|
1329
|
+
"fixedFeatures": {
|
|
1330
|
+
"type": "FeatureSet",
|
|
1331
|
+
"id": 5
|
|
1229
1332
|
}
|
|
1230
|
-
}
|
|
1333
|
+
},
|
|
1334
|
+
"reserved": [
|
|
1335
|
+
[
|
|
1336
|
+
1,
|
|
1337
|
+
1
|
|
1338
|
+
],
|
|
1339
|
+
[
|
|
1340
|
+
2,
|
|
1341
|
+
2
|
|
1342
|
+
],
|
|
1343
|
+
"features"
|
|
1344
|
+
]
|
|
1231
1345
|
}
|
|
1232
1346
|
}
|
|
1233
1347
|
},
|
|
@@ -1240,6 +1354,12 @@
|
|
|
1240
1354
|
"id": 1
|
|
1241
1355
|
}
|
|
1242
1356
|
},
|
|
1357
|
+
"extensions": [
|
|
1358
|
+
[
|
|
1359
|
+
536000000,
|
|
1360
|
+
536000000
|
|
1361
|
+
]
|
|
1362
|
+
],
|
|
1243
1363
|
"nested": {
|
|
1244
1364
|
"Location": {
|
|
1245
1365
|
"fields": {
|
|
@@ -1325,6 +1445,14 @@
|
|
|
1325
1445
|
}
|
|
1326
1446
|
}
|
|
1327
1447
|
},
|
|
1448
|
+
"SymbolVisibility": {
|
|
1449
|
+
"edition": "proto2",
|
|
1450
|
+
"values": {
|
|
1451
|
+
"VISIBILITY_UNSET": 0,
|
|
1452
|
+
"VISIBILITY_LOCAL": 1,
|
|
1453
|
+
"VISIBILITY_EXPORT": 2
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1328
1456
|
"Any": {
|
|
1329
1457
|
"fields": {
|
|
1330
1458
|
"type_url": {
|
|
@@ -1484,6 +1612,13 @@
|
|
|
1484
1612
|
},
|
|
1485
1613
|
"nested": {
|
|
1486
1614
|
"Violation": {
|
|
1615
|
+
"oneofs": {
|
|
1616
|
+
"_futureQuotaValue": {
|
|
1617
|
+
"oneof": [
|
|
1618
|
+
"futureQuotaValue"
|
|
1619
|
+
]
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1487
1622
|
"fields": {
|
|
1488
1623
|
"subject": {
|
|
1489
1624
|
"type": "string",
|
|
@@ -1492,6 +1627,34 @@
|
|
|
1492
1627
|
"description": {
|
|
1493
1628
|
"type": "string",
|
|
1494
1629
|
"id": 2
|
|
1630
|
+
},
|
|
1631
|
+
"apiService": {
|
|
1632
|
+
"type": "string",
|
|
1633
|
+
"id": 3
|
|
1634
|
+
},
|
|
1635
|
+
"quotaMetric": {
|
|
1636
|
+
"type": "string",
|
|
1637
|
+
"id": 4
|
|
1638
|
+
},
|
|
1639
|
+
"quotaId": {
|
|
1640
|
+
"type": "string",
|
|
1641
|
+
"id": 5
|
|
1642
|
+
},
|
|
1643
|
+
"quotaDimensions": {
|
|
1644
|
+
"keyType": "string",
|
|
1645
|
+
"type": "string",
|
|
1646
|
+
"id": 6
|
|
1647
|
+
},
|
|
1648
|
+
"quotaValue": {
|
|
1649
|
+
"type": "int64",
|
|
1650
|
+
"id": 7
|
|
1651
|
+
},
|
|
1652
|
+
"futureQuotaValue": {
|
|
1653
|
+
"type": "int64",
|
|
1654
|
+
"id": 8,
|
|
1655
|
+
"options": {
|
|
1656
|
+
"proto3_optional": true
|
|
1657
|
+
}
|
|
1495
1658
|
}
|
|
1496
1659
|
}
|
|
1497
1660
|
}
|
|
@@ -1542,6 +1705,14 @@
|
|
|
1542
1705
|
"description": {
|
|
1543
1706
|
"type": "string",
|
|
1544
1707
|
"id": 2
|
|
1708
|
+
},
|
|
1709
|
+
"reason": {
|
|
1710
|
+
"type": "string",
|
|
1711
|
+
"id": 3
|
|
1712
|
+
},
|
|
1713
|
+
"localizedMessage": {
|
|
1714
|
+
"type": "LocalizedMessage",
|
|
1715
|
+
"id": 4
|
|
1545
1716
|
}
|
|
1546
1717
|
}
|
|
1547
1718
|
}
|
|
@@ -3034,6 +3205,18 @@
|
|
|
3034
3205
|
"(google.api.method_signature)": "parent"
|
|
3035
3206
|
}
|
|
3036
3207
|
]
|
|
3208
|
+
},
|
|
3209
|
+
"InternalUpdateGraphOperation": {
|
|
3210
|
+
"requestType": "InternalUpdateGraphOperationRequest",
|
|
3211
|
+
"responseType": "InternalUpdateGraphOperationResponse",
|
|
3212
|
+
"options": {
|
|
3213
|
+
"(google.api.method_signature)": "database,operation_id"
|
|
3214
|
+
},
|
|
3215
|
+
"parsedOptions": [
|
|
3216
|
+
{
|
|
3217
|
+
"(google.api.method_signature)": "database,operation_id"
|
|
3218
|
+
}
|
|
3219
|
+
]
|
|
3037
3220
|
}
|
|
3038
3221
|
}
|
|
3039
3222
|
},
|
|
@@ -3322,6 +3505,13 @@
|
|
|
3322
3505
|
"options": {
|
|
3323
3506
|
"(google.api.field_behavior)": "OPTIONAL"
|
|
3324
3507
|
}
|
|
3508
|
+
},
|
|
3509
|
+
"throughputMode": {
|
|
3510
|
+
"type": "bool",
|
|
3511
|
+
"id": 5,
|
|
3512
|
+
"options": {
|
|
3513
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
3514
|
+
}
|
|
3325
3515
|
}
|
|
3326
3516
|
}
|
|
3327
3517
|
},
|
|
@@ -3708,6 +3898,49 @@
|
|
|
3708
3898
|
}
|
|
3709
3899
|
}
|
|
3710
3900
|
}
|
|
3901
|
+
},
|
|
3902
|
+
"InternalUpdateGraphOperationRequest": {
|
|
3903
|
+
"fields": {
|
|
3904
|
+
"database": {
|
|
3905
|
+
"type": "string",
|
|
3906
|
+
"id": 1,
|
|
3907
|
+
"options": {
|
|
3908
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
3909
|
+
"(google.api.resource_reference).type": "spanner.googleapis.com/Database"
|
|
3910
|
+
}
|
|
3911
|
+
},
|
|
3912
|
+
"operationId": {
|
|
3913
|
+
"type": "string",
|
|
3914
|
+
"id": 2,
|
|
3915
|
+
"options": {
|
|
3916
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
3917
|
+
}
|
|
3918
|
+
},
|
|
3919
|
+
"vmIdentityToken": {
|
|
3920
|
+
"type": "string",
|
|
3921
|
+
"id": 5,
|
|
3922
|
+
"options": {
|
|
3923
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
3924
|
+
}
|
|
3925
|
+
},
|
|
3926
|
+
"progress": {
|
|
3927
|
+
"type": "double",
|
|
3928
|
+
"id": 3,
|
|
3929
|
+
"options": {
|
|
3930
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
3931
|
+
}
|
|
3932
|
+
},
|
|
3933
|
+
"status": {
|
|
3934
|
+
"type": "google.rpc.Status",
|
|
3935
|
+
"id": 6,
|
|
3936
|
+
"options": {
|
|
3937
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
3938
|
+
}
|
|
3939
|
+
}
|
|
3940
|
+
}
|
|
3941
|
+
},
|
|
3942
|
+
"InternalUpdateGraphOperationResponse": {
|
|
3943
|
+
"fields": {}
|
|
3711
3944
|
}
|
|
3712
3945
|
}
|
|
3713
3946
|
}
|
|
@@ -7668,7 +7901,7 @@
|
|
|
7668
7901
|
"csharp_namespace": "Google.Cloud.Spanner.V1",
|
|
7669
7902
|
"go_package": "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb",
|
|
7670
7903
|
"java_multiple_files": true,
|
|
7671
|
-
"java_outer_classname": "
|
|
7904
|
+
"java_outer_classname": "ChangeStreamProto",
|
|
7672
7905
|
"java_package": "com.google.spanner.v1",
|
|
7673
7906
|
"php_namespace": "Google\\Cloud\\Spanner\\V1",
|
|
7674
7907
|
"ruby_package": "Google::Cloud::Spanner::V1",
|
|
@@ -8799,6 +9032,10 @@
|
|
|
8799
9032
|
"precommitToken": {
|
|
8800
9033
|
"type": "MultiplexedSessionPrecommitToken",
|
|
8801
9034
|
"id": 4
|
|
9035
|
+
},
|
|
9036
|
+
"snapshotTimestamp": {
|
|
9037
|
+
"type": "google.protobuf.Timestamp",
|
|
9038
|
+
"id": 5
|
|
8802
9039
|
}
|
|
8803
9040
|
},
|
|
8804
9041
|
"nested": {
|
|
@@ -9366,6 +9603,256 @@
|
|
|
9366
9603
|
"PG_JSONB": 3,
|
|
9367
9604
|
"PG_OID": 4
|
|
9368
9605
|
}
|
|
9606
|
+
},
|
|
9607
|
+
"ChangeStreamRecord": {
|
|
9608
|
+
"oneofs": {
|
|
9609
|
+
"record": {
|
|
9610
|
+
"oneof": [
|
|
9611
|
+
"dataChangeRecord",
|
|
9612
|
+
"heartbeatRecord",
|
|
9613
|
+
"partitionStartRecord",
|
|
9614
|
+
"partitionEndRecord",
|
|
9615
|
+
"partitionEventRecord"
|
|
9616
|
+
]
|
|
9617
|
+
}
|
|
9618
|
+
},
|
|
9619
|
+
"fields": {
|
|
9620
|
+
"dataChangeRecord": {
|
|
9621
|
+
"type": "DataChangeRecord",
|
|
9622
|
+
"id": 1
|
|
9623
|
+
},
|
|
9624
|
+
"heartbeatRecord": {
|
|
9625
|
+
"type": "HeartbeatRecord",
|
|
9626
|
+
"id": 2
|
|
9627
|
+
},
|
|
9628
|
+
"partitionStartRecord": {
|
|
9629
|
+
"type": "PartitionStartRecord",
|
|
9630
|
+
"id": 3
|
|
9631
|
+
},
|
|
9632
|
+
"partitionEndRecord": {
|
|
9633
|
+
"type": "PartitionEndRecord",
|
|
9634
|
+
"id": 4
|
|
9635
|
+
},
|
|
9636
|
+
"partitionEventRecord": {
|
|
9637
|
+
"type": "PartitionEventRecord",
|
|
9638
|
+
"id": 5
|
|
9639
|
+
}
|
|
9640
|
+
},
|
|
9641
|
+
"nested": {
|
|
9642
|
+
"DataChangeRecord": {
|
|
9643
|
+
"fields": {
|
|
9644
|
+
"commitTimestamp": {
|
|
9645
|
+
"type": "google.protobuf.Timestamp",
|
|
9646
|
+
"id": 1
|
|
9647
|
+
},
|
|
9648
|
+
"recordSequence": {
|
|
9649
|
+
"type": "string",
|
|
9650
|
+
"id": 2
|
|
9651
|
+
},
|
|
9652
|
+
"serverTransactionId": {
|
|
9653
|
+
"type": "string",
|
|
9654
|
+
"id": 3
|
|
9655
|
+
},
|
|
9656
|
+
"isLastRecordInTransactionInPartition": {
|
|
9657
|
+
"type": "bool",
|
|
9658
|
+
"id": 4
|
|
9659
|
+
},
|
|
9660
|
+
"table": {
|
|
9661
|
+
"type": "string",
|
|
9662
|
+
"id": 5
|
|
9663
|
+
},
|
|
9664
|
+
"columnMetadata": {
|
|
9665
|
+
"rule": "repeated",
|
|
9666
|
+
"type": "ColumnMetadata",
|
|
9667
|
+
"id": 6
|
|
9668
|
+
},
|
|
9669
|
+
"mods": {
|
|
9670
|
+
"rule": "repeated",
|
|
9671
|
+
"type": "Mod",
|
|
9672
|
+
"id": 7
|
|
9673
|
+
},
|
|
9674
|
+
"modType": {
|
|
9675
|
+
"type": "ModType",
|
|
9676
|
+
"id": 8
|
|
9677
|
+
},
|
|
9678
|
+
"valueCaptureType": {
|
|
9679
|
+
"type": "ValueCaptureType",
|
|
9680
|
+
"id": 9
|
|
9681
|
+
},
|
|
9682
|
+
"numberOfRecordsInTransaction": {
|
|
9683
|
+
"type": "int32",
|
|
9684
|
+
"id": 10
|
|
9685
|
+
},
|
|
9686
|
+
"numberOfPartitionsInTransaction": {
|
|
9687
|
+
"type": "int32",
|
|
9688
|
+
"id": 11
|
|
9689
|
+
},
|
|
9690
|
+
"transactionTag": {
|
|
9691
|
+
"type": "string",
|
|
9692
|
+
"id": 12
|
|
9693
|
+
},
|
|
9694
|
+
"isSystemTransaction": {
|
|
9695
|
+
"type": "bool",
|
|
9696
|
+
"id": 13
|
|
9697
|
+
}
|
|
9698
|
+
},
|
|
9699
|
+
"nested": {
|
|
9700
|
+
"ColumnMetadata": {
|
|
9701
|
+
"fields": {
|
|
9702
|
+
"name": {
|
|
9703
|
+
"type": "string",
|
|
9704
|
+
"id": 1
|
|
9705
|
+
},
|
|
9706
|
+
"type": {
|
|
9707
|
+
"type": "Type",
|
|
9708
|
+
"id": 2
|
|
9709
|
+
},
|
|
9710
|
+
"isPrimaryKey": {
|
|
9711
|
+
"type": "bool",
|
|
9712
|
+
"id": 3
|
|
9713
|
+
},
|
|
9714
|
+
"ordinalPosition": {
|
|
9715
|
+
"type": "int64",
|
|
9716
|
+
"id": 4
|
|
9717
|
+
}
|
|
9718
|
+
}
|
|
9719
|
+
},
|
|
9720
|
+
"ModValue": {
|
|
9721
|
+
"fields": {
|
|
9722
|
+
"columnMetadataIndex": {
|
|
9723
|
+
"type": "int32",
|
|
9724
|
+
"id": 1
|
|
9725
|
+
},
|
|
9726
|
+
"value": {
|
|
9727
|
+
"type": "google.protobuf.Value",
|
|
9728
|
+
"id": 2
|
|
9729
|
+
}
|
|
9730
|
+
}
|
|
9731
|
+
},
|
|
9732
|
+
"Mod": {
|
|
9733
|
+
"fields": {
|
|
9734
|
+
"keys": {
|
|
9735
|
+
"rule": "repeated",
|
|
9736
|
+
"type": "ModValue",
|
|
9737
|
+
"id": 1
|
|
9738
|
+
},
|
|
9739
|
+
"oldValues": {
|
|
9740
|
+
"rule": "repeated",
|
|
9741
|
+
"type": "ModValue",
|
|
9742
|
+
"id": 2
|
|
9743
|
+
},
|
|
9744
|
+
"newValues": {
|
|
9745
|
+
"rule": "repeated",
|
|
9746
|
+
"type": "ModValue",
|
|
9747
|
+
"id": 3
|
|
9748
|
+
}
|
|
9749
|
+
}
|
|
9750
|
+
},
|
|
9751
|
+
"ModType": {
|
|
9752
|
+
"values": {
|
|
9753
|
+
"MOD_TYPE_UNSPECIFIED": 0,
|
|
9754
|
+
"INSERT": 10,
|
|
9755
|
+
"UPDATE": 20,
|
|
9756
|
+
"DELETE": 30
|
|
9757
|
+
}
|
|
9758
|
+
},
|
|
9759
|
+
"ValueCaptureType": {
|
|
9760
|
+
"values": {
|
|
9761
|
+
"VALUE_CAPTURE_TYPE_UNSPECIFIED": 0,
|
|
9762
|
+
"OLD_AND_NEW_VALUES": 10,
|
|
9763
|
+
"NEW_VALUES": 20,
|
|
9764
|
+
"NEW_ROW": 30,
|
|
9765
|
+
"NEW_ROW_AND_OLD_VALUES": 40
|
|
9766
|
+
}
|
|
9767
|
+
}
|
|
9768
|
+
}
|
|
9769
|
+
},
|
|
9770
|
+
"HeartbeatRecord": {
|
|
9771
|
+
"fields": {
|
|
9772
|
+
"timestamp": {
|
|
9773
|
+
"type": "google.protobuf.Timestamp",
|
|
9774
|
+
"id": 1
|
|
9775
|
+
}
|
|
9776
|
+
}
|
|
9777
|
+
},
|
|
9778
|
+
"PartitionStartRecord": {
|
|
9779
|
+
"fields": {
|
|
9780
|
+
"startTimestamp": {
|
|
9781
|
+
"type": "google.protobuf.Timestamp",
|
|
9782
|
+
"id": 1
|
|
9783
|
+
},
|
|
9784
|
+
"recordSequence": {
|
|
9785
|
+
"type": "string",
|
|
9786
|
+
"id": 2
|
|
9787
|
+
},
|
|
9788
|
+
"partitionTokens": {
|
|
9789
|
+
"rule": "repeated",
|
|
9790
|
+
"type": "string",
|
|
9791
|
+
"id": 3
|
|
9792
|
+
}
|
|
9793
|
+
}
|
|
9794
|
+
},
|
|
9795
|
+
"PartitionEndRecord": {
|
|
9796
|
+
"fields": {
|
|
9797
|
+
"endTimestamp": {
|
|
9798
|
+
"type": "google.protobuf.Timestamp",
|
|
9799
|
+
"id": 1
|
|
9800
|
+
},
|
|
9801
|
+
"recordSequence": {
|
|
9802
|
+
"type": "string",
|
|
9803
|
+
"id": 2
|
|
9804
|
+
},
|
|
9805
|
+
"partitionToken": {
|
|
9806
|
+
"type": "string",
|
|
9807
|
+
"id": 3
|
|
9808
|
+
}
|
|
9809
|
+
}
|
|
9810
|
+
},
|
|
9811
|
+
"PartitionEventRecord": {
|
|
9812
|
+
"fields": {
|
|
9813
|
+
"commitTimestamp": {
|
|
9814
|
+
"type": "google.protobuf.Timestamp",
|
|
9815
|
+
"id": 1
|
|
9816
|
+
},
|
|
9817
|
+
"recordSequence": {
|
|
9818
|
+
"type": "string",
|
|
9819
|
+
"id": 2
|
|
9820
|
+
},
|
|
9821
|
+
"partitionToken": {
|
|
9822
|
+
"type": "string",
|
|
9823
|
+
"id": 3
|
|
9824
|
+
},
|
|
9825
|
+
"moveInEvents": {
|
|
9826
|
+
"rule": "repeated",
|
|
9827
|
+
"type": "MoveInEvent",
|
|
9828
|
+
"id": 4
|
|
9829
|
+
},
|
|
9830
|
+
"moveOutEvents": {
|
|
9831
|
+
"rule": "repeated",
|
|
9832
|
+
"type": "MoveOutEvent",
|
|
9833
|
+
"id": 5
|
|
9834
|
+
}
|
|
9835
|
+
},
|
|
9836
|
+
"nested": {
|
|
9837
|
+
"MoveInEvent": {
|
|
9838
|
+
"fields": {
|
|
9839
|
+
"sourcePartitionToken": {
|
|
9840
|
+
"type": "string",
|
|
9841
|
+
"id": 1
|
|
9842
|
+
}
|
|
9843
|
+
}
|
|
9844
|
+
},
|
|
9845
|
+
"MoveOutEvent": {
|
|
9846
|
+
"fields": {
|
|
9847
|
+
"destinationPartitionToken": {
|
|
9848
|
+
"type": "string",
|
|
9849
|
+
"id": 1
|
|
9850
|
+
}
|
|
9851
|
+
}
|
|
9852
|
+
}
|
|
9853
|
+
}
|
|
9854
|
+
}
|
|
9855
|
+
}
|
|
9369
9856
|
}
|
|
9370
9857
|
}
|
|
9371
9858
|
}
|
|
@@ -9377,8 +9864,7 @@
|
|
|
9377
9864
|
"java_multiple_files": true,
|
|
9378
9865
|
"java_outer_classname": "LaunchStageProto",
|
|
9379
9866
|
"java_package": "com.google.api",
|
|
9380
|
-
"objc_class_prefix": "GAPI"
|
|
9381
|
-
"cc_enable_arenas": true
|
|
9867
|
+
"objc_class_prefix": "GAPI"
|
|
9382
9868
|
},
|
|
9383
9869
|
"nested": {
|
|
9384
9870
|
"fieldBehavior": {
|
|
@@ -9601,6 +10087,10 @@
|
|
|
9601
10087
|
"rule": "repeated",
|
|
9602
10088
|
"type": "ClientLibraryDestination",
|
|
9603
10089
|
"id": 2
|
|
10090
|
+
},
|
|
10091
|
+
"selectiveGapicGeneration": {
|
|
10092
|
+
"type": "SelectiveGapicGeneration",
|
|
10093
|
+
"id": 3
|
|
9604
10094
|
}
|
|
9605
10095
|
}
|
|
9606
10096
|
},
|
|
@@ -9741,6 +10231,28 @@
|
|
|
9741
10231
|
"common": {
|
|
9742
10232
|
"type": "CommonLanguageSettings",
|
|
9743
10233
|
"id": 1
|
|
10234
|
+
},
|
|
10235
|
+
"experimentalFeatures": {
|
|
10236
|
+
"type": "ExperimentalFeatures",
|
|
10237
|
+
"id": 2
|
|
10238
|
+
}
|
|
10239
|
+
},
|
|
10240
|
+
"nested": {
|
|
10241
|
+
"ExperimentalFeatures": {
|
|
10242
|
+
"fields": {
|
|
10243
|
+
"restAsyncIoEnabled": {
|
|
10244
|
+
"type": "bool",
|
|
10245
|
+
"id": 1
|
|
10246
|
+
},
|
|
10247
|
+
"protobufPythonicTypesEnabled": {
|
|
10248
|
+
"type": "bool",
|
|
10249
|
+
"id": 2
|
|
10250
|
+
},
|
|
10251
|
+
"unversionedPackageDisabled": {
|
|
10252
|
+
"type": "bool",
|
|
10253
|
+
"id": 3
|
|
10254
|
+
}
|
|
10255
|
+
}
|
|
9744
10256
|
}
|
|
9745
10257
|
}
|
|
9746
10258
|
},
|
|
@@ -9798,6 +10310,11 @@
|
|
|
9798
10310
|
"common": {
|
|
9799
10311
|
"type": "CommonLanguageSettings",
|
|
9800
10312
|
"id": 1
|
|
10313
|
+
},
|
|
10314
|
+
"renamedServices": {
|
|
10315
|
+
"keyType": "string",
|
|
10316
|
+
"type": "string",
|
|
10317
|
+
"id": 2
|
|
9801
10318
|
}
|
|
9802
10319
|
}
|
|
9803
10320
|
},
|
|
@@ -9859,6 +10376,19 @@
|
|
|
9859
10376
|
"PACKAGE_MANAGER": 20
|
|
9860
10377
|
}
|
|
9861
10378
|
},
|
|
10379
|
+
"SelectiveGapicGeneration": {
|
|
10380
|
+
"fields": {
|
|
10381
|
+
"methods": {
|
|
10382
|
+
"rule": "repeated",
|
|
10383
|
+
"type": "string",
|
|
10384
|
+
"id": 1
|
|
10385
|
+
},
|
|
10386
|
+
"generateOmittedAsInternal": {
|
|
10387
|
+
"type": "bool",
|
|
10388
|
+
"id": 2
|
|
10389
|
+
}
|
|
10390
|
+
}
|
|
10391
|
+
},
|
|
9862
10392
|
"LaunchStage": {
|
|
9863
10393
|
"values": {
|
|
9864
10394
|
"LAUNCH_STAGE_UNSPECIFIED": 0,
|
|
@@ -9881,6 +10411,7 @@
|
|
|
9881
10411
|
"java_multiple_files": true,
|
|
9882
10412
|
"java_outer_classname": "OperationsProto",
|
|
9883
10413
|
"java_package": "com.google.longrunning",
|
|
10414
|
+
"objc_class_prefix": "GLRUN",
|
|
9884
10415
|
"php_namespace": "Google\\LongRunning"
|
|
9885
10416
|
},
|
|
9886
10417
|
"nested": {
|
|
@@ -10093,13 +10624,13 @@
|
|
|
10093
10624
|
"nested": {
|
|
10094
10625
|
"v1": {
|
|
10095
10626
|
"options": {
|
|
10096
|
-
"cc_enable_arenas": true,
|
|
10097
10627
|
"csharp_namespace": "Google.Cloud.Iam.V1",
|
|
10098
10628
|
"go_package": "cloud.google.com/go/iam/apiv1/iampb;iampb",
|
|
10099
10629
|
"java_multiple_files": true,
|
|
10100
10630
|
"java_outer_classname": "PolicyProto",
|
|
10101
10631
|
"java_package": "com.google.iam.v1",
|
|
10102
|
-
"php_namespace": "Google\\Cloud\\Iam\\V1"
|
|
10632
|
+
"php_namespace": "Google\\Cloud\\Iam\\V1",
|
|
10633
|
+
"cc_enable_arenas": true
|
|
10103
10634
|
},
|
|
10104
10635
|
"nested": {
|
|
10105
10636
|
"IAMPolicy": {
|