@googleapis/alloydb 16.0.0 → 18.1.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 +33 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +170 -27
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +258 -27
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +258 -27
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +170 -27
- package/v1alpha.ts +258 -27
- package/v1beta.ts +258 -27
package/v1.ts
CHANGED
|
@@ -271,6 +271,82 @@ export namespace alloydb_v1 {
|
|
|
271
271
|
*/
|
|
272
272
|
updateTime?: string | null;
|
|
273
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* Message describing a BackupDrBackupSource.
|
|
276
|
+
*/
|
|
277
|
+
export interface Schema$BackupDrBackupSource {
|
|
278
|
+
/**
|
|
279
|
+
* Required. The name of the backup resource with the format: * projects/{project\}/locations/{location\}/backupVaults/{backupvault_id\}/dataSources/{datasource_id\}/backups/{backup_id\}
|
|
280
|
+
*/
|
|
281
|
+
backup?: string | null;
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Information about a single window when BackupDR was enabled for this cluster.
|
|
285
|
+
*/
|
|
286
|
+
export interface Schema$BackupDrEnabledWindow {
|
|
287
|
+
/**
|
|
288
|
+
* Whether automated backup was previously enabled prior to enabling BackupDR protection for this cluster.
|
|
289
|
+
*/
|
|
290
|
+
automatedBackupPreviouslyEnabled?: boolean | null;
|
|
291
|
+
/**
|
|
292
|
+
* The BackupPlanAssociation resource that was used to enable BackupDR protection for this cluster.
|
|
293
|
+
*/
|
|
294
|
+
backupPlanAssociation?: string | null;
|
|
295
|
+
/**
|
|
296
|
+
* Whether continuous backup was previously enabled prior to enabling BackupDR protection for this cluster.
|
|
297
|
+
*/
|
|
298
|
+
continuousBackupPreviouslyEnabled?: boolean | null;
|
|
299
|
+
/**
|
|
300
|
+
* The time when continuous backup was previously enabled prior to enabling BackupDR protection for this cluster.
|
|
301
|
+
*/
|
|
302
|
+
continuousBackupPreviouslyEnabledTime?: string | null;
|
|
303
|
+
/**
|
|
304
|
+
* The retention set for the continuous backup that was previously enabled prior to enabling BackupDR protection for this cluster.
|
|
305
|
+
*/
|
|
306
|
+
continuousBackupPreviousRecoveryWindowDays?: number | null;
|
|
307
|
+
/**
|
|
308
|
+
* The DataSource resource that represents the cluster in BackupDR.
|
|
309
|
+
*/
|
|
310
|
+
dataSource?: string | null;
|
|
311
|
+
/**
|
|
312
|
+
* Time when the BackupDR protection for this cluster was disabled. This field will be empty if this BackupDR window is the `current_window`.
|
|
313
|
+
*/
|
|
314
|
+
disabledTime?: string | null;
|
|
315
|
+
/**
|
|
316
|
+
* Time when the BackupDR protection for this cluster was enabled.
|
|
317
|
+
*/
|
|
318
|
+
enabledTime?: string | null;
|
|
319
|
+
/**
|
|
320
|
+
* The retention period for logs generated by BackupDR for this cluster.
|
|
321
|
+
*/
|
|
322
|
+
logRetentionPeriod?: string | null;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Information about BackupDR protection for this cluster.
|
|
326
|
+
*/
|
|
327
|
+
export interface Schema$BackupDrInfo {
|
|
328
|
+
/**
|
|
329
|
+
* The current BackupDR configuration for this cluster. If BackupDR protection is not enabled for this cluster, this field will be empty.
|
|
330
|
+
*/
|
|
331
|
+
currentWindow?: Schema$BackupDrEnabledWindow;
|
|
332
|
+
/**
|
|
333
|
+
* 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.
|
|
334
|
+
*/
|
|
335
|
+
previousWindows?: Schema$BackupDrEnabledWindow[];
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Message describing a BackupDrPitrSource.
|
|
339
|
+
*/
|
|
340
|
+
export interface Schema$BackupDrPitrSource {
|
|
341
|
+
/**
|
|
342
|
+
* Required. The name of the backup resource with the format: * projects/{project\}/locations/{location\}/backupVaults/{backupvault_id\}/dataSources/{datasource_id\}
|
|
343
|
+
*/
|
|
344
|
+
dataSource?: string | null;
|
|
345
|
+
/**
|
|
346
|
+
* Required. The point in time to restore to.
|
|
347
|
+
*/
|
|
348
|
+
pointInTime?: string | null;
|
|
349
|
+
}
|
|
274
350
|
/**
|
|
275
351
|
* Message describing a BackupSource.
|
|
276
352
|
*/
|
|
@@ -343,6 +419,14 @@ export namespace alloydb_v1 {
|
|
|
343
419
|
* 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
420
|
*/
|
|
345
421
|
automatedBackupPolicy?: Schema$AutomatedBackupPolicy;
|
|
422
|
+
/**
|
|
423
|
+
* Output only. Cluster created from a BackupDR backup.
|
|
424
|
+
*/
|
|
425
|
+
backupdrBackupSource?: Schema$BackupDrBackupSource;
|
|
426
|
+
/**
|
|
427
|
+
* Output only. Output only information about BackupDR protection for this cluster.
|
|
428
|
+
*/
|
|
429
|
+
backupdrInfo?: Schema$BackupDrInfo;
|
|
346
430
|
/**
|
|
347
431
|
* Output only. Cluster created from backup.
|
|
348
432
|
*/
|
|
@@ -1098,6 +1182,10 @@ export namespace alloydb_v1 {
|
|
|
1098
1182
|
* A list of operations that matches the specified filter in the request.
|
|
1099
1183
|
*/
|
|
1100
1184
|
operations?: Schema$Operation[];
|
|
1185
|
+
/**
|
|
1186
|
+
* 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.
|
|
1187
|
+
*/
|
|
1188
|
+
unreachable?: string[] | null;
|
|
1101
1189
|
}
|
|
1102
1190
|
/**
|
|
1103
1191
|
* Message for response to listing SupportedDatabaseFlags.
|
|
@@ -1504,6 +1592,14 @@ export namespace alloydb_v1 {
|
|
|
1504
1592
|
* Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
|
|
1505
1593
|
*/
|
|
1506
1594
|
export interface Schema$RestoreClusterRequest {
|
|
1595
|
+
/**
|
|
1596
|
+
* BackupDR backup source.
|
|
1597
|
+
*/
|
|
1598
|
+
backupdrBackupSource?: Schema$BackupDrBackupSource;
|
|
1599
|
+
/**
|
|
1600
|
+
* BackupDR source used for point in time recovery.
|
|
1601
|
+
*/
|
|
1602
|
+
backupdrPitrSource?: Schema$BackupDrPitrSource;
|
|
1507
1603
|
/**
|
|
1508
1604
|
* Backup source.
|
|
1509
1605
|
*/
|
|
@@ -1610,27 +1706,6 @@ export namespace alloydb_v1 {
|
|
|
1610
1706
|
*/
|
|
1611
1707
|
status?: string | null;
|
|
1612
1708
|
}
|
|
1613
|
-
/**
|
|
1614
|
-
* Timing information for the stage execution.
|
|
1615
|
-
*/
|
|
1616
|
-
export interface Schema$StageSchedule {
|
|
1617
|
-
/**
|
|
1618
|
-
* Actual end time of the stage. Set only if the stage has completed.
|
|
1619
|
-
*/
|
|
1620
|
-
actualEndTime?: string | null;
|
|
1621
|
-
/**
|
|
1622
|
-
* Actual start time of the stage. Set only if the stage has started.
|
|
1623
|
-
*/
|
|
1624
|
-
actualStartTime?: string | null;
|
|
1625
|
-
/**
|
|
1626
|
-
* When the stage is expected to end. Set only if the stage has not completed yet.
|
|
1627
|
-
*/
|
|
1628
|
-
estimatedEndTime?: string | null;
|
|
1629
|
-
/**
|
|
1630
|
-
* When the stage is expected to start. Set only if the stage has not started yet.
|
|
1631
|
-
*/
|
|
1632
|
-
estimatedStartTime?: string | null;
|
|
1633
|
-
}
|
|
1634
1709
|
/**
|
|
1635
1710
|
* Status of an upgrade stage.
|
|
1636
1711
|
*/
|
|
@@ -1639,10 +1714,6 @@ export namespace alloydb_v1 {
|
|
|
1639
1714
|
* Read pool instances upgrade metadata.
|
|
1640
1715
|
*/
|
|
1641
1716
|
readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
|
|
1642
|
-
/**
|
|
1643
|
-
* Output only. Timing information for the stage execution.
|
|
1644
|
-
*/
|
|
1645
|
-
schedule?: Schema$StageSchedule;
|
|
1646
1717
|
/**
|
|
1647
1718
|
* Upgrade stage.
|
|
1648
1719
|
*/
|
|
@@ -1953,7 +2024,7 @@ export namespace alloydb_v1 {
|
|
|
1953
2024
|
uniqueId?: string | null;
|
|
1954
2025
|
}
|
|
1955
2026
|
/**
|
|
1956
|
-
* Common model for database resource instance metadata. Next ID:
|
|
2027
|
+
* Common model for database resource instance metadata. Next ID: 29
|
|
1957
2028
|
*/
|
|
1958
2029
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
|
|
1959
2030
|
/**
|
|
@@ -2016,6 +2087,10 @@ export namespace alloydb_v1 {
|
|
|
2016
2087
|
* Machine configuration for this resource.
|
|
2017
2088
|
*/
|
|
2018
2089
|
machineConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration;
|
|
2090
|
+
/**
|
|
2091
|
+
* Optional. Maintenance info for the resource.
|
|
2092
|
+
*/
|
|
2093
|
+
maintenanceInfo?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo;
|
|
2019
2094
|
/**
|
|
2020
2095
|
* 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.
|
|
2021
2096
|
*/
|
|
@@ -2225,6 +2300,57 @@ export namespace alloydb_v1 {
|
|
|
2225
2300
|
*/
|
|
2226
2301
|
message?: string | null;
|
|
2227
2302
|
}
|
|
2303
|
+
/**
|
|
2304
|
+
* Deny maintenance period for the database resource. It specifies the time range during which the maintenance cannot start. This is configured by the customer.
|
|
2305
|
+
*/
|
|
2306
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule {
|
|
2307
|
+
/**
|
|
2308
|
+
* Optional. Deny period end date.
|
|
2309
|
+
*/
|
|
2310
|
+
endDate?: Schema$GoogleTypeDate;
|
|
2311
|
+
/**
|
|
2312
|
+
* Optional. The start date of the deny maintenance period.
|
|
2313
|
+
*/
|
|
2314
|
+
startDate?: Schema$GoogleTypeDate;
|
|
2315
|
+
/**
|
|
2316
|
+
* Optional. Time in UTC when the deny period starts on start_date and ends on end_date.
|
|
2317
|
+
*/
|
|
2318
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
2319
|
+
}
|
|
2320
|
+
/**
|
|
2321
|
+
* MaintenanceInfo to capture the maintenance details of database resource.
|
|
2322
|
+
*/
|
|
2323
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo {
|
|
2324
|
+
/**
|
|
2325
|
+
* Optional. List of Deny maintenance period for the database resource.
|
|
2326
|
+
*/
|
|
2327
|
+
denyMaintenanceSchedules?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule[];
|
|
2328
|
+
/**
|
|
2329
|
+
* Optional. Maintenance window for the database resource.
|
|
2330
|
+
*/
|
|
2331
|
+
maintenanceSchedule?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule;
|
|
2332
|
+
/**
|
|
2333
|
+
* Optional. Current Maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15"
|
|
2334
|
+
*/
|
|
2335
|
+
maintenanceVersion?: string | null;
|
|
2336
|
+
}
|
|
2337
|
+
/**
|
|
2338
|
+
* 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.
|
|
2339
|
+
*/
|
|
2340
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule {
|
|
2341
|
+
/**
|
|
2342
|
+
* Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
|
2343
|
+
*/
|
|
2344
|
+
day?: string | null;
|
|
2345
|
+
/**
|
|
2346
|
+
* 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
|
|
2347
|
+
*/
|
|
2348
|
+
phase?: string | null;
|
|
2349
|
+
/**
|
|
2350
|
+
* Optional. Preferred time to start the maintenance operation on the specified day.
|
|
2351
|
+
*/
|
|
2352
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
2353
|
+
}
|
|
2228
2354
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainRetentionSettings {
|
|
2229
2355
|
/**
|
|
2230
2356
|
* Duration based retention period i.e. 172800 seconds (2 days)
|
|
@@ -3838,6 +3964,8 @@ export namespace alloydb_v1 {
|
|
|
3838
3964
|
* // "annotations": {},
|
|
3839
3965
|
* // "automatedBackupPolicy": {},
|
|
3840
3966
|
* // "backupSource": {},
|
|
3967
|
+
* // "backupdrBackupSource": {},
|
|
3968
|
+
* // "backupdrInfo": {},
|
|
3841
3969
|
* // "cloudsqlBackupRunSource": {},
|
|
3842
3970
|
* // "clusterType": "my_clusterType",
|
|
3843
3971
|
* // "continuousBackupConfig": {},
|
|
@@ -4026,6 +4154,8 @@ export namespace alloydb_v1 {
|
|
|
4026
4154
|
* // "annotations": {},
|
|
4027
4155
|
* // "automatedBackupPolicy": {},
|
|
4028
4156
|
* // "backupSource": {},
|
|
4157
|
+
* // "backupdrBackupSource": {},
|
|
4158
|
+
* // "backupdrInfo": {},
|
|
4029
4159
|
* // "cloudsqlBackupRunSource": {},
|
|
4030
4160
|
* // "clusterType": "my_clusterType",
|
|
4031
4161
|
* // "continuousBackupConfig": {},
|
|
@@ -4506,6 +4636,8 @@ export namespace alloydb_v1 {
|
|
|
4506
4636
|
* // "annotations": {},
|
|
4507
4637
|
* // "automatedBackupPolicy": {},
|
|
4508
4638
|
* // "backupSource": {},
|
|
4639
|
+
* // "backupdrBackupSource": {},
|
|
4640
|
+
* // "backupdrInfo": {},
|
|
4509
4641
|
* // "cloudsqlBackupRunSource": {},
|
|
4510
4642
|
* // "clusterType": "my_clusterType",
|
|
4511
4643
|
* // "continuousBackupConfig": {},
|
|
@@ -4980,6 +5112,8 @@ export namespace alloydb_v1 {
|
|
|
4980
5112
|
* // "annotations": {},
|
|
4981
5113
|
* // "automatedBackupPolicy": {},
|
|
4982
5114
|
* // "backupSource": {},
|
|
5115
|
+
* // "backupdrBackupSource": {},
|
|
5116
|
+
* // "backupdrInfo": {},
|
|
4983
5117
|
* // "cloudsqlBackupRunSource": {},
|
|
4984
5118
|
* // "clusterType": "my_clusterType",
|
|
4985
5119
|
* // "continuousBackupConfig": {},
|
|
@@ -5308,6 +5442,8 @@ export namespace alloydb_v1 {
|
|
|
5308
5442
|
* // request body parameters
|
|
5309
5443
|
* // {
|
|
5310
5444
|
* // "backupSource": {},
|
|
5445
|
+
* // "backupdrBackupSource": {},
|
|
5446
|
+
* // "backupdrPitrSource": {},
|
|
5311
5447
|
* // "cluster": {},
|
|
5312
5448
|
* // "clusterId": "my_clusterId",
|
|
5313
5449
|
* // "continuousBackupSource": {},
|
|
@@ -9193,13 +9329,16 @@ export namespace alloydb_v1 {
|
|
|
9193
9329
|
* pageSize: 'placeholder-value',
|
|
9194
9330
|
* // The standard list page token.
|
|
9195
9331
|
* pageToken: 'placeholder-value',
|
|
9332
|
+
* // 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.
|
|
9333
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
9196
9334
|
* });
|
|
9197
9335
|
* console.log(res.data);
|
|
9198
9336
|
*
|
|
9199
9337
|
* // Example response
|
|
9200
9338
|
* // {
|
|
9201
9339
|
* // "nextPageToken": "my_nextPageToken",
|
|
9202
|
-
* // "operations": []
|
|
9340
|
+
* // "operations": [],
|
|
9341
|
+
* // "unreachable": []
|
|
9203
9342
|
* // }
|
|
9204
9343
|
* }
|
|
9205
9344
|
*
|
|
@@ -9345,6 +9484,10 @@ export namespace alloydb_v1 {
|
|
|
9345
9484
|
* The standard list page token.
|
|
9346
9485
|
*/
|
|
9347
9486
|
pageToken?: string;
|
|
9487
|
+
/**
|
|
9488
|
+
* 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.
|
|
9489
|
+
*/
|
|
9490
|
+
returnPartialSuccess?: boolean;
|
|
9348
9491
|
}
|
|
9349
9492
|
|
|
9350
9493
|
export class Resource$Projects$Locations$Supporteddatabaseflags {
|