google-apis-spanner_v1 0.37.0 → 0.39.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.
@@ -22,6 +22,66 @@ module Google
22
22
  module Apis
23
23
  module SpannerV1
24
24
 
25
+ class AdaptMessageRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AdaptMessageResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AdapterSession
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AddSplitPointsRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AddSplitPointsResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AsymmetricAutoscalingOption
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class AutoscalingConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class AutoscalingConfigOverrides
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class AutoscalingLimits
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class AutoscalingTargets
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
25
85
  class Backup
26
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
87
 
@@ -34,6 +94,24 @@ module Google
34
94
  include Google::Apis::Core::JsonObjectSupport
35
95
  end
36
96
 
97
+ class BackupInstancePartition
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class BackupSchedule
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class BackupScheduleSpec
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
37
115
  class BatchCreateSessionsRequest
38
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
117
 
@@ -46,6 +124,18 @@ module Google
46
124
  include Google::Apis::Core::JsonObjectSupport
47
125
  end
48
126
 
127
+ class BatchWriteRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class BatchWriteResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
49
139
  class BeginTransactionRequest
50
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
141
 
@@ -58,6 +148,18 @@ module Google
58
148
  include Google::Apis::Core::JsonObjectSupport
59
149
  end
60
150
 
151
+ class ChangeQuorumMetadata
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ChangeQuorumRequest
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
61
163
  class ChildLink
62
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
165
 
@@ -106,6 +208,12 @@ module Google
106
208
  include Google::Apis::Core::JsonObjectSupport
107
209
  end
108
210
 
211
+ class CreateBackupEncryptionConfig
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
109
217
  class CreateBackupMetadata
110
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
219
 
@@ -124,12 +232,36 @@ module Google
124
232
  include Google::Apis::Core::JsonObjectSupport
125
233
  end
126
234
 
235
+ class CreateInstanceConfigMetadata
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class CreateInstanceConfigRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
127
247
  class CreateInstanceMetadata
128
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
249
 
130
250
  include Google::Apis::Core::JsonObjectSupport
131
251
  end
132
252
 
253
+ class CreateInstancePartitionMetadata
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class CreateInstancePartitionRequest
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
133
265
  class CreateInstanceRequest
134
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
267
 
@@ -142,6 +274,12 @@ module Google
142
274
  include Google::Apis::Core::JsonObjectSupport
143
275
  end
144
276
 
277
+ class CrontabSpec
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
145
283
  class Database
146
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
285
 
@@ -154,6 +292,12 @@ module Google
154
292
  include Google::Apis::Core::JsonObjectSupport
155
293
  end
156
294
 
295
+ class DdlStatementActionInfo
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
157
301
  class Delete
158
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
303
 
@@ -172,6 +316,18 @@ module Google
172
316
  include Google::Apis::Core::JsonObjectSupport
173
317
  end
174
318
 
319
+ class DirectedReadOptions
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class DualRegionQuorum
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
175
331
  class Empty
176
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
333
 
@@ -190,6 +346,12 @@ module Google
190
346
  include Google::Apis::Core::JsonObjectSupport
191
347
  end
192
348
 
349
+ class ExcludeReplicas
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
193
355
  class ExecuteBatchDmlRequest
194
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
357
 
@@ -226,6 +388,12 @@ module Google
226
388
  include Google::Apis::Core::JsonObjectSupport
227
389
  end
228
390
 
391
+ class FullBackupSpec
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
229
397
  class GetDatabaseDdlResponse
230
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
399
 
@@ -244,6 +412,24 @@ module Google
244
412
  include Google::Apis::Core::JsonObjectSupport
245
413
  end
246
414
 
415
+ class IncludeReplicas
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class IncrementalBackupSpec
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class IndexAdvice
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
247
433
  class IndexedHotKey
248
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
435
 
@@ -268,6 +454,30 @@ module Google
268
454
  include Google::Apis::Core::JsonObjectSupport
269
455
  end
270
456
 
457
+ class InstanceOperationProgress
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class InstancePartition
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class InstanceReplicaSelection
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class Key
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
271
481
  class KeyRange
272
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
483
 
@@ -298,6 +508,12 @@ module Google
298
508
  include Google::Apis::Core::JsonObjectSupport
299
509
  end
300
510
 
511
+ class ListBackupSchedulesResponse
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
301
517
  class ListBackupsResponse
302
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
519
 
@@ -322,12 +538,30 @@ module Google
322
538
  include Google::Apis::Core::JsonObjectSupport
323
539
  end
324
540
 
541
+ class ListInstanceConfigOperationsResponse
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
325
547
  class ListInstanceConfigsResponse
326
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
549
 
328
550
  include Google::Apis::Core::JsonObjectSupport
329
551
  end
330
552
 
553
+ class ListInstancePartitionOperationsResponse
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
559
+ class ListInstancePartitionsResponse
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
331
565
  class ListInstancesResponse
332
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
567
 
@@ -376,12 +610,30 @@ module Google
376
610
  include Google::Apis::Core::JsonObjectSupport
377
611
  end
378
612
 
613
+ class MoveInstanceRequest
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class MultiplexedSessionPrecommitToken
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
379
625
  class Mutation
380
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
627
 
382
628
  include Google::Apis::Core::JsonObjectSupport
383
629
  end
384
630
 
631
+ class MutationGroup
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
385
637
  class Operation
386
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
639
 
@@ -460,6 +712,12 @@ module Google
460
712
  include Google::Apis::Core::JsonObjectSupport
461
713
  end
462
714
 
715
+ class QueryAdvisorResult
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
463
721
  class QueryOptions
464
722
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
723
 
@@ -472,6 +730,18 @@ module Google
472
730
  include Google::Apis::Core::JsonObjectSupport
473
731
  end
474
732
 
733
+ class QuorumInfo
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
739
+ class QuorumType
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
475
745
  class ReadOnly
476
746
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
747
 
@@ -490,12 +760,24 @@ module Google
490
760
  include Google::Apis::Core::JsonObjectSupport
491
761
  end
492
762
 
763
+ class ReplicaComputeCapacity
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
493
769
  class ReplicaInfo
494
770
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
771
 
496
772
  include Google::Apis::Core::JsonObjectSupport
497
773
  end
498
774
 
775
+ class ReplicaSelection
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
499
781
  class RequestOptions
500
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
783
 
@@ -580,6 +862,18 @@ module Google
580
862
  include Google::Apis::Core::JsonObjectSupport
581
863
  end
582
864
 
865
+ class SingleRegionQuorum
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
871
+ class SplitPoints
872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
873
+
874
+ include Google::Apis::Core::JsonObjectSupport
875
+ end
876
+
583
877
  class Statement
584
878
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
879
 
@@ -646,12 +940,48 @@ module Google
646
940
  include Google::Apis::Core::JsonObjectSupport
647
941
  end
648
942
 
943
+ class UpdateDatabaseMetadata
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
949
+ class UpdateDatabaseRequest
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
955
+ class UpdateInstanceConfigMetadata
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
961
+ class UpdateInstanceConfigRequest
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
649
967
  class UpdateInstanceMetadata
650
968
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
969
 
652
970
  include Google::Apis::Core::JsonObjectSupport
653
971
  end
654
972
 
973
+ class UpdateInstancePartitionMetadata
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
979
+ class UpdateInstancePartitionRequest
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
655
985
  class UpdateInstanceRequest
656
986
  class Representation < Google::Apis::Core::JsonRepresentation; end
657
987
 
@@ -670,17 +1000,114 @@ module Google
670
1000
  include Google::Apis::Core::JsonObjectSupport
671
1001
  end
672
1002
 
1003
+ class AdaptMessageRequest
1004
+ # @private
1005
+ class Representation < Google::Apis::Core::JsonRepresentation
1006
+ hash :attachments, as: 'attachments'
1007
+ property :payload, :base64 => true, as: 'payload'
1008
+ property :protocol, as: 'protocol'
1009
+ end
1010
+ end
1011
+
1012
+ class AdaptMessageResponse
1013
+ # @private
1014
+ class Representation < Google::Apis::Core::JsonRepresentation
1015
+ property :payload, :base64 => true, as: 'payload'
1016
+ hash :state_updates, as: 'stateUpdates'
1017
+ end
1018
+ end
1019
+
1020
+ class AdapterSession
1021
+ # @private
1022
+ class Representation < Google::Apis::Core::JsonRepresentation
1023
+ property :name, as: 'name'
1024
+ end
1025
+ end
1026
+
1027
+ class AddSplitPointsRequest
1028
+ # @private
1029
+ class Representation < Google::Apis::Core::JsonRepresentation
1030
+ property :initiator, as: 'initiator'
1031
+ collection :split_points, as: 'splitPoints', class: Google::Apis::SpannerV1::SplitPoints, decorator: Google::Apis::SpannerV1::SplitPoints::Representation
1032
+
1033
+ end
1034
+ end
1035
+
1036
+ class AddSplitPointsResponse
1037
+ # @private
1038
+ class Representation < Google::Apis::Core::JsonRepresentation
1039
+ end
1040
+ end
1041
+
1042
+ class AsymmetricAutoscalingOption
1043
+ # @private
1044
+ class Representation < Google::Apis::Core::JsonRepresentation
1045
+ property :overrides, as: 'overrides', class: Google::Apis::SpannerV1::AutoscalingConfigOverrides, decorator: Google::Apis::SpannerV1::AutoscalingConfigOverrides::Representation
1046
+
1047
+ property :replica_selection, as: 'replicaSelection', class: Google::Apis::SpannerV1::InstanceReplicaSelection, decorator: Google::Apis::SpannerV1::InstanceReplicaSelection::Representation
1048
+
1049
+ end
1050
+ end
1051
+
1052
+ class AutoscalingConfig
1053
+ # @private
1054
+ class Representation < Google::Apis::Core::JsonRepresentation
1055
+ collection :asymmetric_autoscaling_options, as: 'asymmetricAutoscalingOptions', class: Google::Apis::SpannerV1::AsymmetricAutoscalingOption, decorator: Google::Apis::SpannerV1::AsymmetricAutoscalingOption::Representation
1056
+
1057
+ property :autoscaling_limits, as: 'autoscalingLimits', class: Google::Apis::SpannerV1::AutoscalingLimits, decorator: Google::Apis::SpannerV1::AutoscalingLimits::Representation
1058
+
1059
+ property :autoscaling_targets, as: 'autoscalingTargets', class: Google::Apis::SpannerV1::AutoscalingTargets, decorator: Google::Apis::SpannerV1::AutoscalingTargets::Representation
1060
+
1061
+ end
1062
+ end
1063
+
1064
+ class AutoscalingConfigOverrides
1065
+ # @private
1066
+ class Representation < Google::Apis::Core::JsonRepresentation
1067
+ property :autoscaling_limits, as: 'autoscalingLimits', class: Google::Apis::SpannerV1::AutoscalingLimits, decorator: Google::Apis::SpannerV1::AutoscalingLimits::Representation
1068
+
1069
+ property :autoscaling_target_high_priority_cpu_utilization_percent, as: 'autoscalingTargetHighPriorityCpuUtilizationPercent'
1070
+ end
1071
+ end
1072
+
1073
+ class AutoscalingLimits
1074
+ # @private
1075
+ class Representation < Google::Apis::Core::JsonRepresentation
1076
+ property :max_nodes, as: 'maxNodes'
1077
+ property :max_processing_units, as: 'maxProcessingUnits'
1078
+ property :min_nodes, as: 'minNodes'
1079
+ property :min_processing_units, as: 'minProcessingUnits'
1080
+ end
1081
+ end
1082
+
1083
+ class AutoscalingTargets
1084
+ # @private
1085
+ class Representation < Google::Apis::Core::JsonRepresentation
1086
+ property :high_priority_cpu_utilization_percent, as: 'highPriorityCpuUtilizationPercent'
1087
+ property :storage_utilization_percent, as: 'storageUtilizationPercent'
1088
+ end
1089
+ end
1090
+
673
1091
  class Backup
674
1092
  # @private
675
1093
  class Representation < Google::Apis::Core::JsonRepresentation
1094
+ collection :backup_schedules, as: 'backupSchedules'
676
1095
  property :create_time, as: 'createTime'
677
1096
  property :database, as: 'database'
678
1097
  property :database_dialect, as: 'databaseDialect'
679
1098
  property :encryption_info, as: 'encryptionInfo', class: Google::Apis::SpannerV1::EncryptionInfo, decorator: Google::Apis::SpannerV1::EncryptionInfo::Representation
680
1099
 
1100
+ collection :encryption_information, as: 'encryptionInformation', class: Google::Apis::SpannerV1::EncryptionInfo, decorator: Google::Apis::SpannerV1::EncryptionInfo::Representation
1101
+
1102
+ property :exclusive_size_bytes, :numeric_string => true, as: 'exclusiveSizeBytes'
681
1103
  property :expire_time, as: 'expireTime'
1104
+ property :freeable_size_bytes, :numeric_string => true, as: 'freeableSizeBytes'
1105
+ property :incremental_backup_chain_id, as: 'incrementalBackupChainId'
1106
+ collection :instance_partitions, as: 'instancePartitions', class: Google::Apis::SpannerV1::BackupInstancePartition, decorator: Google::Apis::SpannerV1::BackupInstancePartition::Representation
1107
+
682
1108
  property :max_expire_time, as: 'maxExpireTime'
683
1109
  property :name, as: 'name'
1110
+ property :oldest_version_time, as: 'oldestVersionTime'
684
1111
  collection :referencing_backups, as: 'referencingBackups'
685
1112
  collection :referencing_databases, as: 'referencingDatabases'
686
1113
  property :size_bytes, :numeric_string => true, as: 'sizeBytes'
@@ -699,6 +1126,38 @@ module Google
699
1126
  end
700
1127
  end
701
1128
 
1129
+ class BackupInstancePartition
1130
+ # @private
1131
+ class Representation < Google::Apis::Core::JsonRepresentation
1132
+ property :instance_partition, as: 'instancePartition'
1133
+ end
1134
+ end
1135
+
1136
+ class BackupSchedule
1137
+ # @private
1138
+ class Representation < Google::Apis::Core::JsonRepresentation
1139
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::SpannerV1::CreateBackupEncryptionConfig, decorator: Google::Apis::SpannerV1::CreateBackupEncryptionConfig::Representation
1140
+
1141
+ property :full_backup_spec, as: 'fullBackupSpec', class: Google::Apis::SpannerV1::FullBackupSpec, decorator: Google::Apis::SpannerV1::FullBackupSpec::Representation
1142
+
1143
+ property :incremental_backup_spec, as: 'incrementalBackupSpec', class: Google::Apis::SpannerV1::IncrementalBackupSpec, decorator: Google::Apis::SpannerV1::IncrementalBackupSpec::Representation
1144
+
1145
+ property :name, as: 'name'
1146
+ property :retention_duration, as: 'retentionDuration'
1147
+ property :spec, as: 'spec', class: Google::Apis::SpannerV1::BackupScheduleSpec, decorator: Google::Apis::SpannerV1::BackupScheduleSpec::Representation
1148
+
1149
+ property :update_time, as: 'updateTime'
1150
+ end
1151
+ end
1152
+
1153
+ class BackupScheduleSpec
1154
+ # @private
1155
+ class Representation < Google::Apis::Core::JsonRepresentation
1156
+ property :cron_spec, as: 'cronSpec', class: Google::Apis::SpannerV1::CrontabSpec, decorator: Google::Apis::SpannerV1::CrontabSpec::Representation
1157
+
1158
+ end
1159
+ end
1160
+
702
1161
  class BatchCreateSessionsRequest
703
1162
  # @private
704
1163
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -716,9 +1175,32 @@ module Google
716
1175
  end
717
1176
  end
718
1177
 
1178
+ class BatchWriteRequest
1179
+ # @private
1180
+ class Representation < Google::Apis::Core::JsonRepresentation
1181
+ property :exclude_txn_from_change_streams, as: 'excludeTxnFromChangeStreams'
1182
+ collection :mutation_groups, as: 'mutationGroups', class: Google::Apis::SpannerV1::MutationGroup, decorator: Google::Apis::SpannerV1::MutationGroup::Representation
1183
+
1184
+ property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
1185
+
1186
+ end
1187
+ end
1188
+
1189
+ class BatchWriteResponse
1190
+ # @private
1191
+ class Representation < Google::Apis::Core::JsonRepresentation
1192
+ property :commit_timestamp, as: 'commitTimestamp'
1193
+ collection :indexes, as: 'indexes'
1194
+ property :status, as: 'status', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
1195
+
1196
+ end
1197
+ end
1198
+
719
1199
  class BeginTransactionRequest
720
1200
  # @private
721
1201
  class Representation < Google::Apis::Core::JsonRepresentation
1202
+ property :mutation_key, as: 'mutationKey', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
1203
+
722
1204
  property :options, as: 'options', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
723
1205
 
724
1206
  property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
@@ -736,6 +1218,26 @@ module Google
736
1218
  end
737
1219
  end
738
1220
 
1221
+ class ChangeQuorumMetadata
1222
+ # @private
1223
+ class Representation < Google::Apis::Core::JsonRepresentation
1224
+ property :end_time, as: 'endTime'
1225
+ property :request, as: 'request', class: Google::Apis::SpannerV1::ChangeQuorumRequest, decorator: Google::Apis::SpannerV1::ChangeQuorumRequest::Representation
1226
+
1227
+ property :start_time, as: 'startTime'
1228
+ end
1229
+ end
1230
+
1231
+ class ChangeQuorumRequest
1232
+ # @private
1233
+ class Representation < Google::Apis::Core::JsonRepresentation
1234
+ property :etag, as: 'etag'
1235
+ property :name, as: 'name'
1236
+ property :quorum_type, as: 'quorumType', class: Google::Apis::SpannerV1::QuorumType, decorator: Google::Apis::SpannerV1::QuorumType::Representation
1237
+
1238
+ end
1239
+ end
1240
+
739
1241
  class ChildLink
740
1242
  # @private
741
1243
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -748,8 +1250,11 @@ module Google
748
1250
  class CommitRequest
749
1251
  # @private
750
1252
  class Representation < Google::Apis::Core::JsonRepresentation
1253
+ property :max_commit_delay, as: 'maxCommitDelay'
751
1254
  collection :mutations, as: 'mutations', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
752
1255
 
1256
+ property :precommit_token, as: 'precommitToken', class: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken, decorator: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken::Representation
1257
+
753
1258
  property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
754
1259
 
755
1260
  property :return_commit_stats, as: 'returnCommitStats'
@@ -765,6 +1270,8 @@ module Google
765
1270
  property :commit_stats, as: 'commitStats', class: Google::Apis::SpannerV1::CommitStats, decorator: Google::Apis::SpannerV1::CommitStats::Representation
766
1271
 
767
1272
  property :commit_timestamp, as: 'commitTimestamp'
1273
+ property :precommit_token, as: 'precommitToken', class: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken, decorator: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken::Representation
1274
+
768
1275
  end
769
1276
  end
770
1277
 
@@ -791,6 +1298,7 @@ module Google
791
1298
  class Representation < Google::Apis::Core::JsonRepresentation
792
1299
  property :encryption_type, as: 'encryptionType'
793
1300
  property :kms_key_name, as: 'kmsKeyName'
1301
+ collection :kms_key_names, as: 'kmsKeyNames'
794
1302
  end
795
1303
  end
796
1304
 
@@ -816,6 +1324,15 @@ module Google
816
1324
  end
817
1325
  end
818
1326
 
1327
+ class CreateBackupEncryptionConfig
1328
+ # @private
1329
+ class Representation < Google::Apis::Core::JsonRepresentation
1330
+ property :encryption_type, as: 'encryptionType'
1331
+ property :kms_key_name, as: 'kmsKeyName'
1332
+ collection :kms_key_names, as: 'kmsKeyNames'
1333
+ end
1334
+ end
1335
+
819
1336
  class CreateBackupMetadata
820
1337
  # @private
821
1338
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -841,7 +1358,29 @@ module Google
841
1358
  property :database_dialect, as: 'databaseDialect'
842
1359
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::SpannerV1::EncryptionConfig, decorator: Google::Apis::SpannerV1::EncryptionConfig::Representation
843
1360
 
844
- collection :extra_statements, as: 'extraStatements'
1361
+ collection :extra_statements, as: 'extraStatements'
1362
+ property :proto_descriptors, :base64 => true, as: 'protoDescriptors'
1363
+ end
1364
+ end
1365
+
1366
+ class CreateInstanceConfigMetadata
1367
+ # @private
1368
+ class Representation < Google::Apis::Core::JsonRepresentation
1369
+ property :cancel_time, as: 'cancelTime'
1370
+ property :instance_config, as: 'instanceConfig', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
1371
+
1372
+ property :progress, as: 'progress', class: Google::Apis::SpannerV1::InstanceOperationProgress, decorator: Google::Apis::SpannerV1::InstanceOperationProgress::Representation
1373
+
1374
+ end
1375
+ end
1376
+
1377
+ class CreateInstanceConfigRequest
1378
+ # @private
1379
+ class Representation < Google::Apis::Core::JsonRepresentation
1380
+ property :instance_config, as: 'instanceConfig', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
1381
+
1382
+ property :instance_config_id, as: 'instanceConfigId'
1383
+ property :validate_only, as: 'validateOnly'
845
1384
  end
846
1385
  end
847
1386
 
@@ -850,12 +1389,33 @@ module Google
850
1389
  class Representation < Google::Apis::Core::JsonRepresentation
851
1390
  property :cancel_time, as: 'cancelTime'
852
1391
  property :end_time, as: 'endTime'
1392
+ property :expected_fulfillment_period, as: 'expectedFulfillmentPeriod'
853
1393
  property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
854
1394
 
855
1395
  property :start_time, as: 'startTime'
856
1396
  end
857
1397
  end
858
1398
 
1399
+ class CreateInstancePartitionMetadata
1400
+ # @private
1401
+ class Representation < Google::Apis::Core::JsonRepresentation
1402
+ property :cancel_time, as: 'cancelTime'
1403
+ property :end_time, as: 'endTime'
1404
+ property :instance_partition, as: 'instancePartition', class: Google::Apis::SpannerV1::InstancePartition, decorator: Google::Apis::SpannerV1::InstancePartition::Representation
1405
+
1406
+ property :start_time, as: 'startTime'
1407
+ end
1408
+ end
1409
+
1410
+ class CreateInstancePartitionRequest
1411
+ # @private
1412
+ class Representation < Google::Apis::Core::JsonRepresentation
1413
+ property :instance_partition, as: 'instancePartition', class: Google::Apis::SpannerV1::InstancePartition, decorator: Google::Apis::SpannerV1::InstancePartition::Representation
1414
+
1415
+ property :instance_partition_id, as: 'instancePartitionId'
1416
+ end
1417
+ end
1418
+
859
1419
  class CreateInstanceRequest
860
1420
  # @private
861
1421
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -873,6 +1433,15 @@ module Google
873
1433
  end
874
1434
  end
875
1435
 
1436
+ class CrontabSpec
1437
+ # @private
1438
+ class Representation < Google::Apis::Core::JsonRepresentation
1439
+ property :creation_window, as: 'creationWindow'
1440
+ property :text, as: 'text'
1441
+ property :time_zone, as: 'timeZone'
1442
+ end
1443
+ end
1444
+
876
1445
  class Database
877
1446
  # @private
878
1447
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -880,11 +1449,15 @@ module Google
880
1449
  property :database_dialect, as: 'databaseDialect'
881
1450
  property :default_leader, as: 'defaultLeader'
882
1451
  property :earliest_version_time, as: 'earliestVersionTime'
1452
+ property :enable_drop_protection, as: 'enableDropProtection'
883
1453
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::SpannerV1::EncryptionConfig, decorator: Google::Apis::SpannerV1::EncryptionConfig::Representation
884
1454
 
885
1455
  collection :encryption_info, as: 'encryptionInfo', class: Google::Apis::SpannerV1::EncryptionInfo, decorator: Google::Apis::SpannerV1::EncryptionInfo::Representation
886
1456
 
887
1457
  property :name, as: 'name'
1458
+ property :quorum_info, as: 'quorumInfo', class: Google::Apis::SpannerV1::QuorumInfo, decorator: Google::Apis::SpannerV1::QuorumInfo::Representation
1459
+
1460
+ property :reconciling, as: 'reconciling'
888
1461
  property :restore_info, as: 'restoreInfo', class: Google::Apis::SpannerV1::RestoreInfo, decorator: Google::Apis::SpannerV1::RestoreInfo::Representation
889
1462
 
890
1463
  property :state, as: 'state'
@@ -899,6 +1472,15 @@ module Google
899
1472
  end
900
1473
  end
901
1474
 
1475
+ class DdlStatementActionInfo
1476
+ # @private
1477
+ class Representation < Google::Apis::Core::JsonRepresentation
1478
+ property :action, as: 'action'
1479
+ collection :entity_names, as: 'entityNames'
1480
+ property :entity_type, as: 'entityType'
1481
+ end
1482
+ end
1483
+
902
1484
  class Delete
903
1485
  # @private
904
1486
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -932,6 +1514,22 @@ module Google
932
1514
  end
933
1515
  end
934
1516
 
1517
+ class DirectedReadOptions
1518
+ # @private
1519
+ class Representation < Google::Apis::Core::JsonRepresentation
1520
+ property :exclude_replicas, as: 'excludeReplicas', class: Google::Apis::SpannerV1::ExcludeReplicas, decorator: Google::Apis::SpannerV1::ExcludeReplicas::Representation
1521
+
1522
+ property :include_replicas, as: 'includeReplicas', class: Google::Apis::SpannerV1::IncludeReplicas, decorator: Google::Apis::SpannerV1::IncludeReplicas::Representation
1523
+
1524
+ end
1525
+ end
1526
+
1527
+ class DualRegionQuorum
1528
+ # @private
1529
+ class Representation < Google::Apis::Core::JsonRepresentation
1530
+ end
1531
+ end
1532
+
935
1533
  class Empty
936
1534
  # @private
937
1535
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -942,6 +1540,7 @@ module Google
942
1540
  # @private
943
1541
  class Representation < Google::Apis::Core::JsonRepresentation
944
1542
  property :kms_key_name, as: 'kmsKeyName'
1543
+ collection :kms_key_names, as: 'kmsKeyNames'
945
1544
  end
946
1545
  end
947
1546
 
@@ -955,9 +1554,18 @@ module Google
955
1554
  end
956
1555
  end
957
1556
 
1557
+ class ExcludeReplicas
1558
+ # @private
1559
+ class Representation < Google::Apis::Core::JsonRepresentation
1560
+ collection :replica_selections, as: 'replicaSelections', class: Google::Apis::SpannerV1::ReplicaSelection, decorator: Google::Apis::SpannerV1::ReplicaSelection::Representation
1561
+
1562
+ end
1563
+ end
1564
+
958
1565
  class ExecuteBatchDmlRequest
959
1566
  # @private
960
1567
  class Representation < Google::Apis::Core::JsonRepresentation
1568
+ property :last_statements, as: 'lastStatements'
961
1569
  property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
962
1570
 
963
1571
  property :seqno, :numeric_string => true, as: 'seqno'
@@ -971,6 +1579,8 @@ module Google
971
1579
  class ExecuteBatchDmlResponse
972
1580
  # @private
973
1581
  class Representation < Google::Apis::Core::JsonRepresentation
1582
+ property :precommit_token, as: 'precommitToken', class: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken, decorator: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken::Representation
1583
+
974
1584
  collection :result_sets, as: 'resultSets', class: Google::Apis::SpannerV1::ResultSet, decorator: Google::Apis::SpannerV1::ResultSet::Representation
975
1585
 
976
1586
  property :status, as: 'status', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
@@ -981,6 +1591,10 @@ module Google
981
1591
  class ExecuteSqlRequest
982
1592
  # @private
983
1593
  class Representation < Google::Apis::Core::JsonRepresentation
1594
+ property :data_boost_enabled, as: 'dataBoostEnabled'
1595
+ property :directed_read_options, as: 'directedReadOptions', class: Google::Apis::SpannerV1::DirectedReadOptions, decorator: Google::Apis::SpannerV1::DirectedReadOptions::Representation
1596
+
1597
+ property :last_statement, as: 'lastStatement'
984
1598
  hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
985
1599
 
986
1600
  hash :params, as: 'params'
@@ -1026,9 +1640,16 @@ module Google
1026
1640
  end
1027
1641
  end
1028
1642
 
1643
+ class FullBackupSpec
1644
+ # @private
1645
+ class Representation < Google::Apis::Core::JsonRepresentation
1646
+ end
1647
+ end
1648
+
1029
1649
  class GetDatabaseDdlResponse
1030
1650
  # @private
1031
1651
  class Representation < Google::Apis::Core::JsonRepresentation
1652
+ property :proto_descriptors, :base64 => true, as: 'protoDescriptors'
1032
1653
  collection :statements, as: 'statements'
1033
1654
  end
1034
1655
  end
@@ -1048,6 +1669,29 @@ module Google
1048
1669
  end
1049
1670
  end
1050
1671
 
1672
+ class IncludeReplicas
1673
+ # @private
1674
+ class Representation < Google::Apis::Core::JsonRepresentation
1675
+ property :auto_failover_disabled, as: 'autoFailoverDisabled'
1676
+ collection :replica_selections, as: 'replicaSelections', class: Google::Apis::SpannerV1::ReplicaSelection, decorator: Google::Apis::SpannerV1::ReplicaSelection::Representation
1677
+
1678
+ end
1679
+ end
1680
+
1681
+ class IncrementalBackupSpec
1682
+ # @private
1683
+ class Representation < Google::Apis::Core::JsonRepresentation
1684
+ end
1685
+ end
1686
+
1687
+ class IndexAdvice
1688
+ # @private
1689
+ class Representation < Google::Apis::Core::JsonRepresentation
1690
+ collection :ddl, as: 'ddl'
1691
+ property :improvement_factor, as: 'improvementFactor'
1692
+ end
1693
+ end
1694
+
1051
1695
  class IndexedHotKey
1052
1696
  # @private
1053
1697
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1066,9 +1710,13 @@ module Google
1066
1710
  class Instance
1067
1711
  # @private
1068
1712
  class Representation < Google::Apis::Core::JsonRepresentation
1713
+ property :autoscaling_config, as: 'autoscalingConfig', class: Google::Apis::SpannerV1::AutoscalingConfig, decorator: Google::Apis::SpannerV1::AutoscalingConfig::Representation
1714
+
1069
1715
  property :config, as: 'config'
1070
1716
  property :create_time, as: 'createTime'
1717
+ property :default_backup_schedule_type, as: 'defaultBackupScheduleType'
1071
1718
  property :display_name, as: 'displayName'
1719
+ property :edition, as: 'edition'
1072
1720
  collection :endpoint_uris, as: 'endpointUris'
1073
1721
  property :free_instance_metadata, as: 'freeInstanceMetadata', class: Google::Apis::SpannerV1::FreeInstanceMetadata, decorator: Google::Apis::SpannerV1::FreeInstanceMetadata::Representation
1074
1722
 
@@ -1077,6 +1725,8 @@ module Google
1077
1725
  property :name, as: 'name'
1078
1726
  property :node_count, as: 'nodeCount'
1079
1727
  property :processing_units, as: 'processingUnits'
1728
+ collection :replica_compute_capacity, as: 'replicaComputeCapacity', class: Google::Apis::SpannerV1::ReplicaComputeCapacity, decorator: Google::Apis::SpannerV1::ReplicaComputeCapacity::Representation
1729
+
1080
1730
  property :state, as: 'state'
1081
1731
  property :update_time, as: 'updateTime'
1082
1732
  end
@@ -1085,12 +1735,62 @@ module Google
1085
1735
  class InstanceConfig
1086
1736
  # @private
1087
1737
  class Representation < Google::Apis::Core::JsonRepresentation
1738
+ property :base_config, as: 'baseConfig'
1739
+ property :config_type, as: 'configType'
1088
1740
  property :display_name, as: 'displayName'
1741
+ property :etag, as: 'etag'
1089
1742
  property :free_instance_availability, as: 'freeInstanceAvailability'
1743
+ hash :labels, as: 'labels'
1090
1744
  collection :leader_options, as: 'leaderOptions'
1091
1745
  property :name, as: 'name'
1746
+ collection :optional_replicas, as: 'optionalReplicas', class: Google::Apis::SpannerV1::ReplicaInfo, decorator: Google::Apis::SpannerV1::ReplicaInfo::Representation
1747
+
1748
+ property :quorum_type, as: 'quorumType'
1749
+ property :reconciling, as: 'reconciling'
1092
1750
  collection :replicas, as: 'replicas', class: Google::Apis::SpannerV1::ReplicaInfo, decorator: Google::Apis::SpannerV1::ReplicaInfo::Representation
1093
1751
 
1752
+ property :state, as: 'state'
1753
+ property :storage_limit_per_processing_unit, :numeric_string => true, as: 'storageLimitPerProcessingUnit'
1754
+ end
1755
+ end
1756
+
1757
+ class InstanceOperationProgress
1758
+ # @private
1759
+ class Representation < Google::Apis::Core::JsonRepresentation
1760
+ property :end_time, as: 'endTime'
1761
+ property :progress_percent, as: 'progressPercent'
1762
+ property :start_time, as: 'startTime'
1763
+ end
1764
+ end
1765
+
1766
+ class InstancePartition
1767
+ # @private
1768
+ class Representation < Google::Apis::Core::JsonRepresentation
1769
+ property :config, as: 'config'
1770
+ property :create_time, as: 'createTime'
1771
+ property :display_name, as: 'displayName'
1772
+ property :etag, as: 'etag'
1773
+ property :name, as: 'name'
1774
+ property :node_count, as: 'nodeCount'
1775
+ property :processing_units, as: 'processingUnits'
1776
+ collection :referencing_backups, as: 'referencingBackups'
1777
+ collection :referencing_databases, as: 'referencingDatabases'
1778
+ property :state, as: 'state'
1779
+ property :update_time, as: 'updateTime'
1780
+ end
1781
+ end
1782
+
1783
+ class InstanceReplicaSelection
1784
+ # @private
1785
+ class Representation < Google::Apis::Core::JsonRepresentation
1786
+ property :location, as: 'location'
1787
+ end
1788
+ end
1789
+
1790
+ class Key
1791
+ # @private
1792
+ class Representation < Google::Apis::Core::JsonRepresentation
1793
+ collection :key_parts, as: 'keyParts'
1094
1794
  end
1095
1795
  end
1096
1796
 
@@ -1155,6 +1855,15 @@ module Google
1155
1855
  end
1156
1856
  end
1157
1857
 
1858
+ class ListBackupSchedulesResponse
1859
+ # @private
1860
+ class Representation < Google::Apis::Core::JsonRepresentation
1861
+ collection :backup_schedules, as: 'backupSchedules', class: Google::Apis::SpannerV1::BackupSchedule, decorator: Google::Apis::SpannerV1::BackupSchedule::Representation
1862
+
1863
+ property :next_page_token, as: 'nextPageToken'
1864
+ end
1865
+ end
1866
+
1158
1867
  class ListBackupsResponse
1159
1868
  # @private
1160
1869
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1191,6 +1900,15 @@ module Google
1191
1900
  end
1192
1901
  end
1193
1902
 
1903
+ class ListInstanceConfigOperationsResponse
1904
+ # @private
1905
+ class Representation < Google::Apis::Core::JsonRepresentation
1906
+ property :next_page_token, as: 'nextPageToken'
1907
+ collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
1908
+
1909
+ end
1910
+ end
1911
+
1194
1912
  class ListInstanceConfigsResponse
1195
1913
  # @private
1196
1914
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1200,6 +1918,26 @@ module Google
1200
1918
  end
1201
1919
  end
1202
1920
 
1921
+ class ListInstancePartitionOperationsResponse
1922
+ # @private
1923
+ class Representation < Google::Apis::Core::JsonRepresentation
1924
+ property :next_page_token, as: 'nextPageToken'
1925
+ collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
1926
+
1927
+ collection :unreachable_instance_partitions, as: 'unreachableInstancePartitions'
1928
+ end
1929
+ end
1930
+
1931
+ class ListInstancePartitionsResponse
1932
+ # @private
1933
+ class Representation < Google::Apis::Core::JsonRepresentation
1934
+ collection :instance_partitions, as: 'instancePartitions', class: Google::Apis::SpannerV1::InstancePartition, decorator: Google::Apis::SpannerV1::InstancePartition::Representation
1935
+
1936
+ property :next_page_token, as: 'nextPageToken'
1937
+ collection :unreachable, as: 'unreachable'
1938
+ end
1939
+ end
1940
+
1203
1941
  class ListInstancesResponse
1204
1942
  # @private
1205
1943
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1287,6 +2025,21 @@ module Google
1287
2025
  end
1288
2026
  end
1289
2027
 
2028
+ class MoveInstanceRequest
2029
+ # @private
2030
+ class Representation < Google::Apis::Core::JsonRepresentation
2031
+ property :target_config, as: 'targetConfig'
2032
+ end
2033
+ end
2034
+
2035
+ class MultiplexedSessionPrecommitToken
2036
+ # @private
2037
+ class Representation < Google::Apis::Core::JsonRepresentation
2038
+ property :precommit_token, :base64 => true, as: 'precommitToken'
2039
+ property :seq_num, as: 'seqNum'
2040
+ end
2041
+ end
2042
+
1290
2043
  class Mutation
1291
2044
  # @private
1292
2045
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1303,6 +2056,14 @@ module Google
1303
2056
  end
1304
2057
  end
1305
2058
 
2059
+ class MutationGroup
2060
+ # @private
2061
+ class Representation < Google::Apis::Core::JsonRepresentation
2062
+ collection :mutations, as: 'mutations', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
2063
+
2064
+ end
2065
+ end
2066
+
1306
2067
  class Operation
1307
2068
  # @private
1308
2069
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1339,6 +2100,8 @@ module Google
1339
2100
  property :chunked_value, as: 'chunkedValue'
1340
2101
  property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
1341
2102
 
2103
+ property :precommit_token, as: 'precommitToken', class: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken, decorator: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken::Representation
2104
+
1342
2105
  property :resume_token, :base64 => true, as: 'resumeToken'
1343
2106
  property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
1344
2107
 
@@ -1442,6 +2205,14 @@ module Google
1442
2205
  end
1443
2206
  end
1444
2207
 
2208
+ class QueryAdvisorResult
2209
+ # @private
2210
+ class Representation < Google::Apis::Core::JsonRepresentation
2211
+ collection :index_advice, as: 'indexAdvice', class: Google::Apis::SpannerV1::IndexAdvice, decorator: Google::Apis::SpannerV1::IndexAdvice::Representation
2212
+
2213
+ end
2214
+ end
2215
+
1445
2216
  class QueryOptions
1446
2217
  # @private
1447
2218
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1455,6 +2226,29 @@ module Google
1455
2226
  class Representation < Google::Apis::Core::JsonRepresentation
1456
2227
  collection :plan_nodes, as: 'planNodes', class: Google::Apis::SpannerV1::PlanNode, decorator: Google::Apis::SpannerV1::PlanNode::Representation
1457
2228
 
2229
+ property :query_advice, as: 'queryAdvice', class: Google::Apis::SpannerV1::QueryAdvisorResult, decorator: Google::Apis::SpannerV1::QueryAdvisorResult::Representation
2230
+
2231
+ end
2232
+ end
2233
+
2234
+ class QuorumInfo
2235
+ # @private
2236
+ class Representation < Google::Apis::Core::JsonRepresentation
2237
+ property :etag, as: 'etag'
2238
+ property :initiator, as: 'initiator'
2239
+ property :quorum_type, as: 'quorumType', class: Google::Apis::SpannerV1::QuorumType, decorator: Google::Apis::SpannerV1::QuorumType::Representation
2240
+
2241
+ property :start_time, as: 'startTime'
2242
+ end
2243
+ end
2244
+
2245
+ class QuorumType
2246
+ # @private
2247
+ class Representation < Google::Apis::Core::JsonRepresentation
2248
+ property :dual_region, as: 'dualRegion', class: Google::Apis::SpannerV1::DualRegionQuorum, decorator: Google::Apis::SpannerV1::DualRegionQuorum::Representation
2249
+
2250
+ property :single_region, as: 'singleRegion', class: Google::Apis::SpannerV1::SingleRegionQuorum, decorator: Google::Apis::SpannerV1::SingleRegionQuorum::Representation
2251
+
1458
2252
  end
1459
2253
  end
1460
2254
 
@@ -1474,10 +2268,15 @@ module Google
1474
2268
  # @private
1475
2269
  class Representation < Google::Apis::Core::JsonRepresentation
1476
2270
  collection :columns, as: 'columns'
2271
+ property :data_boost_enabled, as: 'dataBoostEnabled'
2272
+ property :directed_read_options, as: 'directedReadOptions', class: Google::Apis::SpannerV1::DirectedReadOptions, decorator: Google::Apis::SpannerV1::DirectedReadOptions::Representation
2273
+
1477
2274
  property :index, as: 'index'
1478
2275
  property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
1479
2276
 
1480
2277
  property :limit, :numeric_string => true, as: 'limit'
2278
+ property :lock_hint, as: 'lockHint'
2279
+ property :order_by, as: 'orderBy'
1481
2280
  property :partition_token, :base64 => true, as: 'partitionToken'
1482
2281
  property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
1483
2282
 
@@ -1491,6 +2290,18 @@ module Google
1491
2290
  class ReadWrite
1492
2291
  # @private
1493
2292
  class Representation < Google::Apis::Core::JsonRepresentation
2293
+ property :multiplexed_session_previous_transaction_id, :base64 => true, as: 'multiplexedSessionPreviousTransactionId'
2294
+ property :read_lock_mode, as: 'readLockMode'
2295
+ end
2296
+ end
2297
+
2298
+ class ReplicaComputeCapacity
2299
+ # @private
2300
+ class Representation < Google::Apis::Core::JsonRepresentation
2301
+ property :node_count, as: 'nodeCount'
2302
+ property :processing_units, as: 'processingUnits'
2303
+ property :replica_selection, as: 'replicaSelection', class: Google::Apis::SpannerV1::InstanceReplicaSelection, decorator: Google::Apis::SpannerV1::InstanceReplicaSelection::Representation
2304
+
1494
2305
  end
1495
2306
  end
1496
2307
 
@@ -1503,6 +2314,14 @@ module Google
1503
2314
  end
1504
2315
  end
1505
2316
 
2317
+ class ReplicaSelection
2318
+ # @private
2319
+ class Representation < Google::Apis::Core::JsonRepresentation
2320
+ property :location, as: 'location'
2321
+ property :type, as: 'type'
2322
+ end
2323
+ end
2324
+
1506
2325
  class RequestOptions
1507
2326
  # @private
1508
2327
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1517,6 +2336,7 @@ module Google
1517
2336
  class Representation < Google::Apis::Core::JsonRepresentation
1518
2337
  property :encryption_type, as: 'encryptionType'
1519
2338
  property :kms_key_name, as: 'kmsKeyName'
2339
+ collection :kms_key_names, as: 'kmsKeyNames'
1520
2340
  end
1521
2341
  end
1522
2342
 
@@ -1558,6 +2378,8 @@ module Google
1558
2378
  class Representation < Google::Apis::Core::JsonRepresentation
1559
2379
  property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
1560
2380
 
2381
+ property :precommit_token, as: 'precommitToken', class: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken, decorator: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken::Representation
2382
+
1561
2383
  collection :rows, as: 'rows', :class => Array do
1562
2384
  include Representable::JSON::Collection
1563
2385
  items
@@ -1575,6 +2397,8 @@ module Google
1575
2397
 
1576
2398
  property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation
1577
2399
 
2400
+ property :undeclared_parameters, as: 'undeclaredParameters', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
2401
+
1578
2402
  end
1579
2403
  end
1580
2404
 
@@ -1625,6 +2449,7 @@ module Google
1625
2449
  property :create_time, as: 'createTime'
1626
2450
  property :creator_role, as: 'creatorRole'
1627
2451
  hash :labels, as: 'labels'
2452
+ property :multiplexed, as: 'multiplexed'
1628
2453
  property :name, as: 'name'
1629
2454
  end
1630
2455
  end
@@ -1645,6 +2470,24 @@ module Google
1645
2470
  end
1646
2471
  end
1647
2472
 
2473
+ class SingleRegionQuorum
2474
+ # @private
2475
+ class Representation < Google::Apis::Core::JsonRepresentation
2476
+ property :serving_location, as: 'servingLocation'
2477
+ end
2478
+ end
2479
+
2480
+ class SplitPoints
2481
+ # @private
2482
+ class Representation < Google::Apis::Core::JsonRepresentation
2483
+ property :expire_time, as: 'expireTime'
2484
+ property :index, as: 'index'
2485
+ collection :keys, as: 'keys', class: Google::Apis::SpannerV1::Key, decorator: Google::Apis::SpannerV1::Key::Representation
2486
+
2487
+ property :table, as: 'table'
2488
+ end
2489
+ end
2490
+
1648
2491
  class Statement
1649
2492
  # @private
1650
2493
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1690,6 +2533,8 @@ module Google
1690
2533
  # @private
1691
2534
  class Representation < Google::Apis::Core::JsonRepresentation
1692
2535
  property :id, :base64 => true, as: 'id'
2536
+ property :precommit_token, as: 'precommitToken', class: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken, decorator: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken::Representation
2537
+
1693
2538
  property :read_timestamp, as: 'readTimestamp'
1694
2539
  end
1695
2540
  end
@@ -1697,6 +2542,7 @@ module Google
1697
2542
  class TransactionOptions
1698
2543
  # @private
1699
2544
  class Representation < Google::Apis::Core::JsonRepresentation
2545
+ property :exclude_txn_from_change_streams, as: 'excludeTxnFromChangeStreams'
1700
2546
  property :partitioned_dml, as: 'partitionedDml', class: Google::Apis::SpannerV1::PartitionedDml, decorator: Google::Apis::SpannerV1::PartitionedDml::Representation
1701
2547
 
1702
2548
  property :read_only, as: 'readOnly', class: Google::Apis::SpannerV1::ReadOnly, decorator: Google::Apis::SpannerV1::ReadOnly::Representation
@@ -1723,6 +2569,7 @@ module Google
1723
2569
  property :array_element_type, as: 'arrayElementType', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
1724
2570
 
1725
2571
  property :code, as: 'code'
2572
+ property :proto_type_fqn, as: 'protoTypeFqn'
1726
2573
  property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
1727
2574
 
1728
2575
  property :type_annotation, as: 'typeAnnotation'
@@ -1732,6 +2579,8 @@ module Google
1732
2579
  class UpdateDatabaseDdlMetadata
1733
2580
  # @private
1734
2581
  class Representation < Google::Apis::Core::JsonRepresentation
2582
+ collection :actions, as: 'actions', class: Google::Apis::SpannerV1::DdlStatementActionInfo, decorator: Google::Apis::SpannerV1::DdlStatementActionInfo::Representation
2583
+
1735
2584
  collection :commit_timestamps, as: 'commitTimestamps'
1736
2585
  property :database, as: 'database'
1737
2586
  collection :progress, as: 'progress', class: Google::Apis::SpannerV1::OperationProgress, decorator: Google::Apis::SpannerV1::OperationProgress::Representation
@@ -1745,21 +2594,84 @@ module Google
1745
2594
  # @private
1746
2595
  class Representation < Google::Apis::Core::JsonRepresentation
1747
2596
  property :operation_id, as: 'operationId'
2597
+ property :proto_descriptors, :base64 => true, as: 'protoDescriptors'
1748
2598
  collection :statements, as: 'statements'
1749
2599
  end
1750
2600
  end
1751
2601
 
2602
+ class UpdateDatabaseMetadata
2603
+ # @private
2604
+ class Representation < Google::Apis::Core::JsonRepresentation
2605
+ property :cancel_time, as: 'cancelTime'
2606
+ property :progress, as: 'progress', class: Google::Apis::SpannerV1::OperationProgress, decorator: Google::Apis::SpannerV1::OperationProgress::Representation
2607
+
2608
+ property :request, as: 'request', class: Google::Apis::SpannerV1::UpdateDatabaseRequest, decorator: Google::Apis::SpannerV1::UpdateDatabaseRequest::Representation
2609
+
2610
+ end
2611
+ end
2612
+
2613
+ class UpdateDatabaseRequest
2614
+ # @private
2615
+ class Representation < Google::Apis::Core::JsonRepresentation
2616
+ property :database, as: 'database', class: Google::Apis::SpannerV1::Database, decorator: Google::Apis::SpannerV1::Database::Representation
2617
+
2618
+ property :update_mask, as: 'updateMask'
2619
+ end
2620
+ end
2621
+
2622
+ class UpdateInstanceConfigMetadata
2623
+ # @private
2624
+ class Representation < Google::Apis::Core::JsonRepresentation
2625
+ property :cancel_time, as: 'cancelTime'
2626
+ property :instance_config, as: 'instanceConfig', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
2627
+
2628
+ property :progress, as: 'progress', class: Google::Apis::SpannerV1::InstanceOperationProgress, decorator: Google::Apis::SpannerV1::InstanceOperationProgress::Representation
2629
+
2630
+ end
2631
+ end
2632
+
2633
+ class UpdateInstanceConfigRequest
2634
+ # @private
2635
+ class Representation < Google::Apis::Core::JsonRepresentation
2636
+ property :instance_config, as: 'instanceConfig', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
2637
+
2638
+ property :update_mask, as: 'updateMask'
2639
+ property :validate_only, as: 'validateOnly'
2640
+ end
2641
+ end
2642
+
1752
2643
  class UpdateInstanceMetadata
1753
2644
  # @private
1754
2645
  class Representation < Google::Apis::Core::JsonRepresentation
1755
2646
  property :cancel_time, as: 'cancelTime'
1756
2647
  property :end_time, as: 'endTime'
2648
+ property :expected_fulfillment_period, as: 'expectedFulfillmentPeriod'
1757
2649
  property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
1758
2650
 
1759
2651
  property :start_time, as: 'startTime'
1760
2652
  end
1761
2653
  end
1762
2654
 
2655
+ class UpdateInstancePartitionMetadata
2656
+ # @private
2657
+ class Representation < Google::Apis::Core::JsonRepresentation
2658
+ property :cancel_time, as: 'cancelTime'
2659
+ property :end_time, as: 'endTime'
2660
+ property :instance_partition, as: 'instancePartition', class: Google::Apis::SpannerV1::InstancePartition, decorator: Google::Apis::SpannerV1::InstancePartition::Representation
2661
+
2662
+ property :start_time, as: 'startTime'
2663
+ end
2664
+ end
2665
+
2666
+ class UpdateInstancePartitionRequest
2667
+ # @private
2668
+ class Representation < Google::Apis::Core::JsonRepresentation
2669
+ property :field_mask, as: 'fieldMask'
2670
+ property :instance_partition, as: 'instancePartition', class: Google::Apis::SpannerV1::InstancePartition, decorator: Google::Apis::SpannerV1::InstancePartition::Representation
2671
+
2672
+ end
2673
+ end
2674
+
1763
2675
  class UpdateInstanceRequest
1764
2676
  # @private
1765
2677
  class Representation < Google::Apis::Core::JsonRepresentation