google-apis-alloydb_v1 0.29.0 → 0.31.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.
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AlloydbV1
|
18
18
|
# Version of the google-apis-alloydb_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250227"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class CloudSqlBackupRunSource
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class Cluster
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -106,6 +112,12 @@ module Google
|
|
106
112
|
include Google::Apis::Core::JsonObjectSupport
|
107
113
|
end
|
108
114
|
|
115
|
+
class CsvImportOptions
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
109
121
|
class Empty
|
110
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
123
|
|
@@ -166,6 +178,18 @@ module Google
|
|
166
178
|
include Google::Apis::Core::JsonObjectSupport
|
167
179
|
end
|
168
180
|
|
181
|
+
class ImportClusterRequest
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class ImportClusterResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
169
193
|
class InjectFaultRequest
|
170
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
195
|
|
@@ -274,6 +298,12 @@ module Google
|
|
274
298
|
include Google::Apis::Core::JsonObjectSupport
|
275
299
|
end
|
276
300
|
|
301
|
+
class ObservabilityInstanceConfig
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
277
307
|
class Operation
|
278
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
309
|
|
@@ -298,6 +328,12 @@ module Google
|
|
298
328
|
include Google::Apis::Core::JsonObjectSupport
|
299
329
|
end
|
300
330
|
|
331
|
+
class PscAutoConnectionConfig
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
301
337
|
class PscConfig
|
302
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
339
|
|
@@ -310,6 +346,12 @@ module Google
|
|
310
346
|
include Google::Apis::Core::JsonObjectSupport
|
311
347
|
end
|
312
348
|
|
349
|
+
class PscInterfaceConfig
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
313
355
|
class QuantityBasedExpiry
|
314
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
357
|
|
@@ -334,6 +376,12 @@ module Google
|
|
334
376
|
include Google::Apis::Core::JsonObjectSupport
|
335
377
|
end
|
336
378
|
|
379
|
+
class ReadPoolInstancesUpgradeStageStatus
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
337
385
|
class RestartInstanceRequest
|
338
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
387
|
|
@@ -346,6 +394,12 @@ module Google
|
|
346
394
|
include Google::Apis::Core::JsonObjectSupport
|
347
395
|
end
|
348
396
|
|
397
|
+
class RestoreFromCloudSqlRequest
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
349
403
|
class SecondaryConfig
|
350
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
405
|
|
@@ -358,6 +412,12 @@ module Google
|
|
358
412
|
include Google::Apis::Core::JsonObjectSupport
|
359
413
|
end
|
360
414
|
|
415
|
+
class SqlImportOptions
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
361
421
|
class SslConfig
|
362
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
423
|
|
@@ -370,6 +430,18 @@ module Google
|
|
370
430
|
include Google::Apis::Core::JsonObjectSupport
|
371
431
|
end
|
372
432
|
|
433
|
+
class StageStatus
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
439
|
+
class Stats
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
373
445
|
class Status
|
374
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
447
|
|
@@ -442,6 +514,12 @@ module Google
|
|
442
514
|
include Google::Apis::Core::JsonObjectSupport
|
443
515
|
end
|
444
516
|
|
517
|
+
class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
445
523
|
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
|
446
524
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
525
|
|
@@ -538,6 +616,12 @@ module Google
|
|
538
616
|
include Google::Apis::Core::JsonObjectSupport
|
539
617
|
end
|
540
618
|
|
619
|
+
class UpgradeClusterStatus
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
541
625
|
class User
|
542
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
627
|
|
@@ -644,6 +728,15 @@ module Google
|
|
644
728
|
end
|
645
729
|
end
|
646
730
|
|
731
|
+
class CloudSqlBackupRunSource
|
732
|
+
# @private
|
733
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
734
|
+
property :backup_run_id, :numeric_string => true, as: 'backupRunId'
|
735
|
+
property :instance_id, as: 'instanceId'
|
736
|
+
property :project, as: 'project'
|
737
|
+
end
|
738
|
+
end
|
739
|
+
|
647
740
|
class Cluster
|
648
741
|
# @private
|
649
742
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -652,6 +745,8 @@ module Google
|
|
652
745
|
|
653
746
|
property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1::BackupSource, decorator: Google::Apis::AlloydbV1::BackupSource::Representation
|
654
747
|
|
748
|
+
property :cloudsql_backup_run_source, as: 'cloudsqlBackupRunSource', class: Google::Apis::AlloydbV1::CloudSqlBackupRunSource, decorator: Google::Apis::AlloydbV1::CloudSqlBackupRunSource::Representation
|
749
|
+
|
655
750
|
property :cluster_type, as: 'clusterType'
|
656
751
|
property :continuous_backup_config, as: 'continuousBackupConfig', class: Google::Apis::AlloydbV1::ContinuousBackupConfig, decorator: Google::Apis::AlloydbV1::ContinuousBackupConfig::Representation
|
657
752
|
|
@@ -762,6 +857,17 @@ module Google
|
|
762
857
|
end
|
763
858
|
end
|
764
859
|
|
860
|
+
class CsvImportOptions
|
861
|
+
# @private
|
862
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
863
|
+
collection :columns, as: 'columns'
|
864
|
+
property :escape_character, as: 'escapeCharacter'
|
865
|
+
property :field_delimiter, as: 'fieldDelimiter'
|
866
|
+
property :quote_character, as: 'quoteCharacter'
|
867
|
+
property :table, as: 'table'
|
868
|
+
end
|
869
|
+
end
|
870
|
+
|
765
871
|
class Empty
|
766
872
|
# @private
|
767
873
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -849,6 +955,26 @@ module Google
|
|
849
955
|
end
|
850
956
|
end
|
851
957
|
|
958
|
+
class ImportClusterRequest
|
959
|
+
# @private
|
960
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
961
|
+
property :csv_import_options, as: 'csvImportOptions', class: Google::Apis::AlloydbV1::CsvImportOptions, decorator: Google::Apis::AlloydbV1::CsvImportOptions::Representation
|
962
|
+
|
963
|
+
property :database, as: 'database'
|
964
|
+
property :gcs_uri, as: 'gcsUri'
|
965
|
+
property :sql_import_options, as: 'sqlImportOptions', class: Google::Apis::AlloydbV1::SqlImportOptions, decorator: Google::Apis::AlloydbV1::SqlImportOptions::Representation
|
966
|
+
|
967
|
+
property :user, as: 'user'
|
968
|
+
end
|
969
|
+
end
|
970
|
+
|
971
|
+
class ImportClusterResponse
|
972
|
+
# @private
|
973
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
974
|
+
property :bytes_downloaded, :numeric_string => true, as: 'bytesDownloaded'
|
975
|
+
end
|
976
|
+
end
|
977
|
+
|
852
978
|
class InjectFaultRequest
|
853
979
|
# @private
|
854
980
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -881,6 +1007,8 @@ module Google
|
|
881
1007
|
|
882
1008
|
collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1::Node, decorator: Google::Apis::AlloydbV1::Node::Representation
|
883
1009
|
|
1010
|
+
property :observability_config, as: 'observabilityConfig', class: Google::Apis::AlloydbV1::ObservabilityInstanceConfig, decorator: Google::Apis::AlloydbV1::ObservabilityInstanceConfig::Representation
|
1011
|
+
|
884
1012
|
collection :outbound_public_ip_addresses, as: 'outboundPublicIpAddresses'
|
885
1013
|
property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1::PscInstanceConfig, decorator: Google::Apis::AlloydbV1::PscInstanceConfig::Representation
|
886
1014
|
|
@@ -1042,6 +1170,20 @@ module Google
|
|
1042
1170
|
end
|
1043
1171
|
end
|
1044
1172
|
|
1173
|
+
class ObservabilityInstanceConfig
|
1174
|
+
# @private
|
1175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1176
|
+
property :enabled, as: 'enabled'
|
1177
|
+
property :max_query_string_length, as: 'maxQueryStringLength'
|
1178
|
+
property :preserve_comments, as: 'preserveComments'
|
1179
|
+
property :query_plans_per_minute, as: 'queryPlansPerMinute'
|
1180
|
+
property :record_application_tags, as: 'recordApplicationTags'
|
1181
|
+
property :track_active_queries, as: 'trackActiveQueries'
|
1182
|
+
property :track_wait_event_types, as: 'trackWaitEventTypes'
|
1183
|
+
property :track_wait_events, as: 'trackWaitEvents'
|
1184
|
+
end
|
1185
|
+
end
|
1186
|
+
|
1045
1187
|
class Operation
|
1046
1188
|
# @private
|
1047
1189
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1063,6 +1205,8 @@ module Google
|
|
1063
1205
|
property :requested_cancellation, as: 'requestedCancellation'
|
1064
1206
|
property :status_message, as: 'statusMessage'
|
1065
1207
|
property :target, as: 'target'
|
1208
|
+
property :upgrade_cluster_status, as: 'upgradeClusterStatus', class: Google::Apis::AlloydbV1::UpgradeClusterStatus, decorator: Google::Apis::AlloydbV1::UpgradeClusterStatus::Representation
|
1209
|
+
|
1066
1210
|
property :verb, as: 'verb'
|
1067
1211
|
end
|
1068
1212
|
end
|
@@ -1083,10 +1227,22 @@ module Google
|
|
1083
1227
|
end
|
1084
1228
|
end
|
1085
1229
|
|
1230
|
+
class PscAutoConnectionConfig
|
1231
|
+
# @private
|
1232
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1233
|
+
property :consumer_network, as: 'consumerNetwork'
|
1234
|
+
property :consumer_network_status, as: 'consumerNetworkStatus'
|
1235
|
+
property :consumer_project, as: 'consumerProject'
|
1236
|
+
property :ip_address, as: 'ipAddress'
|
1237
|
+
property :status, as: 'status'
|
1238
|
+
end
|
1239
|
+
end
|
1240
|
+
|
1086
1241
|
class PscConfig
|
1087
1242
|
# @private
|
1088
1243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1089
1244
|
property :psc_enabled, as: 'pscEnabled'
|
1245
|
+
property :service_owned_project_number, :numeric_string => true, as: 'serviceOwnedProjectNumber'
|
1090
1246
|
end
|
1091
1247
|
end
|
1092
1248
|
|
@@ -1094,11 +1250,22 @@ module Google
|
|
1094
1250
|
# @private
|
1095
1251
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1096
1252
|
collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
|
1253
|
+
collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::AlloydbV1::PscAutoConnectionConfig, decorator: Google::Apis::AlloydbV1::PscAutoConnectionConfig::Representation
|
1254
|
+
|
1097
1255
|
property :psc_dns_name, as: 'pscDnsName'
|
1256
|
+
collection :psc_interface_configs, as: 'pscInterfaceConfigs', class: Google::Apis::AlloydbV1::PscInterfaceConfig, decorator: Google::Apis::AlloydbV1::PscInterfaceConfig::Representation
|
1257
|
+
|
1098
1258
|
property :service_attachment_link, as: 'serviceAttachmentLink'
|
1099
1259
|
end
|
1100
1260
|
end
|
1101
1261
|
|
1262
|
+
class PscInterfaceConfig
|
1263
|
+
# @private
|
1264
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1265
|
+
property :network_attachment_resource, as: 'networkAttachmentResource'
|
1266
|
+
end
|
1267
|
+
end
|
1268
|
+
|
1102
1269
|
class QuantityBasedExpiry
|
1103
1270
|
# @private
|
1104
1271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1131,6 +1298,14 @@ module Google
|
|
1131
1298
|
end
|
1132
1299
|
end
|
1133
1300
|
|
1301
|
+
class ReadPoolInstancesUpgradeStageStatus
|
1302
|
+
# @private
|
1303
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1304
|
+
property :upgrade_stats, as: 'upgradeStats', class: Google::Apis::AlloydbV1::Stats, decorator: Google::Apis::AlloydbV1::Stats::Representation
|
1305
|
+
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1134
1309
|
class RestartInstanceRequest
|
1135
1310
|
# @private
|
1136
1311
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1155,6 +1330,17 @@ module Google
|
|
1155
1330
|
end
|
1156
1331
|
end
|
1157
1332
|
|
1333
|
+
class RestoreFromCloudSqlRequest
|
1334
|
+
# @private
|
1335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1336
|
+
property :cloudsql_backup_run_source, as: 'cloudsqlBackupRunSource', class: Google::Apis::AlloydbV1::CloudSqlBackupRunSource, decorator: Google::Apis::AlloydbV1::CloudSqlBackupRunSource::Representation
|
1337
|
+
|
1338
|
+
property :cluster, as: 'cluster', class: Google::Apis::AlloydbV1::Cluster, decorator: Google::Apis::AlloydbV1::Cluster::Representation
|
1339
|
+
|
1340
|
+
property :cluster_id, as: 'clusterId'
|
1341
|
+
end
|
1342
|
+
end
|
1343
|
+
|
1158
1344
|
class SecondaryConfig
|
1159
1345
|
# @private
|
1160
1346
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1172,6 +1358,12 @@ module Google
|
|
1172
1358
|
end
|
1173
1359
|
end
|
1174
1360
|
|
1361
|
+
class SqlImportOptions
|
1362
|
+
# @private
|
1363
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1364
|
+
end
|
1365
|
+
end
|
1366
|
+
|
1175
1367
|
class SslConfig
|
1176
1368
|
# @private
|
1177
1369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1189,6 +1381,26 @@ module Google
|
|
1189
1381
|
end
|
1190
1382
|
end
|
1191
1383
|
|
1384
|
+
class StageStatus
|
1385
|
+
# @private
|
1386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1387
|
+
property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus::Representation
|
1388
|
+
|
1389
|
+
property :stage, as: 'stage'
|
1390
|
+
property :state, as: 'state'
|
1391
|
+
end
|
1392
|
+
end
|
1393
|
+
|
1394
|
+
class Stats
|
1395
|
+
# @private
|
1396
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1397
|
+
property :failed, as: 'failed'
|
1398
|
+
property :not_started, as: 'notStarted'
|
1399
|
+
property :ongoing, as: 'ongoing'
|
1400
|
+
property :success, as: 'success'
|
1401
|
+
end
|
1402
|
+
end
|
1403
|
+
|
1192
1404
|
class Status
|
1193
1405
|
# @private
|
1194
1406
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1312,6 +1524,8 @@ module Google
|
|
1312
1524
|
collection :entitlements, as: 'entitlements', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainEntitlement, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainEntitlement::Representation
|
1313
1525
|
|
1314
1526
|
property :expected_state, as: 'expectedState'
|
1527
|
+
property :gcbdr_configuration, as: 'gcbdrConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration::Representation
|
1528
|
+
|
1315
1529
|
property :id, as: 'id', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
1316
1530
|
|
1317
1531
|
property :instance_type, as: 'instanceType'
|
@@ -1325,6 +1539,7 @@ module Google
|
|
1325
1539
|
|
1326
1540
|
property :resource_container, as: 'resourceContainer'
|
1327
1541
|
property :resource_name, as: 'resourceName'
|
1542
|
+
property :suspension_reason, as: 'suspensionReason'
|
1328
1543
|
property :tags_set, as: 'tagsSet', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainTags, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainTags::Representation
|
1329
1544
|
|
1330
1545
|
property :updation_time, as: 'updationTime'
|
@@ -1355,6 +1570,13 @@ module Google
|
|
1355
1570
|
end
|
1356
1571
|
end
|
1357
1572
|
|
1573
|
+
class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
|
1574
|
+
# @private
|
1575
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1576
|
+
property :gcbdr_managed, as: 'gcbdrManaged'
|
1577
|
+
end
|
1578
|
+
end
|
1579
|
+
|
1358
1580
|
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
|
1359
1581
|
# @private
|
1360
1582
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1362,6 +1584,7 @@ module Google
|
|
1362
1584
|
|
1363
1585
|
property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
|
1364
1586
|
|
1587
|
+
property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
|
1365
1588
|
property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
|
1366
1589
|
|
1367
1590
|
property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
@@ -1460,7 +1683,10 @@ module Google
|
|
1460
1683
|
property :integer_restrictions, as: 'integerRestrictions', class: Google::Apis::AlloydbV1::IntegerRestrictions, decorator: Google::Apis::AlloydbV1::IntegerRestrictions::Representation
|
1461
1684
|
|
1462
1685
|
property :name, as: 'name'
|
1686
|
+
property :recommended_integer_value, :numeric_string => true, as: 'recommendedIntegerValue'
|
1687
|
+
property :recommended_string_value, as: 'recommendedStringValue'
|
1463
1688
|
property :requires_db_restart, as: 'requiresDbRestart'
|
1689
|
+
property :scope, as: 'scope'
|
1464
1690
|
property :string_restrictions, as: 'stringRestrictions', class: Google::Apis::AlloydbV1::StringRestrictions, decorator: Google::Apis::AlloydbV1::StringRestrictions::Representation
|
1465
1691
|
|
1466
1692
|
collection :supported_db_versions, as: 'supportedDbVersions'
|
@@ -1513,6 +1739,18 @@ module Google
|
|
1513
1739
|
end
|
1514
1740
|
end
|
1515
1741
|
|
1742
|
+
class UpgradeClusterStatus
|
1743
|
+
# @private
|
1744
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1745
|
+
property :cancellable, as: 'cancellable'
|
1746
|
+
property :source_version, as: 'sourceVersion'
|
1747
|
+
collection :stages, as: 'stages', class: Google::Apis::AlloydbV1::StageStatus, decorator: Google::Apis::AlloydbV1::StageStatus::Representation
|
1748
|
+
|
1749
|
+
property :state, as: 'state'
|
1750
|
+
property :target_version, as: 'targetVersion'
|
1751
|
+
end
|
1752
|
+
end
|
1753
|
+
|
1516
1754
|
class User
|
1517
1755
|
# @private
|
1518
1756
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -610,6 +610,39 @@ module Google
|
|
610
610
|
execute_or_queue_command(command, &block)
|
611
611
|
end
|
612
612
|
|
613
|
+
# Imports data to the cluster. Imperative only.
|
614
|
+
# @param [String] name
|
615
|
+
# Required. The resource name of the cluster.
|
616
|
+
# @param [Google::Apis::AlloydbV1::ImportClusterRequest] import_cluster_request_object
|
617
|
+
# @param [String] fields
|
618
|
+
# Selector specifying which fields to include in a partial response.
|
619
|
+
# @param [String] quota_user
|
620
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
621
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
622
|
+
# @param [Google::Apis::RequestOptions] options
|
623
|
+
# Request-specific options
|
624
|
+
#
|
625
|
+
# @yield [result, err] Result & error if block supplied
|
626
|
+
# @yieldparam result [Google::Apis::AlloydbV1::Operation] parsed result object
|
627
|
+
# @yieldparam err [StandardError] error object if request failed
|
628
|
+
#
|
629
|
+
# @return [Google::Apis::AlloydbV1::Operation]
|
630
|
+
#
|
631
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
632
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
633
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
634
|
+
def import_cluster(name, import_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
635
|
+
command = make_simple_command(:post, 'v1/{+name}:import', options)
|
636
|
+
command.request_representation = Google::Apis::AlloydbV1::ImportClusterRequest::Representation
|
637
|
+
command.request_object = import_cluster_request_object
|
638
|
+
command.response_representation = Google::Apis::AlloydbV1::Operation::Representation
|
639
|
+
command.response_class = Google::Apis::AlloydbV1::Operation
|
640
|
+
command.params['name'] = name unless name.nil?
|
641
|
+
command.query['fields'] = fields unless fields.nil?
|
642
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
643
|
+
execute_or_queue_command(command, &block)
|
644
|
+
end
|
645
|
+
|
613
646
|
# Lists Clusters in a given project and location.
|
614
647
|
# @param [String] parent
|
615
648
|
# Required. The name of the parent resource. For the required format, see the
|
@@ -793,6 +826,40 @@ module Google
|
|
793
826
|
execute_or_queue_command(command, &block)
|
794
827
|
end
|
795
828
|
|
829
|
+
# Restores an AlloyDB cluster from a CloudSQL resource.
|
830
|
+
# @param [String] parent
|
831
|
+
# Required. The location of the new cluster. For the required format, see the
|
832
|
+
# comment on Cluster.name field.
|
833
|
+
# @param [Google::Apis::AlloydbV1::RestoreFromCloudSqlRequest] restore_from_cloud_sql_request_object
|
834
|
+
# @param [String] fields
|
835
|
+
# Selector specifying which fields to include in a partial response.
|
836
|
+
# @param [String] quota_user
|
837
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
838
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
839
|
+
# @param [Google::Apis::RequestOptions] options
|
840
|
+
# Request-specific options
|
841
|
+
#
|
842
|
+
# @yield [result, err] Result & error if block supplied
|
843
|
+
# @yieldparam result [Google::Apis::AlloydbV1::Operation] parsed result object
|
844
|
+
# @yieldparam err [StandardError] error object if request failed
|
845
|
+
#
|
846
|
+
# @return [Google::Apis::AlloydbV1::Operation]
|
847
|
+
#
|
848
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
849
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
850
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
851
|
+
def restore_cluster_from_cloud_sql(parent, restore_from_cloud_sql_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
852
|
+
command = make_simple_command(:post, 'v1/{+parent}/clusters:restoreFromCloudSQL', options)
|
853
|
+
command.request_representation = Google::Apis::AlloydbV1::RestoreFromCloudSqlRequest::Representation
|
854
|
+
command.request_object = restore_from_cloud_sql_request_object
|
855
|
+
command.response_representation = Google::Apis::AlloydbV1::Operation::Representation
|
856
|
+
command.response_class = Google::Apis::AlloydbV1::Operation
|
857
|
+
command.params['parent'] = parent unless parent.nil?
|
858
|
+
command.query['fields'] = fields unless fields.nil?
|
859
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
860
|
+
execute_or_queue_command(command, &block)
|
861
|
+
end
|
862
|
+
|
796
863
|
# Switches the roles of PRIMARY and SECONDARY clusters without any data loss.
|
797
864
|
# This promotes the SECONDARY cluster to PRIMARY and sets up the original
|
798
865
|
# PRIMARY cluster to replicate from this newly promoted cluster.
|
@@ -1707,6 +1774,9 @@ module Google
|
|
1707
1774
|
# unspecified, server will pick an appropriate default.
|
1708
1775
|
# @param [String] page_token
|
1709
1776
|
# A token identifying a page of results the server should return.
|
1777
|
+
# @param [String] scope
|
1778
|
+
# Optional. The scope for which supported flags are requested. If not specified,
|
1779
|
+
# default is DATABASE.
|
1710
1780
|
# @param [String] fields
|
1711
1781
|
# Selector specifying which fields to include in a partial response.
|
1712
1782
|
# @param [String] quota_user
|
@@ -1724,13 +1794,14 @@ module Google
|
|
1724
1794
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1725
1795
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1726
1796
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1727
|
-
def list_project_location_supported_database_flags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1797
|
+
def list_project_location_supported_database_flags(parent, page_size: nil, page_token: nil, scope: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1728
1798
|
command = make_simple_command(:get, 'v1/{+parent}/supportedDatabaseFlags', options)
|
1729
1799
|
command.response_representation = Google::Apis::AlloydbV1::ListSupportedDatabaseFlagsResponse::Representation
|
1730
1800
|
command.response_class = Google::Apis::AlloydbV1::ListSupportedDatabaseFlagsResponse
|
1731
1801
|
command.params['parent'] = parent unless parent.nil?
|
1732
1802
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1733
1803
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1804
|
+
command.query['scope'] = scope unless scope.nil?
|
1734
1805
|
command.query['fields'] = fields unless fields.nil?
|
1735
1806
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1736
1807
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-alloydb_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-03-09 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.31.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.5
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for AlloyDB API V1
|
79
79
|
test_files: []
|