@google-cloud/spanner 6.16.0 → 7.1.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.
@@ -191,6 +191,25 @@
191
191
  "rule": "repeated",
192
192
  "type": "UninterpretedOption",
193
193
  "id": 999
194
+ },
195
+ "declaration": {
196
+ "rule": "repeated",
197
+ "type": "Declaration",
198
+ "id": 2,
199
+ "options": {
200
+ "retention": "RETENTION_SOURCE"
201
+ }
202
+ },
203
+ "features": {
204
+ "type": "FeatureSet",
205
+ "id": 50
206
+ },
207
+ "verification": {
208
+ "type": "VerificationState",
209
+ "id": 3,
210
+ "options": {
211
+ "default": "UNVERIFIED"
212
+ }
194
213
  }
195
214
  },
196
215
  "extensions": [
@@ -198,7 +217,45 @@
198
217
  1000,
199
218
  536870911
200
219
  ]
201
- ]
220
+ ],
221
+ "nested": {
222
+ "Declaration": {
223
+ "fields": {
224
+ "number": {
225
+ "type": "int32",
226
+ "id": 1
227
+ },
228
+ "fullName": {
229
+ "type": "string",
230
+ "id": 2
231
+ },
232
+ "type": {
233
+ "type": "string",
234
+ "id": 3
235
+ },
236
+ "reserved": {
237
+ "type": "bool",
238
+ "id": 5
239
+ },
240
+ "repeated": {
241
+ "type": "bool",
242
+ "id": 6
243
+ }
244
+ },
245
+ "reserved": [
246
+ [
247
+ 4,
248
+ 4
249
+ ]
250
+ ]
251
+ },
252
+ "VerificationState": {
253
+ "values": {
254
+ "DECLARATION": 0,
255
+ "UNVERIFIED": 1
256
+ }
257
+ }
258
+ }
202
259
  },
203
260
  "FieldDescriptorProto": {
204
261
  "fields": {
@@ -511,6 +568,10 @@
511
568
  "type": "string",
512
569
  "id": 45
513
570
  },
571
+ "features": {
572
+ "type": "FeatureSet",
573
+ "id": 50
574
+ },
514
575
  "uninterpretedOption": {
515
576
  "rule": "repeated",
516
577
  "type": "UninterpretedOption",
@@ -573,6 +634,10 @@
573
634
  "deprecated": true
574
635
  }
575
636
  },
637
+ "features": {
638
+ "type": "FeatureSet",
639
+ "id": 12
640
+ },
576
641
  "uninterpretedOption": {
577
642
  "rule": "repeated",
578
643
  "type": "UninterpretedOption",
@@ -667,9 +732,22 @@
667
732
  "type": "OptionRetention",
668
733
  "id": 17
669
734
  },
670
- "target": {
735
+ "targets": {
736
+ "rule": "repeated",
671
737
  "type": "OptionTargetType",
672
- "id": 18
738
+ "id": 19,
739
+ "options": {
740
+ "packed": false
741
+ }
742
+ },
743
+ "editionDefaults": {
744
+ "rule": "repeated",
745
+ "type": "EditionDefault",
746
+ "id": 20
747
+ },
748
+ "features": {
749
+ "type": "FeatureSet",
750
+ "id": 21
673
751
  },
674
752
  "uninterpretedOption": {
675
753
  "rule": "repeated",
@@ -687,6 +765,10 @@
687
765
  [
688
766
  4,
689
767
  4
768
+ ],
769
+ [
770
+ 18,
771
+ 18
690
772
  ]
691
773
  ],
692
774
  "nested": {
@@ -724,11 +806,27 @@
724
806
  "TARGET_TYPE_SERVICE": 8,
725
807
  "TARGET_TYPE_METHOD": 9
726
808
  }
809
+ },
810
+ "EditionDefault": {
811
+ "fields": {
812
+ "edition": {
813
+ "type": "string",
814
+ "id": 1
815
+ },
816
+ "value": {
817
+ "type": "string",
818
+ "id": 2
819
+ }
820
+ }
727
821
  }
728
822
  }
729
823
  },
730
824
  "OneofOptions": {
731
825
  "fields": {
826
+ "features": {
827
+ "type": "FeatureSet",
828
+ "id": 1
829
+ },
732
830
  "uninterpretedOption": {
733
831
  "rule": "repeated",
734
832
  "type": "UninterpretedOption",
@@ -762,6 +860,10 @@
762
860
  "deprecated": true
763
861
  }
764
862
  },
863
+ "features": {
864
+ "type": "FeatureSet",
865
+ "id": 7
866
+ },
765
867
  "uninterpretedOption": {
766
868
  "rule": "repeated",
767
869
  "type": "UninterpretedOption",
@@ -790,6 +892,17 @@
790
892
  "default": false
791
893
  }
792
894
  },
895
+ "features": {
896
+ "type": "FeatureSet",
897
+ "id": 2
898
+ },
899
+ "debugRedact": {
900
+ "type": "bool",
901
+ "id": 3,
902
+ "options": {
903
+ "default": false
904
+ }
905
+ },
793
906
  "uninterpretedOption": {
794
907
  "rule": "repeated",
795
908
  "type": "UninterpretedOption",
@@ -805,6 +918,10 @@
805
918
  },
806
919
  "ServiceOptions": {
807
920
  "fields": {
921
+ "features": {
922
+ "type": "FeatureSet",
923
+ "id": 34
924
+ },
808
925
  "deprecated": {
809
926
  "type": "bool",
810
927
  "id": 33,
@@ -841,6 +958,10 @@
841
958
  "default": "IDEMPOTENCY_UNKNOWN"
842
959
  }
843
960
  },
961
+ "features": {
962
+ "type": "FeatureSet",
963
+ "id": 35
964
+ },
844
965
  "uninterpretedOption": {
845
966
  "rule": "repeated",
846
967
  "type": "UninterpretedOption",
@@ -912,6 +1033,137 @@
912
1033
  }
913
1034
  }
914
1035
  },
1036
+ "FeatureSet": {
1037
+ "fields": {
1038
+ "fieldPresence": {
1039
+ "type": "FieldPresence",
1040
+ "id": 1,
1041
+ "options": {
1042
+ "retention": "RETENTION_RUNTIME",
1043
+ "targets": "TARGET_TYPE_FILE",
1044
+ "edition_defaults.edition": "2023",
1045
+ "edition_defaults.value": "EXPLICIT"
1046
+ }
1047
+ },
1048
+ "enumType": {
1049
+ "type": "EnumType",
1050
+ "id": 2,
1051
+ "options": {
1052
+ "retention": "RETENTION_RUNTIME",
1053
+ "targets": "TARGET_TYPE_FILE",
1054
+ "edition_defaults.edition": "2023",
1055
+ "edition_defaults.value": "OPEN"
1056
+ }
1057
+ },
1058
+ "repeatedFieldEncoding": {
1059
+ "type": "RepeatedFieldEncoding",
1060
+ "id": 3,
1061
+ "options": {
1062
+ "retention": "RETENTION_RUNTIME",
1063
+ "targets": "TARGET_TYPE_FILE",
1064
+ "edition_defaults.edition": "2023",
1065
+ "edition_defaults.value": "PACKED"
1066
+ }
1067
+ },
1068
+ "stringFieldValidation": {
1069
+ "type": "StringFieldValidation",
1070
+ "id": 4,
1071
+ "options": {
1072
+ "retention": "RETENTION_RUNTIME",
1073
+ "targets": "TARGET_TYPE_FILE",
1074
+ "edition_defaults.edition": "2023",
1075
+ "edition_defaults.value": "MANDATORY"
1076
+ }
1077
+ },
1078
+ "messageEncoding": {
1079
+ "type": "MessageEncoding",
1080
+ "id": 5,
1081
+ "options": {
1082
+ "retention": "RETENTION_RUNTIME",
1083
+ "targets": "TARGET_TYPE_FILE",
1084
+ "edition_defaults.edition": "2023",
1085
+ "edition_defaults.value": "LENGTH_PREFIXED"
1086
+ }
1087
+ },
1088
+ "jsonFormat": {
1089
+ "type": "JsonFormat",
1090
+ "id": 6,
1091
+ "options": {
1092
+ "retention": "RETENTION_RUNTIME",
1093
+ "targets": "TARGET_TYPE_FILE",
1094
+ "edition_defaults.edition": "2023",
1095
+ "edition_defaults.value": "ALLOW"
1096
+ }
1097
+ },
1098
+ "rawFeatures": {
1099
+ "type": "FeatureSet",
1100
+ "id": 999,
1101
+ "options": {
1102
+ "targets": "TARGET_TYPE_UNKNOWN"
1103
+ }
1104
+ }
1105
+ },
1106
+ "extensions": [
1107
+ [
1108
+ 1000,
1109
+ 1000
1110
+ ],
1111
+ [
1112
+ 1001,
1113
+ 1001
1114
+ ],
1115
+ [
1116
+ 9995,
1117
+ 9999
1118
+ ]
1119
+ ],
1120
+ "nested": {
1121
+ "FieldPresence": {
1122
+ "values": {
1123
+ "FIELD_PRESENCE_UNKNOWN": 0,
1124
+ "EXPLICIT": 1,
1125
+ "IMPLICIT": 2,
1126
+ "LEGACY_REQUIRED": 3
1127
+ }
1128
+ },
1129
+ "EnumType": {
1130
+ "values": {
1131
+ "ENUM_TYPE_UNKNOWN": 0,
1132
+ "OPEN": 1,
1133
+ "CLOSED": 2
1134
+ }
1135
+ },
1136
+ "RepeatedFieldEncoding": {
1137
+ "values": {
1138
+ "REPEATED_FIELD_ENCODING_UNKNOWN": 0,
1139
+ "PACKED": 1,
1140
+ "EXPANDED": 2
1141
+ }
1142
+ },
1143
+ "StringFieldValidation": {
1144
+ "values": {
1145
+ "STRING_FIELD_VALIDATION_UNKNOWN": 0,
1146
+ "MANDATORY": 1,
1147
+ "HINT": 2,
1148
+ "NONE": 3
1149
+ }
1150
+ },
1151
+ "MessageEncoding": {
1152
+ "values": {
1153
+ "MESSAGE_ENCODING_UNKNOWN": 0,
1154
+ "LENGTH_PREFIXED": 1,
1155
+ "DELIMITED": 2
1156
+ }
1157
+ },
1158
+ "JsonFormat": {
1159
+ "values": {
1160
+ "JSON_FORMAT_UNKNOWN": 0,
1161
+ "ALLOW": 1,
1162
+ "LEGACY_BEST_EFFORT": 2
1163
+ }
1164
+ }
1165
+ }
1166
+ },
915
1167
  "SourceCodeInfo": {
916
1168
  "fields": {
917
1169
  "location": {
@@ -3300,6 +3552,78 @@
3300
3552
  }
3301
3553
  }
3302
3554
  },
3555
+ "AutoscalingConfig": {
3556
+ "fields": {
3557
+ "autoscalingLimits": {
3558
+ "type": "AutoscalingLimits",
3559
+ "id": 1,
3560
+ "options": {
3561
+ "(google.api.field_behavior)": "REQUIRED"
3562
+ }
3563
+ },
3564
+ "autoscalingTargets": {
3565
+ "type": "AutoscalingTargets",
3566
+ "id": 2,
3567
+ "options": {
3568
+ "(google.api.field_behavior)": "REQUIRED"
3569
+ }
3570
+ }
3571
+ },
3572
+ "nested": {
3573
+ "AutoscalingLimits": {
3574
+ "oneofs": {
3575
+ "minLimit": {
3576
+ "oneof": [
3577
+ "minNodes",
3578
+ "minProcessingUnits"
3579
+ ]
3580
+ },
3581
+ "maxLimit": {
3582
+ "oneof": [
3583
+ "maxNodes",
3584
+ "maxProcessingUnits"
3585
+ ]
3586
+ }
3587
+ },
3588
+ "fields": {
3589
+ "minNodes": {
3590
+ "type": "int32",
3591
+ "id": 1
3592
+ },
3593
+ "minProcessingUnits": {
3594
+ "type": "int32",
3595
+ "id": 2
3596
+ },
3597
+ "maxNodes": {
3598
+ "type": "int32",
3599
+ "id": 3
3600
+ },
3601
+ "maxProcessingUnits": {
3602
+ "type": "int32",
3603
+ "id": 4
3604
+ }
3605
+ }
3606
+ },
3607
+ "AutoscalingTargets": {
3608
+ "fields": {
3609
+ "highPriorityCpuUtilizationPercent": {
3610
+ "type": "int32",
3611
+ "id": 1,
3612
+ "options": {
3613
+ "(google.api.field_behavior)": "REQUIRED"
3614
+ }
3615
+ },
3616
+ "storageUtilizationPercent": {
3617
+ "type": "int32",
3618
+ "id": 2,
3619
+ "options": {
3620
+ "(google.api.field_behavior)": "REQUIRED"
3621
+ }
3622
+ }
3623
+ }
3624
+ }
3625
+ }
3626
+ },
3303
3627
  "Instance": {
3304
3628
  "options": {
3305
3629
  "(google.api.resource).type": "spanner.googleapis.com/Instance",
@@ -3336,6 +3660,13 @@
3336
3660
  "type": "int32",
3337
3661
  "id": 9
3338
3662
  },
3663
+ "autoscalingConfig": {
3664
+ "type": "AutoscalingConfig",
3665
+ "id": 17,
3666
+ "options": {
3667
+ "(google.api.field_behavior)": "OPTIONAL"
3668
+ }
3669
+ },
3339
3670
  "state": {
3340
3671
  "type": "State",
3341
3672
  "id": 6,
@@ -4238,7 +4569,8 @@
4238
4569
  "values": {
4239
4570
  "TYPE_ANNOTATION_CODE_UNSPECIFIED": 0,
4240
4571
  "PG_NUMERIC": 2,
4241
- "PG_JSONB": 3
4572
+ "PG_JSONB": 3,
4573
+ "PG_OID": 4
4242
4574
  }
4243
4575
  },
4244
4576
  "Spanner": {
@@ -4517,6 +4849,27 @@
4517
4849
  }
4518
4850
  }
4519
4851
  ]
4852
+ },
4853
+ "BatchWrite": {
4854
+ "requestType": "BatchWriteRequest",
4855
+ "responseType": "BatchWriteResponse",
4856
+ "responseStream": true,
4857
+ "options": {
4858
+ "(google.api.http).post": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:batchWrite",
4859
+ "(google.api.http).body": "*",
4860
+ "(google.api.method_signature)": "session,mutation_groups"
4861
+ },
4862
+ "parsedOptions": [
4863
+ {
4864
+ "(google.api.http)": {
4865
+ "post": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:batchWrite",
4866
+ "body": "*"
4867
+ }
4868
+ },
4869
+ {
4870
+ "(google.api.method_signature)": "session,mutation_groups"
4871
+ }
4872
+ ]
4520
4873
  }
4521
4874
  }
4522
4875
  },
@@ -4696,6 +5049,71 @@
4696
5049
  }
4697
5050
  }
4698
5051
  },
5052
+ "DirectedReadOptions": {
5053
+ "oneofs": {
5054
+ "replicas": {
5055
+ "oneof": [
5056
+ "includeReplicas",
5057
+ "excludeReplicas"
5058
+ ]
5059
+ }
5060
+ },
5061
+ "fields": {
5062
+ "includeReplicas": {
5063
+ "type": "IncludeReplicas",
5064
+ "id": 1
5065
+ },
5066
+ "excludeReplicas": {
5067
+ "type": "ExcludeReplicas",
5068
+ "id": 2
5069
+ }
5070
+ },
5071
+ "nested": {
5072
+ "ReplicaSelection": {
5073
+ "fields": {
5074
+ "location": {
5075
+ "type": "string",
5076
+ "id": 1
5077
+ },
5078
+ "type": {
5079
+ "type": "Type",
5080
+ "id": 2
5081
+ }
5082
+ },
5083
+ "nested": {
5084
+ "Type": {
5085
+ "values": {
5086
+ "TYPE_UNSPECIFIED": 0,
5087
+ "READ_WRITE": 1,
5088
+ "READ_ONLY": 2
5089
+ }
5090
+ }
5091
+ }
5092
+ },
5093
+ "IncludeReplicas": {
5094
+ "fields": {
5095
+ "replicaSelections": {
5096
+ "rule": "repeated",
5097
+ "type": "ReplicaSelection",
5098
+ "id": 1
5099
+ },
5100
+ "autoFailoverDisabled": {
5101
+ "type": "bool",
5102
+ "id": 2
5103
+ }
5104
+ }
5105
+ },
5106
+ "ExcludeReplicas": {
5107
+ "fields": {
5108
+ "replicaSelections": {
5109
+ "rule": "repeated",
5110
+ "type": "ReplicaSelection",
5111
+ "id": 1
5112
+ }
5113
+ }
5114
+ }
5115
+ }
5116
+ },
4699
5117
  "ExecuteSqlRequest": {
4700
5118
  "fields": {
4701
5119
  "session": {
@@ -4750,6 +5168,10 @@
4750
5168
  "type": "RequestOptions",
4751
5169
  "id": 11
4752
5170
  },
5171
+ "directedReadOptions": {
5172
+ "type": "DirectedReadOptions",
5173
+ "id": 15
5174
+ },
4753
5175
  "dataBoostEnabled": {
4754
5176
  "type": "bool",
4755
5177
  "id": 16
@@ -5018,6 +5440,10 @@
5018
5440
  "type": "RequestOptions",
5019
5441
  "id": 11
5020
5442
  },
5443
+ "directedReadOptions": {
5444
+ "type": "DirectedReadOptions",
5445
+ "id": 14
5446
+ },
5021
5447
  "dataBoostEnabled": {
5022
5448
  "type": "bool",
5023
5449
  "id": 15
@@ -5106,6 +5532,61 @@
5106
5532
  }
5107
5533
  }
5108
5534
  }
5535
+ },
5536
+ "BatchWriteRequest": {
5537
+ "fields": {
5538
+ "session": {
5539
+ "type": "string",
5540
+ "id": 1,
5541
+ "options": {
5542
+ "(google.api.field_behavior)": "REQUIRED",
5543
+ "(google.api.resource_reference).type": "spanner.googleapis.com/Session"
5544
+ }
5545
+ },
5546
+ "requestOptions": {
5547
+ "type": "RequestOptions",
5548
+ "id": 3
5549
+ },
5550
+ "mutationGroups": {
5551
+ "rule": "repeated",
5552
+ "type": "MutationGroup",
5553
+ "id": 4,
5554
+ "options": {
5555
+ "(google.api.field_behavior)": "REQUIRED"
5556
+ }
5557
+ }
5558
+ },
5559
+ "nested": {
5560
+ "MutationGroup": {
5561
+ "fields": {
5562
+ "mutations": {
5563
+ "rule": "repeated",
5564
+ "type": "Mutation",
5565
+ "id": 1,
5566
+ "options": {
5567
+ "(google.api.field_behavior)": "REQUIRED"
5568
+ }
5569
+ }
5570
+ }
5571
+ }
5572
+ }
5573
+ },
5574
+ "BatchWriteResponse": {
5575
+ "fields": {
5576
+ "indexes": {
5577
+ "rule": "repeated",
5578
+ "type": "int32",
5579
+ "id": 1
5580
+ },
5581
+ "status": {
5582
+ "type": "google.rpc.Status",
5583
+ "id": 2
5584
+ },
5585
+ "commitTimestamp": {
5586
+ "type": "google.protobuf.Timestamp",
5587
+ "id": 3
5588
+ }
5589
+ }
5109
5590
  }
5110
5591
  }
5111
5592
  }
@@ -5423,6 +5904,10 @@
5423
5904
  "rule": "repeated",
5424
5905
  "type": "ClientLibrarySettings",
5425
5906
  "id": 109
5907
+ },
5908
+ "protoReferenceDocumentationUri": {
5909
+ "type": "string",
5910
+ "id": 110
5426
5911
  }
5427
5912
  }
5428
5913
  },
@@ -5480,6 +5965,31 @@
5480
5965
  "common": {
5481
5966
  "type": "CommonLanguageSettings",
5482
5967
  "id": 1
5968
+ },
5969
+ "renamedServices": {
5970
+ "keyType": "string",
5971
+ "type": "string",
5972
+ "id": 2
5973
+ },
5974
+ "renamedResources": {
5975
+ "keyType": "string",
5976
+ "type": "string",
5977
+ "id": 3
5978
+ },
5979
+ "ignoredResources": {
5980
+ "rule": "repeated",
5981
+ "type": "string",
5982
+ "id": 4
5983
+ },
5984
+ "forcedNamespaceAliases": {
5985
+ "rule": "repeated",
5986
+ "type": "string",
5987
+ "id": 5
5988
+ },
5989
+ "handwrittenSignatures": {
5990
+ "rule": "repeated",
5991
+ "type": "string",
5992
+ "id": 6
5483
5993
  }
5484
5994
  }
5485
5995
  },
@@ -5539,7 +6049,10 @@
5539
6049
  "CLOUD": 1,
5540
6050
  "ADS": 2,
5541
6051
  "PHOTOS": 3,
5542
- "STREET_VIEW": 4
6052
+ "STREET_VIEW": 4,
6053
+ "SHOPPING": 5,
6054
+ "GEO": 6,
6055
+ "GENERATIVE_AI": 7
5543
6056
  }
5544
6057
  },
5545
6058
  "ClientLibraryDestination": {
@@ -5567,7 +6080,7 @@
5567
6080
  "options": {
5568
6081
  "cc_enable_arenas": true,
5569
6082
  "csharp_namespace": "Google.LongRunning",
5570
- "go_package": "google.golang.org/genproto/googleapis/longrunning;longrunning",
6083
+ "go_package": "cloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb",
5571
6084
  "java_multiple_files": true,
5572
6085
  "java_outer_classname": "OperationsProto",
5573
6086
  "java_package": "com.google.longrunning",
@@ -5785,7 +6298,7 @@
5785
6298
  "options": {
5786
6299
  "cc_enable_arenas": true,
5787
6300
  "csharp_namespace": "Google.Cloud.Iam.V1",
5788
- "go_package": "google.golang.org/genproto/googleapis/iam/v1;iam",
6301
+ "go_package": "cloud.google.com/go/iam/apiv1/iampb;iampb",
5789
6302
  "java_multiple_files": true,
5790
6303
  "java_outer_classname": "PolicyProto",
5791
6304
  "java_package": "com.google.iam.v1",