@googleapis/alloydb 15.0.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +317 -30
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +290 -30
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +290 -30
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +315 -30
- package/v1alpha.ts +290 -30
- package/v1beta.ts +290 -30
package/v1.ts
CHANGED
|
@@ -170,6 +170,19 @@ export namespace alloydb_v1 {
|
|
|
170
170
|
*/
|
|
171
171
|
weeklySchedule?: Schema$WeeklySchedule;
|
|
172
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
* Configuration for autoscaling.
|
|
175
|
+
*/
|
|
176
|
+
export interface Schema$AutoScalingConfig {
|
|
177
|
+
/**
|
|
178
|
+
* Policy for the MIG autoscaler.
|
|
179
|
+
*/
|
|
180
|
+
policy?: Schema$Policy;
|
|
181
|
+
/**
|
|
182
|
+
* Optional list of schedules for the MIG autoscaler. If not set, no schedules are created.
|
|
183
|
+
*/
|
|
184
|
+
schedules?: Schema$Schedule[];
|
|
185
|
+
}
|
|
173
186
|
/**
|
|
174
187
|
* Message describing Backup object
|
|
175
188
|
*/
|
|
@@ -271,6 +284,82 @@ export namespace alloydb_v1 {
|
|
|
271
284
|
*/
|
|
272
285
|
updateTime?: string | null;
|
|
273
286
|
}
|
|
287
|
+
/**
|
|
288
|
+
* Message describing a BackupDrBackupSource.
|
|
289
|
+
*/
|
|
290
|
+
export interface Schema$BackupDrBackupSource {
|
|
291
|
+
/**
|
|
292
|
+
* Required. The name of the backup resource with the format: * projects/{project\}/locations/{location\}/backupVaults/{backupvault_id\}/dataSources/{datasource_id\}/backups/{backup_id\}
|
|
293
|
+
*/
|
|
294
|
+
backup?: string | null;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Information about a single window when BackupDR was enabled for this cluster.
|
|
298
|
+
*/
|
|
299
|
+
export interface Schema$BackupDrEnabledWindow {
|
|
300
|
+
/**
|
|
301
|
+
* Whether automated backup was previously enabled prior to enabling BackupDR protection for this cluster.
|
|
302
|
+
*/
|
|
303
|
+
automatedBackupPreviouslyEnabled?: boolean | null;
|
|
304
|
+
/**
|
|
305
|
+
* The BackupPlanAssociation resource that was used to enable BackupDR protection for this cluster.
|
|
306
|
+
*/
|
|
307
|
+
backupPlanAssociation?: string | null;
|
|
308
|
+
/**
|
|
309
|
+
* Whether continuous backup was previously enabled prior to enabling BackupDR protection for this cluster.
|
|
310
|
+
*/
|
|
311
|
+
continuousBackupPreviouslyEnabled?: boolean | null;
|
|
312
|
+
/**
|
|
313
|
+
* The time when continuous backup was previously enabled prior to enabling BackupDR protection for this cluster.
|
|
314
|
+
*/
|
|
315
|
+
continuousBackupPreviouslyEnabledTime?: string | null;
|
|
316
|
+
/**
|
|
317
|
+
* The retention set for the continuous backup that was previously enabled prior to enabling BackupDR protection for this cluster.
|
|
318
|
+
*/
|
|
319
|
+
continuousBackupPreviousRecoveryWindowDays?: number | null;
|
|
320
|
+
/**
|
|
321
|
+
* The DataSource resource that represents the cluster in BackupDR.
|
|
322
|
+
*/
|
|
323
|
+
dataSource?: string | null;
|
|
324
|
+
/**
|
|
325
|
+
* Time when the BackupDR protection for this cluster was disabled. This field will be empty if this BackupDR window is the `current_window`.
|
|
326
|
+
*/
|
|
327
|
+
disabledTime?: string | null;
|
|
328
|
+
/**
|
|
329
|
+
* Time when the BackupDR protection for this cluster was enabled.
|
|
330
|
+
*/
|
|
331
|
+
enabledTime?: string | null;
|
|
332
|
+
/**
|
|
333
|
+
* The retention period for logs generated by BackupDR for this cluster.
|
|
334
|
+
*/
|
|
335
|
+
logRetentionPeriod?: string | null;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Information about BackupDR protection for this cluster.
|
|
339
|
+
*/
|
|
340
|
+
export interface Schema$BackupDrInfo {
|
|
341
|
+
/**
|
|
342
|
+
* The current BackupDR configuration for this cluster. If BackupDR protection is not enabled for this cluster, this field will be empty.
|
|
343
|
+
*/
|
|
344
|
+
currentWindow?: Schema$BackupDrEnabledWindow;
|
|
345
|
+
/**
|
|
346
|
+
* Windows during which BackupDR was enabled for this cluster, along with associated configuration for that window. These are used to determine points-in-time for which restores can be performed. The windows are ordered with the most recent window last. Windows are mutally exclusive. Windows which closed more than 1 year ago will be removed from this list.
|
|
347
|
+
*/
|
|
348
|
+
previousWindows?: Schema$BackupDrEnabledWindow[];
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* Message describing a BackupDrPitrSource.
|
|
352
|
+
*/
|
|
353
|
+
export interface Schema$BackupDrPitrSource {
|
|
354
|
+
/**
|
|
355
|
+
* Required. The name of the backup resource with the format: * projects/{project\}/locations/{location\}/backupVaults/{backupvault_id\}/dataSources/{datasource_id\}
|
|
356
|
+
*/
|
|
357
|
+
dataSource?: string | null;
|
|
358
|
+
/**
|
|
359
|
+
* Required. The point in time to restore to.
|
|
360
|
+
*/
|
|
361
|
+
pointInTime?: string | null;
|
|
362
|
+
}
|
|
274
363
|
/**
|
|
275
364
|
* Message describing a BackupSource.
|
|
276
365
|
*/
|
|
@@ -343,6 +432,14 @@ export namespace alloydb_v1 {
|
|
|
343
432
|
* The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
|
|
344
433
|
*/
|
|
345
434
|
automatedBackupPolicy?: Schema$AutomatedBackupPolicy;
|
|
435
|
+
/**
|
|
436
|
+
* Output only. Cluster created from a BackupDR backup.
|
|
437
|
+
*/
|
|
438
|
+
backupdrBackupSource?: Schema$BackupDrBackupSource;
|
|
439
|
+
/**
|
|
440
|
+
* Output only. Output only information about BackupDR protection for this cluster.
|
|
441
|
+
*/
|
|
442
|
+
backupdrInfo?: Schema$BackupDrInfo;
|
|
346
443
|
/**
|
|
347
444
|
* Output only. Cluster created from backup.
|
|
348
445
|
*/
|
|
@@ -519,6 +616,23 @@ export namespace alloydb_v1 {
|
|
|
519
616
|
*/
|
|
520
617
|
publicIpAddress?: string | null;
|
|
521
618
|
}
|
|
619
|
+
/**
|
|
620
|
+
* Configuration for Managed Connection Pool (MCP).
|
|
621
|
+
*/
|
|
622
|
+
export interface Schema$ConnectionPoolConfig {
|
|
623
|
+
/**
|
|
624
|
+
* Optional. Whether to enable Managed Connection Pool (MCP).
|
|
625
|
+
*/
|
|
626
|
+
enabled?: boolean | null;
|
|
627
|
+
/**
|
|
628
|
+
* Optional. Connection Pool flags, as a list of "key": "value" pairs.
|
|
629
|
+
*/
|
|
630
|
+
flags?: {[key: string]: string} | null;
|
|
631
|
+
/**
|
|
632
|
+
* Output only. The number of running poolers per instance.
|
|
633
|
+
*/
|
|
634
|
+
poolerCount?: number | null;
|
|
635
|
+
}
|
|
522
636
|
/**
|
|
523
637
|
* ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
|
|
524
638
|
*/
|
|
@@ -570,6 +684,15 @@ export namespace alloydb_v1 {
|
|
|
570
684
|
*/
|
|
571
685
|
pointInTime?: string | null;
|
|
572
686
|
}
|
|
687
|
+
/**
|
|
688
|
+
* CPU utilization policy for the autoscaler.
|
|
689
|
+
*/
|
|
690
|
+
export interface Schema$CpuUtilization {
|
|
691
|
+
/**
|
|
692
|
+
* Target CPU utilization as a float between 0 and 1.
|
|
693
|
+
*/
|
|
694
|
+
utilizationTarget?: number | null;
|
|
695
|
+
}
|
|
573
696
|
/**
|
|
574
697
|
* Options for exporting data in CSV format.
|
|
575
698
|
*/
|
|
@@ -858,6 +981,10 @@ export namespace alloydb_v1 {
|
|
|
858
981
|
* Optional. Client connection specific configurations
|
|
859
982
|
*/
|
|
860
983
|
clientConnectionConfig?: Schema$ClientConnectionConfig;
|
|
984
|
+
/**
|
|
985
|
+
* Optional. The configuration for Managed Connection Pool (MCP).
|
|
986
|
+
*/
|
|
987
|
+
connectionPoolConfig?: Schema$ConnectionPoolConfig;
|
|
861
988
|
/**
|
|
862
989
|
* Output only. Create time stamp
|
|
863
990
|
*/
|
|
@@ -1077,6 +1204,10 @@ export namespace alloydb_v1 {
|
|
|
1077
1204
|
* A list of operations that matches the specified filter in the request.
|
|
1078
1205
|
*/
|
|
1079
1206
|
operations?: Schema$Operation[];
|
|
1207
|
+
/**
|
|
1208
|
+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
|
|
1209
|
+
*/
|
|
1210
|
+
unreachable?: string[] | null;
|
|
1080
1211
|
}
|
|
1081
1212
|
/**
|
|
1082
1213
|
* Message for response to listing SupportedDatabaseFlags.
|
|
@@ -1306,6 +1437,27 @@ export namespace alloydb_v1 {
|
|
|
1306
1437
|
*/
|
|
1307
1438
|
verb?: string | null;
|
|
1308
1439
|
}
|
|
1440
|
+
/**
|
|
1441
|
+
* Policy for the autoscaler.
|
|
1442
|
+
*/
|
|
1443
|
+
export interface Schema$Policy {
|
|
1444
|
+
/**
|
|
1445
|
+
* The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm.
|
|
1446
|
+
*/
|
|
1447
|
+
coolDownPeriodSec?: string | null;
|
|
1448
|
+
/**
|
|
1449
|
+
* CPU utilization policy for the autoscaler.
|
|
1450
|
+
*/
|
|
1451
|
+
cpuUtilization?: Schema$CpuUtilization;
|
|
1452
|
+
/**
|
|
1453
|
+
* If true, autoscaling is enabled for the instance. If not set, the default value is false.
|
|
1454
|
+
*/
|
|
1455
|
+
enabled?: boolean | null;
|
|
1456
|
+
/**
|
|
1457
|
+
* Maximum number of nodes for the autoscaler.
|
|
1458
|
+
*/
|
|
1459
|
+
maxNodeCount?: string | null;
|
|
1460
|
+
}
|
|
1309
1461
|
/**
|
|
1310
1462
|
* Configuration for the primary cluster. It has the list of clusters that are replicating from this cluster. This should be set if and only if the cluster is of type PRIMARY.
|
|
1311
1463
|
*/
|
|
@@ -1451,6 +1603,10 @@ export namespace alloydb_v1 {
|
|
|
1451
1603
|
* Configuration for a read pool instance.
|
|
1452
1604
|
*/
|
|
1453
1605
|
export interface Schema$ReadPoolConfig {
|
|
1606
|
+
/**
|
|
1607
|
+
* Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled.
|
|
1608
|
+
*/
|
|
1609
|
+
autoScalingConfig?: Schema$AutoScalingConfig;
|
|
1454
1610
|
/**
|
|
1455
1611
|
* Read capacity, i.e. number of nodes in a read pool instance.
|
|
1456
1612
|
*/
|
|
@@ -1483,6 +1639,14 @@ export namespace alloydb_v1 {
|
|
|
1483
1639
|
* Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
|
|
1484
1640
|
*/
|
|
1485
1641
|
export interface Schema$RestoreClusterRequest {
|
|
1642
|
+
/**
|
|
1643
|
+
* BackupDR backup source.
|
|
1644
|
+
*/
|
|
1645
|
+
backupdrBackupSource?: Schema$BackupDrBackupSource;
|
|
1646
|
+
/**
|
|
1647
|
+
* BackupDR source used for point in time recovery.
|
|
1648
|
+
*/
|
|
1649
|
+
backupdrPitrSource?: Schema$BackupDrPitrSource;
|
|
1486
1650
|
/**
|
|
1487
1651
|
* Backup source.
|
|
1488
1652
|
*/
|
|
@@ -1525,6 +1689,39 @@ export namespace alloydb_v1 {
|
|
|
1525
1689
|
*/
|
|
1526
1690
|
clusterId?: string | null;
|
|
1527
1691
|
}
|
|
1692
|
+
/**
|
|
1693
|
+
* A schedule for the autoscaler.
|
|
1694
|
+
*/
|
|
1695
|
+
export interface Schema$Schedule {
|
|
1696
|
+
/**
|
|
1697
|
+
* Cron expression for the triggering the schedule. See https://cloud.google.com/compute/docs/autoscaler/scaling-schedules#cron_expressions for the syntax.
|
|
1698
|
+
*/
|
|
1699
|
+
cronExpression?: string | null;
|
|
1700
|
+
/**
|
|
1701
|
+
* Description of the schedule.
|
|
1702
|
+
*/
|
|
1703
|
+
description?: string | null;
|
|
1704
|
+
/**
|
|
1705
|
+
* If true, the schedule is disabled.
|
|
1706
|
+
*/
|
|
1707
|
+
disabled?: boolean | null;
|
|
1708
|
+
/**
|
|
1709
|
+
* Duration of the schedule.
|
|
1710
|
+
*/
|
|
1711
|
+
durationSec?: string | null;
|
|
1712
|
+
/**
|
|
1713
|
+
* Minimum number of nodes in while the schedule is active.
|
|
1714
|
+
*/
|
|
1715
|
+
minNodeCount?: string | null;
|
|
1716
|
+
/**
|
|
1717
|
+
* Name of the schedule.
|
|
1718
|
+
*/
|
|
1719
|
+
name?: string | null;
|
|
1720
|
+
/**
|
|
1721
|
+
* The location-based IANA time zone for interpreting the schedule's start time. If no time zone is provided, UTC is used by default.
|
|
1722
|
+
*/
|
|
1723
|
+
timeZone?: string | null;
|
|
1724
|
+
}
|
|
1528
1725
|
/**
|
|
1529
1726
|
* Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.
|
|
1530
1727
|
*/
|
|
@@ -1589,27 +1786,6 @@ export namespace alloydb_v1 {
|
|
|
1589
1786
|
*/
|
|
1590
1787
|
status?: string | null;
|
|
1591
1788
|
}
|
|
1592
|
-
/**
|
|
1593
|
-
* Timing information for the stage execution.
|
|
1594
|
-
*/
|
|
1595
|
-
export interface Schema$StageSchedule {
|
|
1596
|
-
/**
|
|
1597
|
-
* Actual end time of the stage. Set only if the stage has completed.
|
|
1598
|
-
*/
|
|
1599
|
-
actualEndTime?: string | null;
|
|
1600
|
-
/**
|
|
1601
|
-
* Actual start time of the stage. Set only if the stage has started.
|
|
1602
|
-
*/
|
|
1603
|
-
actualStartTime?: string | null;
|
|
1604
|
-
/**
|
|
1605
|
-
* When the stage is expected to end. Set only if the stage has not completed yet.
|
|
1606
|
-
*/
|
|
1607
|
-
estimatedEndTime?: string | null;
|
|
1608
|
-
/**
|
|
1609
|
-
* When the stage is expected to start. Set only if the stage has not started yet.
|
|
1610
|
-
*/
|
|
1611
|
-
estimatedStartTime?: string | null;
|
|
1612
|
-
}
|
|
1613
1789
|
/**
|
|
1614
1790
|
* Status of an upgrade stage.
|
|
1615
1791
|
*/
|
|
@@ -1618,10 +1794,6 @@ export namespace alloydb_v1 {
|
|
|
1618
1794
|
* Read pool instances upgrade metadata.
|
|
1619
1795
|
*/
|
|
1620
1796
|
readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
|
|
1621
|
-
/**
|
|
1622
|
-
* Output only. Timing information for the stage execution.
|
|
1623
|
-
*/
|
|
1624
|
-
schedule?: Schema$StageSchedule;
|
|
1625
1797
|
/**
|
|
1626
1798
|
* Upgrade stage.
|
|
1627
1799
|
*/
|
|
@@ -1812,7 +1984,7 @@ export namespace alloydb_v1 {
|
|
|
1812
1984
|
internalResourceMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata[];
|
|
1813
1985
|
}
|
|
1814
1986
|
/**
|
|
1815
|
-
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID:
|
|
1987
|
+
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 13
|
|
1816
1988
|
*/
|
|
1817
1989
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed {
|
|
1818
1990
|
/**
|
|
@@ -1823,6 +1995,10 @@ export namespace alloydb_v1 {
|
|
|
1823
1995
|
* Config based signal data is used to ingest signals that are generated based on the configuration of the database resource.
|
|
1824
1996
|
*/
|
|
1825
1997
|
configBasedSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData;
|
|
1998
|
+
/**
|
|
1999
|
+
* Database resource signal data is used to ingest signals from database resource signal feeds.
|
|
2000
|
+
*/
|
|
2001
|
+
databaseResourceSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData;
|
|
1826
2002
|
/**
|
|
1827
2003
|
* Required. Timestamp when feed is generated.
|
|
1828
2004
|
*/
|
|
@@ -1928,7 +2104,7 @@ export namespace alloydb_v1 {
|
|
|
1928
2104
|
uniqueId?: string | null;
|
|
1929
2105
|
}
|
|
1930
2106
|
/**
|
|
1931
|
-
* Common model for database resource instance metadata. Next ID:
|
|
2107
|
+
* Common model for database resource instance metadata. Next ID: 29
|
|
1932
2108
|
*/
|
|
1933
2109
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
|
|
1934
2110
|
/**
|
|
@@ -1991,6 +2167,10 @@ export namespace alloydb_v1 {
|
|
|
1991
2167
|
* Machine configuration for this resource.
|
|
1992
2168
|
*/
|
|
1993
2169
|
machineConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration;
|
|
2170
|
+
/**
|
|
2171
|
+
* Optional. Maintenance info for the resource.
|
|
2172
|
+
*/
|
|
2173
|
+
maintenanceInfo?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo;
|
|
1994
2174
|
/**
|
|
1995
2175
|
* Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.
|
|
1996
2176
|
*/
|
|
@@ -2027,6 +2207,10 @@ export namespace alloydb_v1 {
|
|
|
2027
2207
|
* User-provided labels associated with the resource
|
|
2028
2208
|
*/
|
|
2029
2209
|
userLabelSet?: Schema$StorageDatabasecenterPartnerapiV1mainUserLabels;
|
|
2210
|
+
/**
|
|
2211
|
+
* The resource zone. This is only applicable for zonal resources and will be empty for regional and multi-regional resources.
|
|
2212
|
+
*/
|
|
2213
|
+
zone?: string | null;
|
|
2030
2214
|
}
|
|
2031
2215
|
/**
|
|
2032
2216
|
* Common model for database resource recommendation signal data.
|
|
@@ -2065,6 +2249,35 @@ export namespace alloydb_v1 {
|
|
|
2065
2249
|
*/
|
|
2066
2250
|
signalType?: string | null;
|
|
2067
2251
|
}
|
|
2252
|
+
/**
|
|
2253
|
+
* Database resource signal data. This is used to send signals to Condor which are based on the DB/Instance/Fleet level configurations. These will be used to send signals for all inventory types. Next ID: 7
|
|
2254
|
+
*/
|
|
2255
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData {
|
|
2256
|
+
/**
|
|
2257
|
+
* Required. Full Resource name of the source resource.
|
|
2258
|
+
*/
|
|
2259
|
+
fullResourceName?: string | null;
|
|
2260
|
+
/**
|
|
2261
|
+
* Required. Last time signal was refreshed
|
|
2262
|
+
*/
|
|
2263
|
+
lastRefreshTime?: string | null;
|
|
2264
|
+
/**
|
|
2265
|
+
* Database resource id.
|
|
2266
|
+
*/
|
|
2267
|
+
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
2268
|
+
/**
|
|
2269
|
+
* Signal data for boolean signals.
|
|
2270
|
+
*/
|
|
2271
|
+
signalBoolValue?: boolean | null;
|
|
2272
|
+
/**
|
|
2273
|
+
* Required. Output only. Signal state of the signal
|
|
2274
|
+
*/
|
|
2275
|
+
signalState?: string | null;
|
|
2276
|
+
/**
|
|
2277
|
+
* Required. Signal type of the signal
|
|
2278
|
+
*/
|
|
2279
|
+
signalType?: string | null;
|
|
2280
|
+
}
|
|
2068
2281
|
/**
|
|
2069
2282
|
* Proto representing the access that a user has to a specific feature/service. NextId: 3.
|
|
2070
2283
|
*/
|
|
@@ -2167,6 +2380,57 @@ export namespace alloydb_v1 {
|
|
|
2167
2380
|
*/
|
|
2168
2381
|
message?: string | null;
|
|
2169
2382
|
}
|
|
2383
|
+
/**
|
|
2384
|
+
* Deny maintenance period for the database resource. It specifies the time range during which the maintenance cannot start. This is configured by the customer.
|
|
2385
|
+
*/
|
|
2386
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule {
|
|
2387
|
+
/**
|
|
2388
|
+
* Optional. Deny period end date.
|
|
2389
|
+
*/
|
|
2390
|
+
endDate?: Schema$GoogleTypeDate;
|
|
2391
|
+
/**
|
|
2392
|
+
* Optional. The start date of the deny maintenance period.
|
|
2393
|
+
*/
|
|
2394
|
+
startDate?: Schema$GoogleTypeDate;
|
|
2395
|
+
/**
|
|
2396
|
+
* Optional. Time in UTC when the deny period starts on start_date and ends on end_date.
|
|
2397
|
+
*/
|
|
2398
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
2399
|
+
}
|
|
2400
|
+
/**
|
|
2401
|
+
* MaintenanceInfo to capture the maintenance details of database resource.
|
|
2402
|
+
*/
|
|
2403
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo {
|
|
2404
|
+
/**
|
|
2405
|
+
* Optional. List of Deny maintenance period for the database resource.
|
|
2406
|
+
*/
|
|
2407
|
+
denyMaintenanceSchedules?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule[];
|
|
2408
|
+
/**
|
|
2409
|
+
* Optional. Maintenance window for the database resource.
|
|
2410
|
+
*/
|
|
2411
|
+
maintenanceSchedule?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule;
|
|
2412
|
+
/**
|
|
2413
|
+
* Optional. Current Maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15"
|
|
2414
|
+
*/
|
|
2415
|
+
maintenanceVersion?: string | null;
|
|
2416
|
+
}
|
|
2417
|
+
/**
|
|
2418
|
+
* Maintenance window for the database resource. It specifies preferred time and day of the week and phase in some cases, when the maintenance can start. This is configured by the customer.
|
|
2419
|
+
*/
|
|
2420
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule {
|
|
2421
|
+
/**
|
|
2422
|
+
* Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
|
2423
|
+
*/
|
|
2424
|
+
day?: string | null;
|
|
2425
|
+
/**
|
|
2426
|
+
* Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
|
|
2427
|
+
*/
|
|
2428
|
+
phase?: string | null;
|
|
2429
|
+
/**
|
|
2430
|
+
* Optional. Preferred time to start the maintenance operation on the specified day.
|
|
2431
|
+
*/
|
|
2432
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
2433
|
+
}
|
|
2170
2434
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainRetentionSettings {
|
|
2171
2435
|
/**
|
|
2172
2436
|
* Duration based retention period i.e. 172800 seconds (2 days)
|
|
@@ -2652,7 +2916,7 @@ export namespace alloydb_v1 {
|
|
|
2652
2916
|
*
|
|
2653
2917
|
* // Do the magic
|
|
2654
2918
|
* const res = await alloydb.projects.locations.list({
|
|
2655
|
-
* // Optional.
|
|
2919
|
+
* // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
|
|
2656
2920
|
* extraLocationTypes: 'placeholder-value',
|
|
2657
2921
|
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
|
|
2658
2922
|
* filter: 'placeholder-value',
|
|
@@ -2788,7 +3052,7 @@ export namespace alloydb_v1 {
|
|
|
2788
3052
|
export interface Params$Resource$Projects$Locations$List
|
|
2789
3053
|
extends StandardParameters {
|
|
2790
3054
|
/**
|
|
2791
|
-
* Optional.
|
|
3055
|
+
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
|
|
2792
3056
|
*/
|
|
2793
3057
|
extraLocationTypes?: string[];
|
|
2794
3058
|
/**
|
|
@@ -3780,6 +4044,8 @@ export namespace alloydb_v1 {
|
|
|
3780
4044
|
* // "annotations": {},
|
|
3781
4045
|
* // "automatedBackupPolicy": {},
|
|
3782
4046
|
* // "backupSource": {},
|
|
4047
|
+
* // "backupdrBackupSource": {},
|
|
4048
|
+
* // "backupdrInfo": {},
|
|
3783
4049
|
* // "cloudsqlBackupRunSource": {},
|
|
3784
4050
|
* // "clusterType": "my_clusterType",
|
|
3785
4051
|
* // "continuousBackupConfig": {},
|
|
@@ -3968,6 +4234,8 @@ export namespace alloydb_v1 {
|
|
|
3968
4234
|
* // "annotations": {},
|
|
3969
4235
|
* // "automatedBackupPolicy": {},
|
|
3970
4236
|
* // "backupSource": {},
|
|
4237
|
+
* // "backupdrBackupSource": {},
|
|
4238
|
+
* // "backupdrInfo": {},
|
|
3971
4239
|
* // "cloudsqlBackupRunSource": {},
|
|
3972
4240
|
* // "clusterType": "my_clusterType",
|
|
3973
4241
|
* // "continuousBackupConfig": {},
|
|
@@ -4448,6 +4716,8 @@ export namespace alloydb_v1 {
|
|
|
4448
4716
|
* // "annotations": {},
|
|
4449
4717
|
* // "automatedBackupPolicy": {},
|
|
4450
4718
|
* // "backupSource": {},
|
|
4719
|
+
* // "backupdrBackupSource": {},
|
|
4720
|
+
* // "backupdrInfo": {},
|
|
4451
4721
|
* // "cloudsqlBackupRunSource": {},
|
|
4452
4722
|
* // "clusterType": "my_clusterType",
|
|
4453
4723
|
* // "continuousBackupConfig": {},
|
|
@@ -4922,6 +5192,8 @@ export namespace alloydb_v1 {
|
|
|
4922
5192
|
* // "annotations": {},
|
|
4923
5193
|
* // "automatedBackupPolicy": {},
|
|
4924
5194
|
* // "backupSource": {},
|
|
5195
|
+
* // "backupdrBackupSource": {},
|
|
5196
|
+
* // "backupdrInfo": {},
|
|
4925
5197
|
* // "cloudsqlBackupRunSource": {},
|
|
4926
5198
|
* // "clusterType": "my_clusterType",
|
|
4927
5199
|
* // "continuousBackupConfig": {},
|
|
@@ -5250,6 +5522,8 @@ export namespace alloydb_v1 {
|
|
|
5250
5522
|
* // request body parameters
|
|
5251
5523
|
* // {
|
|
5252
5524
|
* // "backupSource": {},
|
|
5525
|
+
* // "backupdrBackupSource": {},
|
|
5526
|
+
* // "backupdrPitrSource": {},
|
|
5253
5527
|
* // "cluster": {},
|
|
5254
5528
|
* // "clusterId": "my_clusterId",
|
|
5255
5529
|
* // "continuousBackupSource": {},
|
|
@@ -6091,6 +6365,7 @@ export namespace alloydb_v1 {
|
|
|
6091
6365
|
* // "annotations": {},
|
|
6092
6366
|
* // "availabilityType": "my_availabilityType",
|
|
6093
6367
|
* // "clientConnectionConfig": {},
|
|
6368
|
+
* // "connectionPoolConfig": {},
|
|
6094
6369
|
* // "createTime": "my_createTime",
|
|
6095
6370
|
* // "databaseFlags": {},
|
|
6096
6371
|
* // "deleteTime": "my_deleteTime",
|
|
@@ -6276,6 +6551,7 @@ export namespace alloydb_v1 {
|
|
|
6276
6551
|
* // "annotations": {},
|
|
6277
6552
|
* // "availabilityType": "my_availabilityType",
|
|
6278
6553
|
* // "clientConnectionConfig": {},
|
|
6554
|
+
* // "connectionPoolConfig": {},
|
|
6279
6555
|
* // "createTime": "my_createTime",
|
|
6280
6556
|
* // "databaseFlags": {},
|
|
6281
6557
|
* // "deleteTime": "my_deleteTime",
|
|
@@ -6752,6 +7028,7 @@ export namespace alloydb_v1 {
|
|
|
6752
7028
|
* // "annotations": {},
|
|
6753
7029
|
* // "availabilityType": "my_availabilityType",
|
|
6754
7030
|
* // "clientConnectionConfig": {},
|
|
7031
|
+
* // "connectionPoolConfig": {},
|
|
6755
7032
|
* // "createTime": "my_createTime",
|
|
6756
7033
|
* // "databaseFlags": {},
|
|
6757
7034
|
* // "deleteTime": "my_deleteTime",
|
|
@@ -7372,6 +7649,7 @@ export namespace alloydb_v1 {
|
|
|
7372
7649
|
* // "annotations": {},
|
|
7373
7650
|
* // "availabilityType": "my_availabilityType",
|
|
7374
7651
|
* // "clientConnectionConfig": {},
|
|
7652
|
+
* // "connectionPoolConfig": {},
|
|
7375
7653
|
* // "createTime": "my_createTime",
|
|
7376
7654
|
* // "databaseFlags": {},
|
|
7377
7655
|
* // "deleteTime": "my_deleteTime",
|
|
@@ -9131,13 +9409,16 @@ export namespace alloydb_v1 {
|
|
|
9131
9409
|
* pageSize: 'placeholder-value',
|
|
9132
9410
|
* // The standard list page token.
|
|
9133
9411
|
* pageToken: 'placeholder-value',
|
|
9412
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
9413
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
9134
9414
|
* });
|
|
9135
9415
|
* console.log(res.data);
|
|
9136
9416
|
*
|
|
9137
9417
|
* // Example response
|
|
9138
9418
|
* // {
|
|
9139
9419
|
* // "nextPageToken": "my_nextPageToken",
|
|
9140
|
-
* // "operations": []
|
|
9420
|
+
* // "operations": [],
|
|
9421
|
+
* // "unreachable": []
|
|
9141
9422
|
* // }
|
|
9142
9423
|
* }
|
|
9143
9424
|
*
|
|
@@ -9283,6 +9564,10 @@ export namespace alloydb_v1 {
|
|
|
9283
9564
|
* The standard list page token.
|
|
9284
9565
|
*/
|
|
9285
9566
|
pageToken?: string;
|
|
9567
|
+
/**
|
|
9568
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
9569
|
+
*/
|
|
9570
|
+
returnPartialSuccess?: boolean;
|
|
9286
9571
|
}
|
|
9287
9572
|
|
|
9288
9573
|
export class Resource$Projects$Locations$Supporteddatabaseflags {
|