@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/build/v1beta.d.ts
CHANGED
|
@@ -118,6 +118,19 @@ export declare namespace alloydb_v1beta {
|
|
|
118
118
|
*/
|
|
119
119
|
weeklySchedule?: Schema$WeeklySchedule;
|
|
120
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Configuration for autoscaling.
|
|
123
|
+
*/
|
|
124
|
+
export interface Schema$AutoScalingConfig {
|
|
125
|
+
/**
|
|
126
|
+
* Policy for the MIG autoscaler.
|
|
127
|
+
*/
|
|
128
|
+
policy?: Schema$Policy;
|
|
129
|
+
/**
|
|
130
|
+
* Optional list of schedules for the MIG autoscaler. If not set, no schedules are created.
|
|
131
|
+
*/
|
|
132
|
+
schedules?: Schema$Schedule[];
|
|
133
|
+
}
|
|
121
134
|
/**
|
|
122
135
|
* Message describing Backup object
|
|
123
136
|
*/
|
|
@@ -225,6 +238,82 @@ export declare namespace alloydb_v1beta {
|
|
|
225
238
|
*/
|
|
226
239
|
updateTime?: string | null;
|
|
227
240
|
}
|
|
241
|
+
/**
|
|
242
|
+
* Message describing a BackupDrBackupSource.
|
|
243
|
+
*/
|
|
244
|
+
export interface Schema$BackupDrBackupSource {
|
|
245
|
+
/**
|
|
246
|
+
* Required. The name of the backup resource with the format: * projects/{project\}/locations/{location\}/backupVaults/{backupvault_id\}/dataSources/{datasource_id\}/backups/{backup_id\}
|
|
247
|
+
*/
|
|
248
|
+
backup?: string | null;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Information about a single window when BackupDR was enabled for this cluster.
|
|
252
|
+
*/
|
|
253
|
+
export interface Schema$BackupDrEnabledWindow {
|
|
254
|
+
/**
|
|
255
|
+
* Whether automated backup was previously enabled prior to enabling BackupDR protection for this cluster.
|
|
256
|
+
*/
|
|
257
|
+
automatedBackupPreviouslyEnabled?: boolean | null;
|
|
258
|
+
/**
|
|
259
|
+
* The BackupPlanAssociation resource that was used to enable BackupDR protection for this cluster.
|
|
260
|
+
*/
|
|
261
|
+
backupPlanAssociation?: string | null;
|
|
262
|
+
/**
|
|
263
|
+
* Whether continuous backup was previously enabled prior to enabling BackupDR protection for this cluster.
|
|
264
|
+
*/
|
|
265
|
+
continuousBackupPreviouslyEnabled?: boolean | null;
|
|
266
|
+
/**
|
|
267
|
+
* The time when continuous backup was previously enabled prior to enabling BackupDR protection for this cluster.
|
|
268
|
+
*/
|
|
269
|
+
continuousBackupPreviouslyEnabledTime?: string | null;
|
|
270
|
+
/**
|
|
271
|
+
* The retention set for the continuous backup that was previously enabled prior to enabling BackupDR protection for this cluster.
|
|
272
|
+
*/
|
|
273
|
+
continuousBackupPreviousRecoveryWindowDays?: number | null;
|
|
274
|
+
/**
|
|
275
|
+
* The DataSource resource that represents the cluster in BackupDR.
|
|
276
|
+
*/
|
|
277
|
+
dataSource?: string | null;
|
|
278
|
+
/**
|
|
279
|
+
* Time when the BackupDR protection for this cluster was disabled. This field will be empty if this BackupDR window is the `current_window`.
|
|
280
|
+
*/
|
|
281
|
+
disabledTime?: string | null;
|
|
282
|
+
/**
|
|
283
|
+
* Time when the BackupDR protection for this cluster was enabled.
|
|
284
|
+
*/
|
|
285
|
+
enabledTime?: string | null;
|
|
286
|
+
/**
|
|
287
|
+
* The retention period for logs generated by BackupDR for this cluster.
|
|
288
|
+
*/
|
|
289
|
+
logRetentionPeriod?: string | null;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Information about BackupDR protection for this cluster.
|
|
293
|
+
*/
|
|
294
|
+
export interface Schema$BackupDrInfo {
|
|
295
|
+
/**
|
|
296
|
+
* The current BackupDR configuration for this cluster. If BackupDR protection is not enabled for this cluster, this field will be empty.
|
|
297
|
+
*/
|
|
298
|
+
currentWindow?: Schema$BackupDrEnabledWindow;
|
|
299
|
+
/**
|
|
300
|
+
* 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.
|
|
301
|
+
*/
|
|
302
|
+
previousWindows?: Schema$BackupDrEnabledWindow[];
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Message describing a BackupDrPitrSource.
|
|
306
|
+
*/
|
|
307
|
+
export interface Schema$BackupDrPitrSource {
|
|
308
|
+
/**
|
|
309
|
+
* Required. The name of the backup resource with the format: * projects/{project\}/locations/{location\}/backupVaults/{backupvault_id\}/dataSources/{datasource_id\}
|
|
310
|
+
*/
|
|
311
|
+
dataSource?: string | null;
|
|
312
|
+
/**
|
|
313
|
+
* Required. The point in time to restore to.
|
|
314
|
+
*/
|
|
315
|
+
pointInTime?: string | null;
|
|
316
|
+
}
|
|
228
317
|
/**
|
|
229
318
|
* Message describing a BackupSource.
|
|
230
319
|
*/
|
|
@@ -295,6 +384,14 @@ export declare namespace alloydb_v1beta {
|
|
|
295
384
|
* 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.
|
|
296
385
|
*/
|
|
297
386
|
automatedBackupPolicy?: Schema$AutomatedBackupPolicy;
|
|
387
|
+
/**
|
|
388
|
+
* Output only. Cluster created from a BackupDR backup.
|
|
389
|
+
*/
|
|
390
|
+
backupdrBackupSource?: Schema$BackupDrBackupSource;
|
|
391
|
+
/**
|
|
392
|
+
* Output only. Output only information about BackupDR protection for this cluster.
|
|
393
|
+
*/
|
|
394
|
+
backupdrInfo?: Schema$BackupDrInfo;
|
|
298
395
|
/**
|
|
299
396
|
* Output only. Cluster created from backup.
|
|
300
397
|
*/
|
|
@@ -601,6 +698,15 @@ export declare namespace alloydb_v1beta {
|
|
|
601
698
|
*/
|
|
602
699
|
pointInTime?: string | null;
|
|
603
700
|
}
|
|
701
|
+
/**
|
|
702
|
+
* CPU utilization policy for the autoscaler.
|
|
703
|
+
*/
|
|
704
|
+
export interface Schema$CpuUtilization {
|
|
705
|
+
/**
|
|
706
|
+
* Target CPU utilization as a float between 0 and 1.
|
|
707
|
+
*/
|
|
708
|
+
utilizationTarget?: number | null;
|
|
709
|
+
}
|
|
604
710
|
/**
|
|
605
711
|
* Options for exporting data in CSV format.
|
|
606
712
|
*/
|
|
@@ -1144,6 +1250,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1144
1250
|
* A list of operations that matches the specified filter in the request.
|
|
1145
1251
|
*/
|
|
1146
1252
|
operations?: Schema$Operation[];
|
|
1253
|
+
/**
|
|
1254
|
+
* 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.
|
|
1255
|
+
*/
|
|
1256
|
+
unreachable?: string[] | null;
|
|
1147
1257
|
}
|
|
1148
1258
|
/**
|
|
1149
1259
|
* Message for response to listing SupportedDatabaseFlags.
|
|
@@ -1385,6 +1495,27 @@ export declare namespace alloydb_v1beta {
|
|
|
1385
1495
|
*/
|
|
1386
1496
|
verb?: string | null;
|
|
1387
1497
|
}
|
|
1498
|
+
/**
|
|
1499
|
+
* Policy for the autoscaler.
|
|
1500
|
+
*/
|
|
1501
|
+
export interface Schema$Policy {
|
|
1502
|
+
/**
|
|
1503
|
+
* 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.
|
|
1504
|
+
*/
|
|
1505
|
+
coolDownPeriodSec?: string | null;
|
|
1506
|
+
/**
|
|
1507
|
+
* CPU utilization policy for the autoscaler.
|
|
1508
|
+
*/
|
|
1509
|
+
cpuUtilization?: Schema$CpuUtilization;
|
|
1510
|
+
/**
|
|
1511
|
+
* If true, autoscaling is enabled for the instance. If not set, the default value is false.
|
|
1512
|
+
*/
|
|
1513
|
+
enabled?: boolean | null;
|
|
1514
|
+
/**
|
|
1515
|
+
* Maximum number of nodes for the autoscaler.
|
|
1516
|
+
*/
|
|
1517
|
+
maxNodeCount?: string | null;
|
|
1518
|
+
}
|
|
1388
1519
|
/**
|
|
1389
1520
|
* 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.
|
|
1390
1521
|
*/
|
|
@@ -1530,6 +1661,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1530
1661
|
* Configuration for a read pool instance.
|
|
1531
1662
|
*/
|
|
1532
1663
|
export interface Schema$ReadPoolConfig {
|
|
1664
|
+
/**
|
|
1665
|
+
* Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled.
|
|
1666
|
+
*/
|
|
1667
|
+
autoScalingConfig?: Schema$AutoScalingConfig;
|
|
1533
1668
|
/**
|
|
1534
1669
|
* Read capacity, i.e. number of nodes in a read pool instance.
|
|
1535
1670
|
*/
|
|
@@ -1562,6 +1697,14 @@ export declare namespace alloydb_v1beta {
|
|
|
1562
1697
|
* Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
|
|
1563
1698
|
*/
|
|
1564
1699
|
export interface Schema$RestoreClusterRequest {
|
|
1700
|
+
/**
|
|
1701
|
+
* BackupDR backup source.
|
|
1702
|
+
*/
|
|
1703
|
+
backupdrBackupSource?: Schema$BackupDrBackupSource;
|
|
1704
|
+
/**
|
|
1705
|
+
* BackupDR source used for point in time recovery.
|
|
1706
|
+
*/
|
|
1707
|
+
backupdrPitrSource?: Schema$BackupDrPitrSource;
|
|
1565
1708
|
/**
|
|
1566
1709
|
* Backup source.
|
|
1567
1710
|
*/
|
|
@@ -1604,6 +1747,39 @@ export declare namespace alloydb_v1beta {
|
|
|
1604
1747
|
*/
|
|
1605
1748
|
clusterId?: string | null;
|
|
1606
1749
|
}
|
|
1750
|
+
/**
|
|
1751
|
+
* A schedule for the autoscaler.
|
|
1752
|
+
*/
|
|
1753
|
+
export interface Schema$Schedule {
|
|
1754
|
+
/**
|
|
1755
|
+
* Cron expression for the triggering the schedule. See https://cloud.google.com/compute/docs/autoscaler/scaling-schedules#cron_expressions for the syntax.
|
|
1756
|
+
*/
|
|
1757
|
+
cronExpression?: string | null;
|
|
1758
|
+
/**
|
|
1759
|
+
* Description of the schedule.
|
|
1760
|
+
*/
|
|
1761
|
+
description?: string | null;
|
|
1762
|
+
/**
|
|
1763
|
+
* If true, the schedule is disabled.
|
|
1764
|
+
*/
|
|
1765
|
+
disabled?: boolean | null;
|
|
1766
|
+
/**
|
|
1767
|
+
* Duration of the schedule.
|
|
1768
|
+
*/
|
|
1769
|
+
durationSec?: string | null;
|
|
1770
|
+
/**
|
|
1771
|
+
* Minimum number of nodes in while the schedule is active.
|
|
1772
|
+
*/
|
|
1773
|
+
minNodeCount?: string | null;
|
|
1774
|
+
/**
|
|
1775
|
+
* Name of the schedule.
|
|
1776
|
+
*/
|
|
1777
|
+
name?: string | null;
|
|
1778
|
+
/**
|
|
1779
|
+
* The location-based IANA time zone for interpreting the schedule's start time. If no time zone is provided, UTC is used by default.
|
|
1780
|
+
*/
|
|
1781
|
+
timeZone?: string | null;
|
|
1782
|
+
}
|
|
1607
1783
|
/**
|
|
1608
1784
|
* Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.
|
|
1609
1785
|
*/
|
|
@@ -1669,27 +1845,6 @@ export declare namespace alloydb_v1beta {
|
|
|
1669
1845
|
*/
|
|
1670
1846
|
status?: string | null;
|
|
1671
1847
|
}
|
|
1672
|
-
/**
|
|
1673
|
-
* Timing information for the stage execution.
|
|
1674
|
-
*/
|
|
1675
|
-
export interface Schema$StageSchedule {
|
|
1676
|
-
/**
|
|
1677
|
-
* Actual end time of the stage. Set only if the stage has completed.
|
|
1678
|
-
*/
|
|
1679
|
-
actualEndTime?: string | null;
|
|
1680
|
-
/**
|
|
1681
|
-
* Actual start time of the stage. Set only if the stage has started.
|
|
1682
|
-
*/
|
|
1683
|
-
actualStartTime?: string | null;
|
|
1684
|
-
/**
|
|
1685
|
-
* When the stage is expected to end. Set only if the stage has not completed yet.
|
|
1686
|
-
*/
|
|
1687
|
-
estimatedEndTime?: string | null;
|
|
1688
|
-
/**
|
|
1689
|
-
* When the stage is expected to start. Set only if the stage has not started yet.
|
|
1690
|
-
*/
|
|
1691
|
-
estimatedStartTime?: string | null;
|
|
1692
|
-
}
|
|
1693
1848
|
/**
|
|
1694
1849
|
* Status of an upgrade stage.
|
|
1695
1850
|
*/
|
|
@@ -1698,10 +1853,6 @@ export declare namespace alloydb_v1beta {
|
|
|
1698
1853
|
* Read pool instances upgrade metadata.
|
|
1699
1854
|
*/
|
|
1700
1855
|
readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
|
|
1701
|
-
/**
|
|
1702
|
-
* Output only. Timing information for the stage execution.
|
|
1703
|
-
*/
|
|
1704
|
-
schedule?: Schema$StageSchedule;
|
|
1705
1856
|
/**
|
|
1706
1857
|
* Upgrade stage.
|
|
1707
1858
|
*/
|
|
@@ -1894,7 +2045,7 @@ export declare namespace alloydb_v1beta {
|
|
|
1894
2045
|
internalResourceMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata[];
|
|
1895
2046
|
}
|
|
1896
2047
|
/**
|
|
1897
|
-
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID:
|
|
2048
|
+
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 13
|
|
1898
2049
|
*/
|
|
1899
2050
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed {
|
|
1900
2051
|
/**
|
|
@@ -1905,6 +2056,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1905
2056
|
* Config based signal data is used to ingest signals that are generated based on the configuration of the database resource.
|
|
1906
2057
|
*/
|
|
1907
2058
|
configBasedSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData;
|
|
2059
|
+
/**
|
|
2060
|
+
* Database resource signal data is used to ingest signals from database resource signal feeds.
|
|
2061
|
+
*/
|
|
2062
|
+
databaseResourceSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData;
|
|
1908
2063
|
/**
|
|
1909
2064
|
* Required. Timestamp when feed is generated.
|
|
1910
2065
|
*/
|
|
@@ -2012,7 +2167,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2012
2167
|
uniqueId?: string | null;
|
|
2013
2168
|
}
|
|
2014
2169
|
/**
|
|
2015
|
-
* Common model for database resource instance metadata. Next ID:
|
|
2170
|
+
* Common model for database resource instance metadata. Next ID: 29
|
|
2016
2171
|
*/
|
|
2017
2172
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
|
|
2018
2173
|
/**
|
|
@@ -2075,6 +2230,10 @@ export declare namespace alloydb_v1beta {
|
|
|
2075
2230
|
* Machine configuration for this resource.
|
|
2076
2231
|
*/
|
|
2077
2232
|
machineConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration;
|
|
2233
|
+
/**
|
|
2234
|
+
* Optional. Maintenance info for the resource.
|
|
2235
|
+
*/
|
|
2236
|
+
maintenanceInfo?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo;
|
|
2078
2237
|
/**
|
|
2079
2238
|
* 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.
|
|
2080
2239
|
*/
|
|
@@ -2111,6 +2270,10 @@ export declare namespace alloydb_v1beta {
|
|
|
2111
2270
|
* User-provided labels associated with the resource
|
|
2112
2271
|
*/
|
|
2113
2272
|
userLabelSet?: Schema$StorageDatabasecenterPartnerapiV1mainUserLabels;
|
|
2273
|
+
/**
|
|
2274
|
+
* The resource zone. This is only applicable for zonal resources and will be empty for regional and multi-regional resources.
|
|
2275
|
+
*/
|
|
2276
|
+
zone?: string | null;
|
|
2114
2277
|
}
|
|
2115
2278
|
/**
|
|
2116
2279
|
* Common model for database resource recommendation signal data.
|
|
@@ -2151,6 +2314,35 @@ export declare namespace alloydb_v1beta {
|
|
|
2151
2314
|
*/
|
|
2152
2315
|
signalType?: string | null;
|
|
2153
2316
|
}
|
|
2317
|
+
/**
|
|
2318
|
+
* 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
|
|
2319
|
+
*/
|
|
2320
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData {
|
|
2321
|
+
/**
|
|
2322
|
+
* Required. Full Resource name of the source resource.
|
|
2323
|
+
*/
|
|
2324
|
+
fullResourceName?: string | null;
|
|
2325
|
+
/**
|
|
2326
|
+
* Required. Last time signal was refreshed
|
|
2327
|
+
*/
|
|
2328
|
+
lastRefreshTime?: string | null;
|
|
2329
|
+
/**
|
|
2330
|
+
* Database resource id.
|
|
2331
|
+
*/
|
|
2332
|
+
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
2333
|
+
/**
|
|
2334
|
+
* Signal data for boolean signals.
|
|
2335
|
+
*/
|
|
2336
|
+
signalBoolValue?: boolean | null;
|
|
2337
|
+
/**
|
|
2338
|
+
* Required. Output only. Signal state of the signal
|
|
2339
|
+
*/
|
|
2340
|
+
signalState?: string | null;
|
|
2341
|
+
/**
|
|
2342
|
+
* Required. Signal type of the signal
|
|
2343
|
+
*/
|
|
2344
|
+
signalType?: string | null;
|
|
2345
|
+
}
|
|
2154
2346
|
/**
|
|
2155
2347
|
* Proto representing the access that a user has to a specific feature/service. NextId: 3.
|
|
2156
2348
|
*/
|
|
@@ -2253,6 +2445,57 @@ export declare namespace alloydb_v1beta {
|
|
|
2253
2445
|
*/
|
|
2254
2446
|
message?: string | null;
|
|
2255
2447
|
}
|
|
2448
|
+
/**
|
|
2449
|
+
* Deny maintenance period for the database resource. It specifies the time range during which the maintenance cannot start. This is configured by the customer.
|
|
2450
|
+
*/
|
|
2451
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule {
|
|
2452
|
+
/**
|
|
2453
|
+
* Optional. Deny period end date.
|
|
2454
|
+
*/
|
|
2455
|
+
endDate?: Schema$GoogleTypeDate;
|
|
2456
|
+
/**
|
|
2457
|
+
* Optional. The start date of the deny maintenance period.
|
|
2458
|
+
*/
|
|
2459
|
+
startDate?: Schema$GoogleTypeDate;
|
|
2460
|
+
/**
|
|
2461
|
+
* Optional. Time in UTC when the deny period starts on start_date and ends on end_date.
|
|
2462
|
+
*/
|
|
2463
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
2464
|
+
}
|
|
2465
|
+
/**
|
|
2466
|
+
* MaintenanceInfo to capture the maintenance details of database resource.
|
|
2467
|
+
*/
|
|
2468
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo {
|
|
2469
|
+
/**
|
|
2470
|
+
* Optional. List of Deny maintenance period for the database resource.
|
|
2471
|
+
*/
|
|
2472
|
+
denyMaintenanceSchedules?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule[];
|
|
2473
|
+
/**
|
|
2474
|
+
* Optional. Maintenance window for the database resource.
|
|
2475
|
+
*/
|
|
2476
|
+
maintenanceSchedule?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule;
|
|
2477
|
+
/**
|
|
2478
|
+
* Optional. Current Maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15"
|
|
2479
|
+
*/
|
|
2480
|
+
maintenanceVersion?: string | null;
|
|
2481
|
+
}
|
|
2482
|
+
/**
|
|
2483
|
+
* 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.
|
|
2484
|
+
*/
|
|
2485
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule {
|
|
2486
|
+
/**
|
|
2487
|
+
* Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
|
2488
|
+
*/
|
|
2489
|
+
day?: string | null;
|
|
2490
|
+
/**
|
|
2491
|
+
* 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
|
|
2492
|
+
*/
|
|
2493
|
+
phase?: string | null;
|
|
2494
|
+
/**
|
|
2495
|
+
* Optional. Preferred time to start the maintenance operation on the specified day.
|
|
2496
|
+
*/
|
|
2497
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
2498
|
+
}
|
|
2256
2499
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainRetentionSettings {
|
|
2257
2500
|
/**
|
|
2258
2501
|
* Duration based retention period i.e. 172800 seconds (2 days)
|
|
@@ -2658,7 +2901,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2658
2901
|
*
|
|
2659
2902
|
* // Do the magic
|
|
2660
2903
|
* const res = await alloydb.projects.locations.list({
|
|
2661
|
-
* // Optional.
|
|
2904
|
+
* // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
|
|
2662
2905
|
* extraLocationTypes: 'placeholder-value',
|
|
2663
2906
|
* // 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).
|
|
2664
2907
|
* filter: 'placeholder-value',
|
|
@@ -2705,7 +2948,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2705
2948
|
}
|
|
2706
2949
|
export interface Params$Resource$Projects$Locations$List extends StandardParameters {
|
|
2707
2950
|
/**
|
|
2708
|
-
* Optional.
|
|
2951
|
+
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
|
|
2709
2952
|
*/
|
|
2710
2953
|
extraLocationTypes?: string[];
|
|
2711
2954
|
/**
|
|
@@ -3302,6 +3545,8 @@ export declare namespace alloydb_v1beta {
|
|
|
3302
3545
|
* // "annotations": {},
|
|
3303
3546
|
* // "automatedBackupPolicy": {},
|
|
3304
3547
|
* // "backupSource": {},
|
|
3548
|
+
* // "backupdrBackupSource": {},
|
|
3549
|
+
* // "backupdrInfo": {},
|
|
3305
3550
|
* // "cloudsqlBackupRunSource": {},
|
|
3306
3551
|
* // "clusterType": "my_clusterType",
|
|
3307
3552
|
* // "continuousBackupConfig": {},
|
|
@@ -3415,6 +3660,8 @@ export declare namespace alloydb_v1beta {
|
|
|
3415
3660
|
* // "annotations": {},
|
|
3416
3661
|
* // "automatedBackupPolicy": {},
|
|
3417
3662
|
* // "backupSource": {},
|
|
3663
|
+
* // "backupdrBackupSource": {},
|
|
3664
|
+
* // "backupdrInfo": {},
|
|
3418
3665
|
* // "cloudsqlBackupRunSource": {},
|
|
3419
3666
|
* // "clusterType": "my_clusterType",
|
|
3420
3667
|
* // "continuousBackupConfig": {},
|
|
@@ -3671,6 +3918,8 @@ export declare namespace alloydb_v1beta {
|
|
|
3671
3918
|
* // "annotations": {},
|
|
3672
3919
|
* // "automatedBackupPolicy": {},
|
|
3673
3920
|
* // "backupSource": {},
|
|
3921
|
+
* // "backupdrBackupSource": {},
|
|
3922
|
+
* // "backupdrInfo": {},
|
|
3674
3923
|
* // "cloudsqlBackupRunSource": {},
|
|
3675
3924
|
* // "clusterType": "my_clusterType",
|
|
3676
3925
|
* // "continuousBackupConfig": {},
|
|
@@ -3920,6 +4169,8 @@ export declare namespace alloydb_v1beta {
|
|
|
3920
4169
|
* // "annotations": {},
|
|
3921
4170
|
* // "automatedBackupPolicy": {},
|
|
3922
4171
|
* // "backupSource": {},
|
|
4172
|
+
* // "backupdrBackupSource": {},
|
|
4173
|
+
* // "backupdrInfo": {},
|
|
3923
4174
|
* // "cloudsqlBackupRunSource": {},
|
|
3924
4175
|
* // "clusterType": "my_clusterType",
|
|
3925
4176
|
* // "continuousBackupConfig": {},
|
|
@@ -4099,6 +4350,8 @@ export declare namespace alloydb_v1beta {
|
|
|
4099
4350
|
* // request body parameters
|
|
4100
4351
|
* // {
|
|
4101
4352
|
* // "backupSource": {},
|
|
4353
|
+
* // "backupdrBackupSource": {},
|
|
4354
|
+
* // "backupdrPitrSource": {},
|
|
4102
4355
|
* // "cluster": {},
|
|
4103
4356
|
* // "clusterId": "my_clusterId",
|
|
4104
4357
|
* // "continuousBackupSource": {},
|
|
@@ -6253,13 +6506,16 @@ export declare namespace alloydb_v1beta {
|
|
|
6253
6506
|
* pageSize: 'placeholder-value',
|
|
6254
6507
|
* // The standard list page token.
|
|
6255
6508
|
* pageToken: 'placeholder-value',
|
|
6509
|
+
* // 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.
|
|
6510
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
6256
6511
|
* });
|
|
6257
6512
|
* console.log(res.data);
|
|
6258
6513
|
*
|
|
6259
6514
|
* // Example response
|
|
6260
6515
|
* // {
|
|
6261
6516
|
* // "nextPageToken": "my_nextPageToken",
|
|
6262
|
-
* // "operations": []
|
|
6517
|
+
* // "operations": [],
|
|
6518
|
+
* // "unreachable": []
|
|
6263
6519
|
* // }
|
|
6264
6520
|
* }
|
|
6265
6521
|
*
|
|
@@ -6317,6 +6573,10 @@ export declare namespace alloydb_v1beta {
|
|
|
6317
6573
|
* The standard list page token.
|
|
6318
6574
|
*/
|
|
6319
6575
|
pageToken?: string;
|
|
6576
|
+
/**
|
|
6577
|
+
* 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.
|
|
6578
|
+
*/
|
|
6579
|
+
returnPartialSuccess?: boolean;
|
|
6320
6580
|
}
|
|
6321
6581
|
export class Resource$Projects$Locations$Supporteddatabaseflags {
|
|
6322
6582
|
context: APIRequestContext;
|