google-apis-spanner_v1 0.36.0 → 0.38.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,36 @@ module Google
22
22
  module Apis
23
23
  module SpannerV1
24
24
 
25
+ class AsymmetricAutoscalingOption
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AutoscalingConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AutoscalingConfigOverrides
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AutoscalingLimits
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AutoscalingTargets
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
25
55
  class Backup
26
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
57
 
@@ -34,6 +64,18 @@ module Google
34
64
  include Google::Apis::Core::JsonObjectSupport
35
65
  end
36
66
 
67
+ class BackupSchedule
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class BackupScheduleSpec
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
37
79
  class BatchCreateSessionsRequest
38
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
81
 
@@ -46,6 +88,18 @@ module Google
46
88
  include Google::Apis::Core::JsonObjectSupport
47
89
  end
48
90
 
91
+ class BatchWriteRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class BatchWriteResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
49
103
  class BeginTransactionRequest
50
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
105
 
@@ -58,6 +112,18 @@ module Google
58
112
  include Google::Apis::Core::JsonObjectSupport
59
113
  end
60
114
 
115
+ class ChangeQuorumMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ChangeQuorumRequest
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
61
127
  class ChildLink
62
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
129
 
@@ -106,6 +172,12 @@ module Google
106
172
  include Google::Apis::Core::JsonObjectSupport
107
173
  end
108
174
 
175
+ class CreateBackupEncryptionConfig
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
109
181
  class CreateBackupMetadata
110
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
183
 
@@ -124,12 +196,36 @@ module Google
124
196
  include Google::Apis::Core::JsonObjectSupport
125
197
  end
126
198
 
199
+ class CreateInstanceConfigMetadata
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class CreateInstanceConfigRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
127
211
  class CreateInstanceMetadata
128
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
213
 
130
214
  include Google::Apis::Core::JsonObjectSupport
131
215
  end
132
216
 
217
+ class CreateInstancePartitionMetadata
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class CreateInstancePartitionRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
133
229
  class CreateInstanceRequest
134
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
231
 
@@ -142,6 +238,12 @@ module Google
142
238
  include Google::Apis::Core::JsonObjectSupport
143
239
  end
144
240
 
241
+ class CrontabSpec
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
145
247
  class Database
146
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
249
 
@@ -154,6 +256,12 @@ module Google
154
256
  include Google::Apis::Core::JsonObjectSupport
155
257
  end
156
258
 
259
+ class DdlStatementActionInfo
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
157
265
  class Delete
158
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
267
 
@@ -172,6 +280,18 @@ module Google
172
280
  include Google::Apis::Core::JsonObjectSupport
173
281
  end
174
282
 
283
+ class DirectedReadOptions
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class DualRegionQuorum
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
175
295
  class Empty
176
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
297
 
@@ -190,6 +310,12 @@ module Google
190
310
  include Google::Apis::Core::JsonObjectSupport
191
311
  end
192
312
 
313
+ class ExcludeReplicas
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
193
319
  class ExecuteBatchDmlRequest
194
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
321
 
@@ -226,6 +352,12 @@ module Google
226
352
  include Google::Apis::Core::JsonObjectSupport
227
353
  end
228
354
 
355
+ class FullBackupSpec
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
229
361
  class GetDatabaseDdlResponse
230
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
363
 
@@ -244,6 +376,24 @@ module Google
244
376
  include Google::Apis::Core::JsonObjectSupport
245
377
  end
246
378
 
379
+ class IncludeReplicas
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class IncrementalBackupSpec
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class IndexAdvice
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
247
397
  class IndexedHotKey
248
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
399
 
@@ -268,6 +418,24 @@ module Google
268
418
  include Google::Apis::Core::JsonObjectSupport
269
419
  end
270
420
 
421
+ class InstanceOperationProgress
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class InstancePartition
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class InstanceReplicaSelection
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
271
439
  class KeyRange
272
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
441
 
@@ -298,6 +466,12 @@ module Google
298
466
  include Google::Apis::Core::JsonObjectSupport
299
467
  end
300
468
 
469
+ class ListBackupSchedulesResponse
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
301
475
  class ListBackupsResponse
302
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
477
 
@@ -322,12 +496,30 @@ module Google
322
496
  include Google::Apis::Core::JsonObjectSupport
323
497
  end
324
498
 
499
+ class ListInstanceConfigOperationsResponse
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
325
505
  class ListInstanceConfigsResponse
326
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
507
 
328
508
  include Google::Apis::Core::JsonObjectSupport
329
509
  end
330
510
 
511
+ class ListInstancePartitionOperationsResponse
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class ListInstancePartitionsResponse
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
331
523
  class ListInstancesResponse
332
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
525
 
@@ -376,12 +568,30 @@ module Google
376
568
  include Google::Apis::Core::JsonObjectSupport
377
569
  end
378
570
 
571
+ class MoveInstanceRequest
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
577
+ class MultiplexedSessionPrecommitToken
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
379
583
  class Mutation
380
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
585
 
382
586
  include Google::Apis::Core::JsonObjectSupport
383
587
  end
384
588
 
589
+ class MutationGroup
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
385
595
  class Operation
386
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
597
 
@@ -460,6 +670,12 @@ module Google
460
670
  include Google::Apis::Core::JsonObjectSupport
461
671
  end
462
672
 
673
+ class QueryAdvisorResult
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
463
679
  class QueryOptions
464
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
681
 
@@ -472,6 +688,18 @@ module Google
472
688
  include Google::Apis::Core::JsonObjectSupport
473
689
  end
474
690
 
691
+ class QuorumInfo
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
697
+ class QuorumType
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
475
703
  class ReadOnly
476
704
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
705
 
@@ -490,12 +718,24 @@ module Google
490
718
  include Google::Apis::Core::JsonObjectSupport
491
719
  end
492
720
 
721
+ class ReplicaComputeCapacity
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
493
727
  class ReplicaInfo
494
728
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
729
 
496
730
  include Google::Apis::Core::JsonObjectSupport
497
731
  end
498
732
 
733
+ class ReplicaSelection
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
499
739
  class RequestOptions
500
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
741
 
@@ -580,6 +820,12 @@ module Google
580
820
  include Google::Apis::Core::JsonObjectSupport
581
821
  end
582
822
 
823
+ class SingleRegionQuorum
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
583
829
  class Statement
584
830
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
831
 
@@ -646,12 +892,48 @@ module Google
646
892
  include Google::Apis::Core::JsonObjectSupport
647
893
  end
648
894
 
895
+ class UpdateDatabaseMetadata
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
901
+ class UpdateDatabaseRequest
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ class UpdateInstanceConfigMetadata
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
913
+ class UpdateInstanceConfigRequest
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
649
919
  class UpdateInstanceMetadata
650
920
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
921
 
652
922
  include Google::Apis::Core::JsonObjectSupport
653
923
  end
654
924
 
925
+ class UpdateInstancePartitionMetadata
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
931
+ class UpdateInstancePartitionRequest
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
655
937
  class UpdateInstanceRequest
656
938
  class Representation < Google::Apis::Core::JsonRepresentation; end
657
939
 
@@ -670,17 +952,73 @@ module Google
670
952
  include Google::Apis::Core::JsonObjectSupport
671
953
  end
672
954
 
955
+ class AsymmetricAutoscalingOption
956
+ # @private
957
+ class Representation < Google::Apis::Core::JsonRepresentation
958
+ property :overrides, as: 'overrides', class: Google::Apis::SpannerV1::AutoscalingConfigOverrides, decorator: Google::Apis::SpannerV1::AutoscalingConfigOverrides::Representation
959
+
960
+ property :replica_selection, as: 'replicaSelection', class: Google::Apis::SpannerV1::InstanceReplicaSelection, decorator: Google::Apis::SpannerV1::InstanceReplicaSelection::Representation
961
+
962
+ end
963
+ end
964
+
965
+ class AutoscalingConfig
966
+ # @private
967
+ class Representation < Google::Apis::Core::JsonRepresentation
968
+ collection :asymmetric_autoscaling_options, as: 'asymmetricAutoscalingOptions', class: Google::Apis::SpannerV1::AsymmetricAutoscalingOption, decorator: Google::Apis::SpannerV1::AsymmetricAutoscalingOption::Representation
969
+
970
+ property :autoscaling_limits, as: 'autoscalingLimits', class: Google::Apis::SpannerV1::AutoscalingLimits, decorator: Google::Apis::SpannerV1::AutoscalingLimits::Representation
971
+
972
+ property :autoscaling_targets, as: 'autoscalingTargets', class: Google::Apis::SpannerV1::AutoscalingTargets, decorator: Google::Apis::SpannerV1::AutoscalingTargets::Representation
973
+
974
+ end
975
+ end
976
+
977
+ class AutoscalingConfigOverrides
978
+ # @private
979
+ class Representation < Google::Apis::Core::JsonRepresentation
980
+ property :autoscaling_limits, as: 'autoscalingLimits', class: Google::Apis::SpannerV1::AutoscalingLimits, decorator: Google::Apis::SpannerV1::AutoscalingLimits::Representation
981
+
982
+ property :autoscaling_target_high_priority_cpu_utilization_percent, as: 'autoscalingTargetHighPriorityCpuUtilizationPercent'
983
+ end
984
+ end
985
+
986
+ class AutoscalingLimits
987
+ # @private
988
+ class Representation < Google::Apis::Core::JsonRepresentation
989
+ property :max_nodes, as: 'maxNodes'
990
+ property :max_processing_units, as: 'maxProcessingUnits'
991
+ property :min_nodes, as: 'minNodes'
992
+ property :min_processing_units, as: 'minProcessingUnits'
993
+ end
994
+ end
995
+
996
+ class AutoscalingTargets
997
+ # @private
998
+ class Representation < Google::Apis::Core::JsonRepresentation
999
+ property :high_priority_cpu_utilization_percent, as: 'highPriorityCpuUtilizationPercent'
1000
+ property :storage_utilization_percent, as: 'storageUtilizationPercent'
1001
+ end
1002
+ end
1003
+
673
1004
  class Backup
674
1005
  # @private
675
1006
  class Representation < Google::Apis::Core::JsonRepresentation
1007
+ collection :backup_schedules, as: 'backupSchedules'
676
1008
  property :create_time, as: 'createTime'
677
1009
  property :database, as: 'database'
678
1010
  property :database_dialect, as: 'databaseDialect'
679
1011
  property :encryption_info, as: 'encryptionInfo', class: Google::Apis::SpannerV1::EncryptionInfo, decorator: Google::Apis::SpannerV1::EncryptionInfo::Representation
680
1012
 
1013
+ collection :encryption_information, as: 'encryptionInformation', class: Google::Apis::SpannerV1::EncryptionInfo, decorator: Google::Apis::SpannerV1::EncryptionInfo::Representation
1014
+
1015
+ property :exclusive_size_bytes, :numeric_string => true, as: 'exclusiveSizeBytes'
681
1016
  property :expire_time, as: 'expireTime'
1017
+ property :freeable_size_bytes, :numeric_string => true, as: 'freeableSizeBytes'
1018
+ property :incremental_backup_chain_id, as: 'incrementalBackupChainId'
682
1019
  property :max_expire_time, as: 'maxExpireTime'
683
1020
  property :name, as: 'name'
1021
+ property :oldest_version_time, as: 'oldestVersionTime'
684
1022
  collection :referencing_backups, as: 'referencingBackups'
685
1023
  collection :referencing_databases, as: 'referencingDatabases'
686
1024
  property :size_bytes, :numeric_string => true, as: 'sizeBytes'
@@ -699,6 +1037,31 @@ module Google
699
1037
  end
700
1038
  end
701
1039
 
1040
+ class BackupSchedule
1041
+ # @private
1042
+ class Representation < Google::Apis::Core::JsonRepresentation
1043
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::SpannerV1::CreateBackupEncryptionConfig, decorator: Google::Apis::SpannerV1::CreateBackupEncryptionConfig::Representation
1044
+
1045
+ property :full_backup_spec, as: 'fullBackupSpec', class: Google::Apis::SpannerV1::FullBackupSpec, decorator: Google::Apis::SpannerV1::FullBackupSpec::Representation
1046
+
1047
+ property :incremental_backup_spec, as: 'incrementalBackupSpec', class: Google::Apis::SpannerV1::IncrementalBackupSpec, decorator: Google::Apis::SpannerV1::IncrementalBackupSpec::Representation
1048
+
1049
+ property :name, as: 'name'
1050
+ property :retention_duration, as: 'retentionDuration'
1051
+ property :spec, as: 'spec', class: Google::Apis::SpannerV1::BackupScheduleSpec, decorator: Google::Apis::SpannerV1::BackupScheduleSpec::Representation
1052
+
1053
+ property :update_time, as: 'updateTime'
1054
+ end
1055
+ end
1056
+
1057
+ class BackupScheduleSpec
1058
+ # @private
1059
+ class Representation < Google::Apis::Core::JsonRepresentation
1060
+ property :cron_spec, as: 'cronSpec', class: Google::Apis::SpannerV1::CrontabSpec, decorator: Google::Apis::SpannerV1::CrontabSpec::Representation
1061
+
1062
+ end
1063
+ end
1064
+
702
1065
  class BatchCreateSessionsRequest
703
1066
  # @private
704
1067
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -716,9 +1079,32 @@ module Google
716
1079
  end
717
1080
  end
718
1081
 
1082
+ class BatchWriteRequest
1083
+ # @private
1084
+ class Representation < Google::Apis::Core::JsonRepresentation
1085
+ property :exclude_txn_from_change_streams, as: 'excludeTxnFromChangeStreams'
1086
+ collection :mutation_groups, as: 'mutationGroups', class: Google::Apis::SpannerV1::MutationGroup, decorator: Google::Apis::SpannerV1::MutationGroup::Representation
1087
+
1088
+ property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
1089
+
1090
+ end
1091
+ end
1092
+
1093
+ class BatchWriteResponse
1094
+ # @private
1095
+ class Representation < Google::Apis::Core::JsonRepresentation
1096
+ property :commit_timestamp, as: 'commitTimestamp'
1097
+ collection :indexes, as: 'indexes'
1098
+ property :status, as: 'status', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
1099
+
1100
+ end
1101
+ end
1102
+
719
1103
  class BeginTransactionRequest
720
1104
  # @private
721
1105
  class Representation < Google::Apis::Core::JsonRepresentation
1106
+ property :mutation_key, as: 'mutationKey', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
1107
+
722
1108
  property :options, as: 'options', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
723
1109
 
724
1110
  property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
@@ -736,6 +1122,26 @@ module Google
736
1122
  end
737
1123
  end
738
1124
 
1125
+ class ChangeQuorumMetadata
1126
+ # @private
1127
+ class Representation < Google::Apis::Core::JsonRepresentation
1128
+ property :end_time, as: 'endTime'
1129
+ property :request, as: 'request', class: Google::Apis::SpannerV1::ChangeQuorumRequest, decorator: Google::Apis::SpannerV1::ChangeQuorumRequest::Representation
1130
+
1131
+ property :start_time, as: 'startTime'
1132
+ end
1133
+ end
1134
+
1135
+ class ChangeQuorumRequest
1136
+ # @private
1137
+ class Representation < Google::Apis::Core::JsonRepresentation
1138
+ property :etag, as: 'etag'
1139
+ property :name, as: 'name'
1140
+ property :quorum_type, as: 'quorumType', class: Google::Apis::SpannerV1::QuorumType, decorator: Google::Apis::SpannerV1::QuorumType::Representation
1141
+
1142
+ end
1143
+ end
1144
+
739
1145
  class ChildLink
740
1146
  # @private
741
1147
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -748,8 +1154,11 @@ module Google
748
1154
  class CommitRequest
749
1155
  # @private
750
1156
  class Representation < Google::Apis::Core::JsonRepresentation
1157
+ property :max_commit_delay, as: 'maxCommitDelay'
751
1158
  collection :mutations, as: 'mutations', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
752
1159
 
1160
+ property :precommit_token, as: 'precommitToken', class: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken, decorator: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken::Representation
1161
+
753
1162
  property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
754
1163
 
755
1164
  property :return_commit_stats, as: 'returnCommitStats'
@@ -765,6 +1174,8 @@ module Google
765
1174
  property :commit_stats, as: 'commitStats', class: Google::Apis::SpannerV1::CommitStats, decorator: Google::Apis::SpannerV1::CommitStats::Representation
766
1175
 
767
1176
  property :commit_timestamp, as: 'commitTimestamp'
1177
+ property :precommit_token, as: 'precommitToken', class: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken, decorator: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken::Representation
1178
+
768
1179
  end
769
1180
  end
770
1181
 
@@ -791,6 +1202,7 @@ module Google
791
1202
  class Representation < Google::Apis::Core::JsonRepresentation
792
1203
  property :encryption_type, as: 'encryptionType'
793
1204
  property :kms_key_name, as: 'kmsKeyName'
1205
+ collection :kms_key_names, as: 'kmsKeyNames'
794
1206
  end
795
1207
  end
796
1208
 
@@ -816,6 +1228,15 @@ module Google
816
1228
  end
817
1229
  end
818
1230
 
1231
+ class CreateBackupEncryptionConfig
1232
+ # @private
1233
+ class Representation < Google::Apis::Core::JsonRepresentation
1234
+ property :encryption_type, as: 'encryptionType'
1235
+ property :kms_key_name, as: 'kmsKeyName'
1236
+ collection :kms_key_names, as: 'kmsKeyNames'
1237
+ end
1238
+ end
1239
+
819
1240
  class CreateBackupMetadata
820
1241
  # @private
821
1242
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -842,6 +1263,28 @@ module Google
842
1263
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::SpannerV1::EncryptionConfig, decorator: Google::Apis::SpannerV1::EncryptionConfig::Representation
843
1264
 
844
1265
  collection :extra_statements, as: 'extraStatements'
1266
+ property :proto_descriptors, :base64 => true, as: 'protoDescriptors'
1267
+ end
1268
+ end
1269
+
1270
+ class CreateInstanceConfigMetadata
1271
+ # @private
1272
+ class Representation < Google::Apis::Core::JsonRepresentation
1273
+ property :cancel_time, as: 'cancelTime'
1274
+ property :instance_config, as: 'instanceConfig', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
1275
+
1276
+ property :progress, as: 'progress', class: Google::Apis::SpannerV1::InstanceOperationProgress, decorator: Google::Apis::SpannerV1::InstanceOperationProgress::Representation
1277
+
1278
+ end
1279
+ end
1280
+
1281
+ class CreateInstanceConfigRequest
1282
+ # @private
1283
+ class Representation < Google::Apis::Core::JsonRepresentation
1284
+ property :instance_config, as: 'instanceConfig', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
1285
+
1286
+ property :instance_config_id, as: 'instanceConfigId'
1287
+ property :validate_only, as: 'validateOnly'
845
1288
  end
846
1289
  end
847
1290
 
@@ -850,12 +1293,33 @@ module Google
850
1293
  class Representation < Google::Apis::Core::JsonRepresentation
851
1294
  property :cancel_time, as: 'cancelTime'
852
1295
  property :end_time, as: 'endTime'
1296
+ property :expected_fulfillment_period, as: 'expectedFulfillmentPeriod'
853
1297
  property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
854
1298
 
855
1299
  property :start_time, as: 'startTime'
856
1300
  end
857
1301
  end
858
1302
 
1303
+ class CreateInstancePartitionMetadata
1304
+ # @private
1305
+ class Representation < Google::Apis::Core::JsonRepresentation
1306
+ property :cancel_time, as: 'cancelTime'
1307
+ property :end_time, as: 'endTime'
1308
+ property :instance_partition, as: 'instancePartition', class: Google::Apis::SpannerV1::InstancePartition, decorator: Google::Apis::SpannerV1::InstancePartition::Representation
1309
+
1310
+ property :start_time, as: 'startTime'
1311
+ end
1312
+ end
1313
+
1314
+ class CreateInstancePartitionRequest
1315
+ # @private
1316
+ class Representation < Google::Apis::Core::JsonRepresentation
1317
+ property :instance_partition, as: 'instancePartition', class: Google::Apis::SpannerV1::InstancePartition, decorator: Google::Apis::SpannerV1::InstancePartition::Representation
1318
+
1319
+ property :instance_partition_id, as: 'instancePartitionId'
1320
+ end
1321
+ end
1322
+
859
1323
  class CreateInstanceRequest
860
1324
  # @private
861
1325
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -873,6 +1337,15 @@ module Google
873
1337
  end
874
1338
  end
875
1339
 
1340
+ class CrontabSpec
1341
+ # @private
1342
+ class Representation < Google::Apis::Core::JsonRepresentation
1343
+ property :creation_window, as: 'creationWindow'
1344
+ property :text, as: 'text'
1345
+ property :time_zone, as: 'timeZone'
1346
+ end
1347
+ end
1348
+
876
1349
  class Database
877
1350
  # @private
878
1351
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -880,11 +1353,15 @@ module Google
880
1353
  property :database_dialect, as: 'databaseDialect'
881
1354
  property :default_leader, as: 'defaultLeader'
882
1355
  property :earliest_version_time, as: 'earliestVersionTime'
1356
+ property :enable_drop_protection, as: 'enableDropProtection'
883
1357
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::SpannerV1::EncryptionConfig, decorator: Google::Apis::SpannerV1::EncryptionConfig::Representation
884
1358
 
885
1359
  collection :encryption_info, as: 'encryptionInfo', class: Google::Apis::SpannerV1::EncryptionInfo, decorator: Google::Apis::SpannerV1::EncryptionInfo::Representation
886
1360
 
887
1361
  property :name, as: 'name'
1362
+ property :quorum_info, as: 'quorumInfo', class: Google::Apis::SpannerV1::QuorumInfo, decorator: Google::Apis::SpannerV1::QuorumInfo::Representation
1363
+
1364
+ property :reconciling, as: 'reconciling'
888
1365
  property :restore_info, as: 'restoreInfo', class: Google::Apis::SpannerV1::RestoreInfo, decorator: Google::Apis::SpannerV1::RestoreInfo::Representation
889
1366
 
890
1367
  property :state, as: 'state'
@@ -899,6 +1376,15 @@ module Google
899
1376
  end
900
1377
  end
901
1378
 
1379
+ class DdlStatementActionInfo
1380
+ # @private
1381
+ class Representation < Google::Apis::Core::JsonRepresentation
1382
+ property :action, as: 'action'
1383
+ collection :entity_names, as: 'entityNames'
1384
+ property :entity_type, as: 'entityType'
1385
+ end
1386
+ end
1387
+
902
1388
  class Delete
903
1389
  # @private
904
1390
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -932,6 +1418,22 @@ module Google
932
1418
  end
933
1419
  end
934
1420
 
1421
+ class DirectedReadOptions
1422
+ # @private
1423
+ class Representation < Google::Apis::Core::JsonRepresentation
1424
+ property :exclude_replicas, as: 'excludeReplicas', class: Google::Apis::SpannerV1::ExcludeReplicas, decorator: Google::Apis::SpannerV1::ExcludeReplicas::Representation
1425
+
1426
+ property :include_replicas, as: 'includeReplicas', class: Google::Apis::SpannerV1::IncludeReplicas, decorator: Google::Apis::SpannerV1::IncludeReplicas::Representation
1427
+
1428
+ end
1429
+ end
1430
+
1431
+ class DualRegionQuorum
1432
+ # @private
1433
+ class Representation < Google::Apis::Core::JsonRepresentation
1434
+ end
1435
+ end
1436
+
935
1437
  class Empty
936
1438
  # @private
937
1439
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -942,6 +1444,7 @@ module Google
942
1444
  # @private
943
1445
  class Representation < Google::Apis::Core::JsonRepresentation
944
1446
  property :kms_key_name, as: 'kmsKeyName'
1447
+ collection :kms_key_names, as: 'kmsKeyNames'
945
1448
  end
946
1449
  end
947
1450
 
@@ -955,6 +1458,14 @@ module Google
955
1458
  end
956
1459
  end
957
1460
 
1461
+ class ExcludeReplicas
1462
+ # @private
1463
+ class Representation < Google::Apis::Core::JsonRepresentation
1464
+ collection :replica_selections, as: 'replicaSelections', class: Google::Apis::SpannerV1::ReplicaSelection, decorator: Google::Apis::SpannerV1::ReplicaSelection::Representation
1465
+
1466
+ end
1467
+ end
1468
+
958
1469
  class ExecuteBatchDmlRequest
959
1470
  # @private
960
1471
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -971,6 +1482,8 @@ module Google
971
1482
  class ExecuteBatchDmlResponse
972
1483
  # @private
973
1484
  class Representation < Google::Apis::Core::JsonRepresentation
1485
+ property :precommit_token, as: 'precommitToken', class: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken, decorator: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken::Representation
1486
+
974
1487
  collection :result_sets, as: 'resultSets', class: Google::Apis::SpannerV1::ResultSet, decorator: Google::Apis::SpannerV1::ResultSet::Representation
975
1488
 
976
1489
  property :status, as: 'status', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
@@ -981,6 +1494,9 @@ module Google
981
1494
  class ExecuteSqlRequest
982
1495
  # @private
983
1496
  class Representation < Google::Apis::Core::JsonRepresentation
1497
+ property :data_boost_enabled, as: 'dataBoostEnabled'
1498
+ property :directed_read_options, as: 'directedReadOptions', class: Google::Apis::SpannerV1::DirectedReadOptions, decorator: Google::Apis::SpannerV1::DirectedReadOptions::Representation
1499
+
984
1500
  hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
985
1501
 
986
1502
  hash :params, as: 'params'
@@ -1026,9 +1542,16 @@ module Google
1026
1542
  end
1027
1543
  end
1028
1544
 
1545
+ class FullBackupSpec
1546
+ # @private
1547
+ class Representation < Google::Apis::Core::JsonRepresentation
1548
+ end
1549
+ end
1550
+
1029
1551
  class GetDatabaseDdlResponse
1030
1552
  # @private
1031
1553
  class Representation < Google::Apis::Core::JsonRepresentation
1554
+ property :proto_descriptors, :base64 => true, as: 'protoDescriptors'
1032
1555
  collection :statements, as: 'statements'
1033
1556
  end
1034
1557
  end
@@ -1048,6 +1571,29 @@ module Google
1048
1571
  end
1049
1572
  end
1050
1573
 
1574
+ class IncludeReplicas
1575
+ # @private
1576
+ class Representation < Google::Apis::Core::JsonRepresentation
1577
+ property :auto_failover_disabled, as: 'autoFailoverDisabled'
1578
+ collection :replica_selections, as: 'replicaSelections', class: Google::Apis::SpannerV1::ReplicaSelection, decorator: Google::Apis::SpannerV1::ReplicaSelection::Representation
1579
+
1580
+ end
1581
+ end
1582
+
1583
+ class IncrementalBackupSpec
1584
+ # @private
1585
+ class Representation < Google::Apis::Core::JsonRepresentation
1586
+ end
1587
+ end
1588
+
1589
+ class IndexAdvice
1590
+ # @private
1591
+ class Representation < Google::Apis::Core::JsonRepresentation
1592
+ collection :ddl, as: 'ddl'
1593
+ property :improvement_factor, as: 'improvementFactor'
1594
+ end
1595
+ end
1596
+
1051
1597
  class IndexedHotKey
1052
1598
  # @private
1053
1599
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1066,9 +1612,13 @@ module Google
1066
1612
  class Instance
1067
1613
  # @private
1068
1614
  class Representation < Google::Apis::Core::JsonRepresentation
1615
+ property :autoscaling_config, as: 'autoscalingConfig', class: Google::Apis::SpannerV1::AutoscalingConfig, decorator: Google::Apis::SpannerV1::AutoscalingConfig::Representation
1616
+
1069
1617
  property :config, as: 'config'
1070
1618
  property :create_time, as: 'createTime'
1619
+ property :default_backup_schedule_type, as: 'defaultBackupScheduleType'
1071
1620
  property :display_name, as: 'displayName'
1621
+ property :edition, as: 'edition'
1072
1622
  collection :endpoint_uris, as: 'endpointUris'
1073
1623
  property :free_instance_metadata, as: 'freeInstanceMetadata', class: Google::Apis::SpannerV1::FreeInstanceMetadata, decorator: Google::Apis::SpannerV1::FreeInstanceMetadata::Representation
1074
1624
 
@@ -1077,6 +1627,8 @@ module Google
1077
1627
  property :name, as: 'name'
1078
1628
  property :node_count, as: 'nodeCount'
1079
1629
  property :processing_units, as: 'processingUnits'
1630
+ collection :replica_compute_capacity, as: 'replicaComputeCapacity', class: Google::Apis::SpannerV1::ReplicaComputeCapacity, decorator: Google::Apis::SpannerV1::ReplicaComputeCapacity::Representation
1631
+
1080
1632
  property :state, as: 'state'
1081
1633
  property :update_time, as: 'updateTime'
1082
1634
  end
@@ -1085,12 +1637,55 @@ module Google
1085
1637
  class InstanceConfig
1086
1638
  # @private
1087
1639
  class Representation < Google::Apis::Core::JsonRepresentation
1640
+ property :base_config, as: 'baseConfig'
1641
+ property :config_type, as: 'configType'
1088
1642
  property :display_name, as: 'displayName'
1643
+ property :etag, as: 'etag'
1089
1644
  property :free_instance_availability, as: 'freeInstanceAvailability'
1645
+ hash :labels, as: 'labels'
1090
1646
  collection :leader_options, as: 'leaderOptions'
1091
1647
  property :name, as: 'name'
1648
+ collection :optional_replicas, as: 'optionalReplicas', class: Google::Apis::SpannerV1::ReplicaInfo, decorator: Google::Apis::SpannerV1::ReplicaInfo::Representation
1649
+
1650
+ property :quorum_type, as: 'quorumType'
1651
+ property :reconciling, as: 'reconciling'
1092
1652
  collection :replicas, as: 'replicas', class: Google::Apis::SpannerV1::ReplicaInfo, decorator: Google::Apis::SpannerV1::ReplicaInfo::Representation
1093
1653
 
1654
+ property :state, as: 'state'
1655
+ property :storage_limit_per_processing_unit, :numeric_string => true, as: 'storageLimitPerProcessingUnit'
1656
+ end
1657
+ end
1658
+
1659
+ class InstanceOperationProgress
1660
+ # @private
1661
+ class Representation < Google::Apis::Core::JsonRepresentation
1662
+ property :end_time, as: 'endTime'
1663
+ property :progress_percent, as: 'progressPercent'
1664
+ property :start_time, as: 'startTime'
1665
+ end
1666
+ end
1667
+
1668
+ class InstancePartition
1669
+ # @private
1670
+ class Representation < Google::Apis::Core::JsonRepresentation
1671
+ property :config, as: 'config'
1672
+ property :create_time, as: 'createTime'
1673
+ property :display_name, as: 'displayName'
1674
+ property :etag, as: 'etag'
1675
+ property :name, as: 'name'
1676
+ property :node_count, as: 'nodeCount'
1677
+ property :processing_units, as: 'processingUnits'
1678
+ collection :referencing_backups, as: 'referencingBackups'
1679
+ collection :referencing_databases, as: 'referencingDatabases'
1680
+ property :state, as: 'state'
1681
+ property :update_time, as: 'updateTime'
1682
+ end
1683
+ end
1684
+
1685
+ class InstanceReplicaSelection
1686
+ # @private
1687
+ class Representation < Google::Apis::Core::JsonRepresentation
1688
+ property :location, as: 'location'
1094
1689
  end
1095
1690
  end
1096
1691
 
@@ -1155,6 +1750,15 @@ module Google
1155
1750
  end
1156
1751
  end
1157
1752
 
1753
+ class ListBackupSchedulesResponse
1754
+ # @private
1755
+ class Representation < Google::Apis::Core::JsonRepresentation
1756
+ collection :backup_schedules, as: 'backupSchedules', class: Google::Apis::SpannerV1::BackupSchedule, decorator: Google::Apis::SpannerV1::BackupSchedule::Representation
1757
+
1758
+ property :next_page_token, as: 'nextPageToken'
1759
+ end
1760
+ end
1761
+
1158
1762
  class ListBackupsResponse
1159
1763
  # @private
1160
1764
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1191,6 +1795,15 @@ module Google
1191
1795
  end
1192
1796
  end
1193
1797
 
1798
+ class ListInstanceConfigOperationsResponse
1799
+ # @private
1800
+ class Representation < Google::Apis::Core::JsonRepresentation
1801
+ property :next_page_token, as: 'nextPageToken'
1802
+ collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
1803
+
1804
+ end
1805
+ end
1806
+
1194
1807
  class ListInstanceConfigsResponse
1195
1808
  # @private
1196
1809
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1200,6 +1813,26 @@ module Google
1200
1813
  end
1201
1814
  end
1202
1815
 
1816
+ class ListInstancePartitionOperationsResponse
1817
+ # @private
1818
+ class Representation < Google::Apis::Core::JsonRepresentation
1819
+ property :next_page_token, as: 'nextPageToken'
1820
+ collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
1821
+
1822
+ collection :unreachable_instance_partitions, as: 'unreachableInstancePartitions'
1823
+ end
1824
+ end
1825
+
1826
+ class ListInstancePartitionsResponse
1827
+ # @private
1828
+ class Representation < Google::Apis::Core::JsonRepresentation
1829
+ collection :instance_partitions, as: 'instancePartitions', class: Google::Apis::SpannerV1::InstancePartition, decorator: Google::Apis::SpannerV1::InstancePartition::Representation
1830
+
1831
+ property :next_page_token, as: 'nextPageToken'
1832
+ collection :unreachable, as: 'unreachable'
1833
+ end
1834
+ end
1835
+
1203
1836
  class ListInstancesResponse
1204
1837
  # @private
1205
1838
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1287,6 +1920,21 @@ module Google
1287
1920
  end
1288
1921
  end
1289
1922
 
1923
+ class MoveInstanceRequest
1924
+ # @private
1925
+ class Representation < Google::Apis::Core::JsonRepresentation
1926
+ property :target_config, as: 'targetConfig'
1927
+ end
1928
+ end
1929
+
1930
+ class MultiplexedSessionPrecommitToken
1931
+ # @private
1932
+ class Representation < Google::Apis::Core::JsonRepresentation
1933
+ property :precommit_token, :base64 => true, as: 'precommitToken'
1934
+ property :seq_num, as: 'seqNum'
1935
+ end
1936
+ end
1937
+
1290
1938
  class Mutation
1291
1939
  # @private
1292
1940
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1303,6 +1951,14 @@ module Google
1303
1951
  end
1304
1952
  end
1305
1953
 
1954
+ class MutationGroup
1955
+ # @private
1956
+ class Representation < Google::Apis::Core::JsonRepresentation
1957
+ collection :mutations, as: 'mutations', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
1958
+
1959
+ end
1960
+ end
1961
+
1306
1962
  class Operation
1307
1963
  # @private
1308
1964
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1339,6 +1995,8 @@ module Google
1339
1995
  property :chunked_value, as: 'chunkedValue'
1340
1996
  property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
1341
1997
 
1998
+ property :precommit_token, as: 'precommitToken', class: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken, decorator: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken::Representation
1999
+
1342
2000
  property :resume_token, :base64 => true, as: 'resumeToken'
1343
2001
  property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
1344
2002
 
@@ -1442,6 +2100,14 @@ module Google
1442
2100
  end
1443
2101
  end
1444
2102
 
2103
+ class QueryAdvisorResult
2104
+ # @private
2105
+ class Representation < Google::Apis::Core::JsonRepresentation
2106
+ collection :index_advice, as: 'indexAdvice', class: Google::Apis::SpannerV1::IndexAdvice, decorator: Google::Apis::SpannerV1::IndexAdvice::Representation
2107
+
2108
+ end
2109
+ end
2110
+
1445
2111
  class QueryOptions
1446
2112
  # @private
1447
2113
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1455,6 +2121,29 @@ module Google
1455
2121
  class Representation < Google::Apis::Core::JsonRepresentation
1456
2122
  collection :plan_nodes, as: 'planNodes', class: Google::Apis::SpannerV1::PlanNode, decorator: Google::Apis::SpannerV1::PlanNode::Representation
1457
2123
 
2124
+ property :query_advice, as: 'queryAdvice', class: Google::Apis::SpannerV1::QueryAdvisorResult, decorator: Google::Apis::SpannerV1::QueryAdvisorResult::Representation
2125
+
2126
+ end
2127
+ end
2128
+
2129
+ class QuorumInfo
2130
+ # @private
2131
+ class Representation < Google::Apis::Core::JsonRepresentation
2132
+ property :etag, as: 'etag'
2133
+ property :initiator, as: 'initiator'
2134
+ property :quorum_type, as: 'quorumType', class: Google::Apis::SpannerV1::QuorumType, decorator: Google::Apis::SpannerV1::QuorumType::Representation
2135
+
2136
+ property :start_time, as: 'startTime'
2137
+ end
2138
+ end
2139
+
2140
+ class QuorumType
2141
+ # @private
2142
+ class Representation < Google::Apis::Core::JsonRepresentation
2143
+ property :dual_region, as: 'dualRegion', class: Google::Apis::SpannerV1::DualRegionQuorum, decorator: Google::Apis::SpannerV1::DualRegionQuorum::Representation
2144
+
2145
+ property :single_region, as: 'singleRegion', class: Google::Apis::SpannerV1::SingleRegionQuorum, decorator: Google::Apis::SpannerV1::SingleRegionQuorum::Representation
2146
+
1458
2147
  end
1459
2148
  end
1460
2149
 
@@ -1474,10 +2163,15 @@ module Google
1474
2163
  # @private
1475
2164
  class Representation < Google::Apis::Core::JsonRepresentation
1476
2165
  collection :columns, as: 'columns'
2166
+ property :data_boost_enabled, as: 'dataBoostEnabled'
2167
+ property :directed_read_options, as: 'directedReadOptions', class: Google::Apis::SpannerV1::DirectedReadOptions, decorator: Google::Apis::SpannerV1::DirectedReadOptions::Representation
2168
+
1477
2169
  property :index, as: 'index'
1478
2170
  property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
1479
2171
 
1480
2172
  property :limit, :numeric_string => true, as: 'limit'
2173
+ property :lock_hint, as: 'lockHint'
2174
+ property :order_by, as: 'orderBy'
1481
2175
  property :partition_token, :base64 => true, as: 'partitionToken'
1482
2176
  property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
1483
2177
 
@@ -1491,6 +2185,18 @@ module Google
1491
2185
  class ReadWrite
1492
2186
  # @private
1493
2187
  class Representation < Google::Apis::Core::JsonRepresentation
2188
+ property :multiplexed_session_previous_transaction_id, :base64 => true, as: 'multiplexedSessionPreviousTransactionId'
2189
+ property :read_lock_mode, as: 'readLockMode'
2190
+ end
2191
+ end
2192
+
2193
+ class ReplicaComputeCapacity
2194
+ # @private
2195
+ class Representation < Google::Apis::Core::JsonRepresentation
2196
+ property :node_count, as: 'nodeCount'
2197
+ property :processing_units, as: 'processingUnits'
2198
+ property :replica_selection, as: 'replicaSelection', class: Google::Apis::SpannerV1::InstanceReplicaSelection, decorator: Google::Apis::SpannerV1::InstanceReplicaSelection::Representation
2199
+
1494
2200
  end
1495
2201
  end
1496
2202
 
@@ -1503,6 +2209,14 @@ module Google
1503
2209
  end
1504
2210
  end
1505
2211
 
2212
+ class ReplicaSelection
2213
+ # @private
2214
+ class Representation < Google::Apis::Core::JsonRepresentation
2215
+ property :location, as: 'location'
2216
+ property :type, as: 'type'
2217
+ end
2218
+ end
2219
+
1506
2220
  class RequestOptions
1507
2221
  # @private
1508
2222
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1517,6 +2231,7 @@ module Google
1517
2231
  class Representation < Google::Apis::Core::JsonRepresentation
1518
2232
  property :encryption_type, as: 'encryptionType'
1519
2233
  property :kms_key_name, as: 'kmsKeyName'
2234
+ collection :kms_key_names, as: 'kmsKeyNames'
1520
2235
  end
1521
2236
  end
1522
2237
 
@@ -1558,6 +2273,8 @@ module Google
1558
2273
  class Representation < Google::Apis::Core::JsonRepresentation
1559
2274
  property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
1560
2275
 
2276
+ property :precommit_token, as: 'precommitToken', class: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken, decorator: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken::Representation
2277
+
1561
2278
  collection :rows, as: 'rows', :class => Array do
1562
2279
  include Representable::JSON::Collection
1563
2280
  items
@@ -1575,6 +2292,8 @@ module Google
1575
2292
 
1576
2293
  property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation
1577
2294
 
2295
+ property :undeclared_parameters, as: 'undeclaredParameters', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
2296
+
1578
2297
  end
1579
2298
  end
1580
2299
 
@@ -1625,6 +2344,7 @@ module Google
1625
2344
  property :create_time, as: 'createTime'
1626
2345
  property :creator_role, as: 'creatorRole'
1627
2346
  hash :labels, as: 'labels'
2347
+ property :multiplexed, as: 'multiplexed'
1628
2348
  property :name, as: 'name'
1629
2349
  end
1630
2350
  end
@@ -1645,6 +2365,13 @@ module Google
1645
2365
  end
1646
2366
  end
1647
2367
 
2368
+ class SingleRegionQuorum
2369
+ # @private
2370
+ class Representation < Google::Apis::Core::JsonRepresentation
2371
+ property :serving_location, as: 'servingLocation'
2372
+ end
2373
+ end
2374
+
1648
2375
  class Statement
1649
2376
  # @private
1650
2377
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1690,6 +2417,8 @@ module Google
1690
2417
  # @private
1691
2418
  class Representation < Google::Apis::Core::JsonRepresentation
1692
2419
  property :id, :base64 => true, as: 'id'
2420
+ property :precommit_token, as: 'precommitToken', class: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken, decorator: Google::Apis::SpannerV1::MultiplexedSessionPrecommitToken::Representation
2421
+
1693
2422
  property :read_timestamp, as: 'readTimestamp'
1694
2423
  end
1695
2424
  end
@@ -1697,6 +2426,7 @@ module Google
1697
2426
  class TransactionOptions
1698
2427
  # @private
1699
2428
  class Representation < Google::Apis::Core::JsonRepresentation
2429
+ property :exclude_txn_from_change_streams, as: 'excludeTxnFromChangeStreams'
1700
2430
  property :partitioned_dml, as: 'partitionedDml', class: Google::Apis::SpannerV1::PartitionedDml, decorator: Google::Apis::SpannerV1::PartitionedDml::Representation
1701
2431
 
1702
2432
  property :read_only, as: 'readOnly', class: Google::Apis::SpannerV1::ReadOnly, decorator: Google::Apis::SpannerV1::ReadOnly::Representation
@@ -1723,6 +2453,7 @@ module Google
1723
2453
  property :array_element_type, as: 'arrayElementType', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
1724
2454
 
1725
2455
  property :code, as: 'code'
2456
+ property :proto_type_fqn, as: 'protoTypeFqn'
1726
2457
  property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
1727
2458
 
1728
2459
  property :type_annotation, as: 'typeAnnotation'
@@ -1732,6 +2463,8 @@ module Google
1732
2463
  class UpdateDatabaseDdlMetadata
1733
2464
  # @private
1734
2465
  class Representation < Google::Apis::Core::JsonRepresentation
2466
+ collection :actions, as: 'actions', class: Google::Apis::SpannerV1::DdlStatementActionInfo, decorator: Google::Apis::SpannerV1::DdlStatementActionInfo::Representation
2467
+
1735
2468
  collection :commit_timestamps, as: 'commitTimestamps'
1736
2469
  property :database, as: 'database'
1737
2470
  collection :progress, as: 'progress', class: Google::Apis::SpannerV1::OperationProgress, decorator: Google::Apis::SpannerV1::OperationProgress::Representation
@@ -1745,21 +2478,84 @@ module Google
1745
2478
  # @private
1746
2479
  class Representation < Google::Apis::Core::JsonRepresentation
1747
2480
  property :operation_id, as: 'operationId'
2481
+ property :proto_descriptors, :base64 => true, as: 'protoDescriptors'
1748
2482
  collection :statements, as: 'statements'
1749
2483
  end
1750
2484
  end
1751
2485
 
2486
+ class UpdateDatabaseMetadata
2487
+ # @private
2488
+ class Representation < Google::Apis::Core::JsonRepresentation
2489
+ property :cancel_time, as: 'cancelTime'
2490
+ property :progress, as: 'progress', class: Google::Apis::SpannerV1::OperationProgress, decorator: Google::Apis::SpannerV1::OperationProgress::Representation
2491
+
2492
+ property :request, as: 'request', class: Google::Apis::SpannerV1::UpdateDatabaseRequest, decorator: Google::Apis::SpannerV1::UpdateDatabaseRequest::Representation
2493
+
2494
+ end
2495
+ end
2496
+
2497
+ class UpdateDatabaseRequest
2498
+ # @private
2499
+ class Representation < Google::Apis::Core::JsonRepresentation
2500
+ property :database, as: 'database', class: Google::Apis::SpannerV1::Database, decorator: Google::Apis::SpannerV1::Database::Representation
2501
+
2502
+ property :update_mask, as: 'updateMask'
2503
+ end
2504
+ end
2505
+
2506
+ class UpdateInstanceConfigMetadata
2507
+ # @private
2508
+ class Representation < Google::Apis::Core::JsonRepresentation
2509
+ property :cancel_time, as: 'cancelTime'
2510
+ property :instance_config, as: 'instanceConfig', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
2511
+
2512
+ property :progress, as: 'progress', class: Google::Apis::SpannerV1::InstanceOperationProgress, decorator: Google::Apis::SpannerV1::InstanceOperationProgress::Representation
2513
+
2514
+ end
2515
+ end
2516
+
2517
+ class UpdateInstanceConfigRequest
2518
+ # @private
2519
+ class Representation < Google::Apis::Core::JsonRepresentation
2520
+ property :instance_config, as: 'instanceConfig', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
2521
+
2522
+ property :update_mask, as: 'updateMask'
2523
+ property :validate_only, as: 'validateOnly'
2524
+ end
2525
+ end
2526
+
1752
2527
  class UpdateInstanceMetadata
1753
2528
  # @private
1754
2529
  class Representation < Google::Apis::Core::JsonRepresentation
1755
2530
  property :cancel_time, as: 'cancelTime'
1756
2531
  property :end_time, as: 'endTime'
2532
+ property :expected_fulfillment_period, as: 'expectedFulfillmentPeriod'
1757
2533
  property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
1758
2534
 
1759
2535
  property :start_time, as: 'startTime'
1760
2536
  end
1761
2537
  end
1762
2538
 
2539
+ class UpdateInstancePartitionMetadata
2540
+ # @private
2541
+ class Representation < Google::Apis::Core::JsonRepresentation
2542
+ property :cancel_time, as: 'cancelTime'
2543
+ property :end_time, as: 'endTime'
2544
+ property :instance_partition, as: 'instancePartition', class: Google::Apis::SpannerV1::InstancePartition, decorator: Google::Apis::SpannerV1::InstancePartition::Representation
2545
+
2546
+ property :start_time, as: 'startTime'
2547
+ end
2548
+ end
2549
+
2550
+ class UpdateInstancePartitionRequest
2551
+ # @private
2552
+ class Representation < Google::Apis::Core::JsonRepresentation
2553
+ property :field_mask, as: 'fieldMask'
2554
+ property :instance_partition, as: 'instancePartition', class: Google::Apis::SpannerV1::InstancePartition, decorator: Google::Apis::SpannerV1::InstancePartition::Representation
2555
+
2556
+ end
2557
+ end
2558
+
1763
2559
  class UpdateInstanceRequest
1764
2560
  # @private
1765
2561
  class Representation < Google::Apis::Core::JsonRepresentation