@googleapis/alloydb 8.0.0 → 11.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/v1beta.ts CHANGED
@@ -302,6 +302,23 @@ export namespace alloydb_v1beta {
302
302
  */
303
303
  exclusiveAction?: string | null;
304
304
  }
305
+ /**
306
+ * The source CloudSQL backup resource.
307
+ */
308
+ export interface Schema$CloudSQLBackupRunSource {
309
+ /**
310
+ * Required. The CloudSQL backup run ID.
311
+ */
312
+ backupRunId?: string | null;
313
+ /**
314
+ * Required. The CloudSQL instance ID.
315
+ */
316
+ instanceId?: string | null;
317
+ /**
318
+ * The project ID of the source CloudSQL instance. This should be the same as the AlloyDB cluster's project.
319
+ */
320
+ project?: string | null;
321
+ }
305
322
  /**
306
323
  * A cluster is a collection of regional AlloyDB resources. It can include a primary instance and one or more read pool instances. All cluster resources share a storage layer, which scales as needed.
307
324
  */
@@ -318,6 +335,10 @@ export namespace alloydb_v1beta {
318
335
  * Output only. Cluster created from backup.
319
336
  */
320
337
  backupSource?: Schema$BackupSource;
338
+ /**
339
+ * Output only. Cluster created from CloudSQL snapshot.
340
+ */
341
+ cloudsqlBackupRunSource?: Schema$CloudSQLBackupRunSource;
321
342
  /**
322
343
  * Output only. The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
323
344
  */
@@ -419,6 +440,14 @@ export namespace alloydb_v1beta {
419
440
  * Output only. The current serving state of the cluster.
420
441
  */
421
442
  state?: string | null;
443
+ /**
444
+ * Optional. Subscription type of the cluster.
445
+ */
446
+ subscriptionType?: string | null;
447
+ /**
448
+ * Output only. Metadata for free trial clusters
449
+ */
450
+ trialMetadata?: Schema$TrialMetadata;
422
451
  /**
423
452
  * Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
424
453
  */
@@ -428,6 +457,35 @@ export namespace alloydb_v1beta {
428
457
  */
429
458
  updateTime?: string | null;
430
459
  }
460
+ /**
461
+ * Upgrade details of a cluster. This cluster can be primary or secondary.
462
+ */
463
+ export interface Schema$ClusterUpgradeDetails {
464
+ /**
465
+ * Cluster type which can either be primary or secondary.
466
+ */
467
+ clusterType?: string | null;
468
+ /**
469
+ * Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.
470
+ */
471
+ databaseVersion?: string | null;
472
+ /**
473
+ * Upgrade details of the instances directly associated with this cluster.
474
+ */
475
+ instanceUpgradeDetails?: Schema$InstanceUpgradeDetails[];
476
+ /**
477
+ * Normalized name of the cluster
478
+ */
479
+ name?: string | null;
480
+ /**
481
+ * Array containing stage info associated with this cluster.
482
+ */
483
+ stageInfo?: Schema$StageInfo[];
484
+ /**
485
+ * Upgrade status of the cluster.
486
+ */
487
+ upgradeStatus?: string | null;
488
+ }
431
489
  /**
432
490
  * ConnectionInfo singleton resource. https://google.aip.dev/156
433
491
  */
@@ -783,6 +841,23 @@ export namespace alloydb_v1beta {
783
841
  */
784
842
  enablePublicIp?: boolean | null;
785
843
  }
844
+ /**
845
+ * Details regarding the upgrade of instaces associated with a cluster.
846
+ */
847
+ export interface Schema$InstanceUpgradeDetails {
848
+ /**
849
+ * Instance type.
850
+ */
851
+ instanceType?: string | null;
852
+ /**
853
+ * Normalized name of the instance.
854
+ */
855
+ name?: string | null;
856
+ /**
857
+ * Upgrade status of the instance.
858
+ */
859
+ upgradeStatus?: string | null;
860
+ }
786
861
  /**
787
862
  * Restrictions on INTEGER type values.
788
863
  */
@@ -986,7 +1061,7 @@ export namespace alloydb_v1beta {
986
1061
  */
987
1062
  export interface Schema$ObservabilityInstanceConfig {
988
1063
  /**
989
- * Observability feature status for an instance. This is a read-only flag and modifiable only by producer API. This flag is turned "off" by default.
1064
+ * Observability feature status for an instance. This flag is turned "off" by default.
990
1065
  */
991
1066
  enabled?: boolean | null;
992
1067
  /**
@@ -998,7 +1073,7 @@ export namespace alloydb_v1beta {
998
1073
  */
999
1074
  preserveComments?: boolean | null;
1000
1075
  /**
1001
- * Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 to 20 is considered valid.
1076
+ * Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid.
1002
1077
  */
1003
1078
  queryPlansPerMinute?: number | null;
1004
1079
  /**
@@ -1009,6 +1084,10 @@ export namespace alloydb_v1beta {
1009
1084
  * Track actively running queries on the instance. If not set, this flag is "off" by default.
1010
1085
  */
1011
1086
  trackActiveQueries?: boolean | null;
1087
+ /**
1088
+ * Track client address for an instance. If not set, default value is "off".
1089
+ */
1090
+ trackClientAddress?: boolean | null;
1012
1091
  /**
1013
1092
  * Track wait events during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on.
1014
1093
  */
@@ -1181,6 +1260,10 @@ export namespace alloydb_v1beta {
1181
1260
  nodeCount?: number | null;
1182
1261
  }
1183
1262
  export interface Schema$RestartInstanceRequest {
1263
+ /**
1264
+ * Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Only applicable for read instances.
1265
+ */
1266
+ nodeIds?: string[] | null;
1184
1267
  /**
1185
1268
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1186
1269
  */
@@ -1241,6 +1324,23 @@ export namespace alloydb_v1beta {
1241
1324
  */
1242
1325
  sslMode?: string | null;
1243
1326
  }
1327
+ /**
1328
+ * Stage information for different stages in the upgrade process.
1329
+ */
1330
+ export interface Schema$StageInfo {
1331
+ /**
1332
+ * logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
1333
+ */
1334
+ logsUrl?: string | null;
1335
+ /**
1336
+ * The stage.
1337
+ */
1338
+ stage?: string | null;
1339
+ /**
1340
+ * Status of the stage.
1341
+ */
1342
+ status?: string | null;
1343
+ }
1244
1344
  /**
1245
1345
  * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
1246
1346
  */
@@ -1325,29 +1425,13 @@ export namespace alloydb_v1beta {
1325
1425
  version?: string | null;
1326
1426
  }
1327
1427
  /**
1328
- * Any custom metadata associated with the resource. i.e. A spanner instance can have multiple databases with its own unique metadata. Information for these individual databases can be captured in custom metadata data
1428
+ * Any custom metadata associated with the resource. e.g. A spanner instance can have multiple databases with its own unique metadata. Information for these individual databases can be captured in custom metadata data
1329
1429
  */
1330
1430
  export interface Schema$StorageDatabasecenterPartnerapiV1mainCustomMetadataData {
1331
- databaseMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseMetadata[];
1332
- }
1333
- /**
1334
- * Metadata for individual databases created in an instance. i.e. spanner instance can have multiple databases with unique configuration settings.
1335
- */
1336
- export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseMetadata {
1337
- /**
1338
- * Backup configuration for this database
1339
- */
1340
- backupConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainBackupConfiguration;
1341
- /**
1342
- * Information about the last backup attempt for this database
1343
- */
1344
- backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
1345
- product?: Schema$StorageDatabasecenterProtoCommonProduct;
1346
- resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
1347
1431
  /**
1348
- * Required. Database name. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
1432
+ * Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration.
1349
1433
  */
1350
- resourceName?: string | null;
1434
+ internalResourceMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata[];
1351
1435
  }
1352
1436
  /**
1353
1437
  * DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform.
@@ -1361,9 +1445,6 @@ export namespace alloydb_v1beta {
1361
1445
  * Required. Type feed to be ingested into condor
1362
1446
  */
1363
1447
  feedType?: string | null;
1364
- /**
1365
- * More feed data would be added in subsequent CLs
1366
- */
1367
1448
  observabilityMetricData?: Schema$StorageDatabasecenterPartnerapiV1mainObservabilityMetricData;
1368
1449
  recommendationSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData;
1369
1450
  resourceHealthSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData;
@@ -1421,6 +1502,10 @@ export namespace alloydb_v1beta {
1421
1502
  * Required. Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal.
1422
1503
  */
1423
1504
  signalId?: string | null;
1505
+ /**
1506
+ * The severity of the signal, such as if it's a HIGH or LOW severity.
1507
+ */
1508
+ signalSeverity?: string | null;
1424
1509
  /**
1425
1510
  * Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc.
1426
1511
  */
@@ -1440,7 +1525,7 @@ export namespace alloydb_v1beta {
1440
1525
  */
1441
1526
  providerDescription?: string | null;
1442
1527
  /**
1443
- * Required. The type of resource this ID is identifying. Ex redis.googleapis.com/Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
1528
+ * Required. The type of resource this ID is identifying. Ex redis.googleapis.com/Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance, spanner.googleapis.com/Database, firestore.googleapis.com/Database, sqladmin.googleapis.com/Instance, bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
1444
1529
  */
1445
1530
  resourceType?: string | null;
1446
1531
  /**
@@ -1520,10 +1605,6 @@ export namespace alloydb_v1beta {
1520
1605
  * The time at which the resource was updated and recorded at partner service.
1521
1606
  */
1522
1607
  updationTime?: string | null;
1523
- /**
1524
- * User-provided labels, represented as a dictionary where each label is a single key value pair.
1525
- */
1526
- userLabels?: {[key: string]: string} | null;
1527
1608
  /**
1528
1609
  * User-provided labels associated with the resource
1529
1610
  */
@@ -1579,28 +1660,51 @@ export namespace alloydb_v1beta {
1579
1660
  */
1580
1661
  type?: string | null;
1581
1662
  }
1663
+ /**
1664
+ * Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration settings. Similarly bigtable can have multiple clusters within same bigtable instance.
1665
+ */
1666
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata {
1667
+ /**
1668
+ * Backup configuration for this database
1669
+ */
1670
+ backupConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainBackupConfiguration;
1671
+ /**
1672
+ * Information about the last backup attempt for this database
1673
+ */
1674
+ backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
1675
+ product?: Schema$StorageDatabasecenterProtoCommonProduct;
1676
+ resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
1677
+ /**
1678
+ * Required. internal resource name for spanner this will be database name e.g."spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1"
1679
+ */
1680
+ resourceName?: string | null;
1681
+ }
1582
1682
  /**
1583
1683
  * MachineConfiguration describes the configuration of a machine specific to Database Resource.
1584
1684
  */
1585
1685
  export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
1586
1686
  /**
1587
- * The number of CPUs.
1687
+ * The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
1588
1688
  */
1589
1689
  cpuCount?: number | null;
1590
1690
  /**
1591
- * Memory size in bytes.
1691
+ * Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
1592
1692
  */
1593
1693
  memorySizeInBytes?: string | null;
1594
1694
  }
1595
1695
  export interface Schema$StorageDatabasecenterPartnerapiV1mainObservabilityMetricData {
1596
1696
  /**
1597
- * Required. The timestamp of the metric value.
1697
+ * Required. Type of aggregation performed on the metric.
1598
1698
  */
1599
- metricTimestamp?: string | null;
1699
+ aggregationType?: string | null;
1600
1700
  /**
1601
1701
  * Required. Type of metric like CPU, Memory, etc.
1602
1702
  */
1603
1703
  metricType?: string | null;
1704
+ /**
1705
+ * Required. The time the metric value was observed.
1706
+ */
1707
+ observationTime?: string | null;
1604
1708
  /**
1605
1709
  * Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
1606
1710
  */
@@ -1608,7 +1712,7 @@ export namespace alloydb_v1beta {
1608
1712
  /**
1609
1713
  * Required. Value of the metric type.
1610
1714
  */
1611
- value?: number | null;
1715
+ value?: Schema$StorageDatabasecenterProtoCommonTypedValue;
1612
1716
  }
1613
1717
  /**
1614
1718
  * An error that occurred during a backup creation operation.
@@ -1655,6 +1759,27 @@ export namespace alloydb_v1beta {
1655
1759
  */
1656
1760
  version?: string | null;
1657
1761
  }
1762
+ /**
1763
+ * TypedValue represents the value of a metric type. It can either be a double, an int64, a string or a bool.
1764
+ */
1765
+ export interface Schema$StorageDatabasecenterProtoCommonTypedValue {
1766
+ /**
1767
+ * For boolean value
1768
+ */
1769
+ boolValue?: boolean | null;
1770
+ /**
1771
+ * For double value
1772
+ */
1773
+ doubleValue?: number | null;
1774
+ /**
1775
+ * For integer value
1776
+ */
1777
+ int64Value?: string | null;
1778
+ /**
1779
+ * For string value
1780
+ */
1781
+ stringValue?: string | null;
1782
+ }
1658
1783
  /**
1659
1784
  * Restrictions on STRING type values
1660
1785
  */
@@ -1698,6 +1823,19 @@ export namespace alloydb_v1beta {
1698
1823
  supportedDbVersions?: string[] | null;
1699
1824
  valueType?: string | null;
1700
1825
  }
1826
+ /**
1827
+ * Message for switching over to a cluster
1828
+ */
1829
+ export interface Schema$SwitchoverClusterRequest {
1830
+ /**
1831
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1832
+ */
1833
+ requestId?: string | null;
1834
+ /**
1835
+ * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the delete.
1836
+ */
1837
+ validateOnly?: boolean | null;
1838
+ }
1701
1839
  /**
1702
1840
  * A time based retention policy specifies that all backups within a certain time period should be retained.
1703
1841
  */
@@ -1707,6 +1845,27 @@ export namespace alloydb_v1beta {
1707
1845
  */
1708
1846
  retentionPeriod?: string | null;
1709
1847
  }
1848
+ /**
1849
+ * Contains information and all metadata related to TRIAL clusters.
1850
+ */
1851
+ export interface Schema$TrialMetadata {
1852
+ /**
1853
+ * End time of the trial cluster.
1854
+ */
1855
+ endTime?: string | null;
1856
+ /**
1857
+ * grace end time of the cluster.
1858
+ */
1859
+ graceEndTime?: string | null;
1860
+ /**
1861
+ * start time of the trial cluster.
1862
+ */
1863
+ startTime?: string | null;
1864
+ /**
1865
+ * Upgrade time of trial cluster to Standard cluster.
1866
+ */
1867
+ upgradeTime?: string | null;
1868
+ }
1710
1869
  /**
1711
1870
  * Policy to be used while updating the instance.
1712
1871
  */
@@ -1716,6 +1875,23 @@ export namespace alloydb_v1beta {
1716
1875
  */
1717
1876
  mode?: string | null;
1718
1877
  }
1878
+ /**
1879
+ * UpgradeClusterResponse contains the response for upgrade cluster operation.
1880
+ */
1881
+ export interface Schema$UpgradeClusterResponse {
1882
+ /**
1883
+ * Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
1884
+ */
1885
+ clusterUpgradeDetails?: Schema$ClusterUpgradeDetails[];
1886
+ /**
1887
+ * A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.
1888
+ */
1889
+ message?: string | null;
1890
+ /**
1891
+ * Status of upgrade operation.
1892
+ */
1893
+ status?: string | null;
1894
+ }
1719
1895
  /**
1720
1896
  * Message describing User object.
1721
1897
  */
@@ -3261,6 +3437,94 @@ export namespace alloydb_v1beta {
3261
3437
  return createAPIRequest<Schema$Operation>(parameters);
3262
3438
  }
3263
3439
  }
3440
+
3441
+ /**
3442
+ * Switches the role of PRIMARY and SECONDARY cluster without any data loss. This promotes the SECONDARY cluster to PRIMARY and sets up original PRIMARY cluster to replicate from this newly promoted cluster.
3443
+ *
3444
+ * @param params - Parameters for request
3445
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3446
+ * @param callback - Optional callback that handles the response.
3447
+ * @returns A promise if used with async/await, or void if used with a callback.
3448
+ */
3449
+ switchover(
3450
+ params: Params$Resource$Projects$Locations$Clusters$Switchover,
3451
+ options: StreamMethodOptions
3452
+ ): GaxiosPromise<Readable>;
3453
+ switchover(
3454
+ params?: Params$Resource$Projects$Locations$Clusters$Switchover,
3455
+ options?: MethodOptions
3456
+ ): GaxiosPromise<Schema$Operation>;
3457
+ switchover(
3458
+ params: Params$Resource$Projects$Locations$Clusters$Switchover,
3459
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3460
+ callback: BodyResponseCallback<Readable>
3461
+ ): void;
3462
+ switchover(
3463
+ params: Params$Resource$Projects$Locations$Clusters$Switchover,
3464
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
3465
+ callback: BodyResponseCallback<Schema$Operation>
3466
+ ): void;
3467
+ switchover(
3468
+ params: Params$Resource$Projects$Locations$Clusters$Switchover,
3469
+ callback: BodyResponseCallback<Schema$Operation>
3470
+ ): void;
3471
+ switchover(callback: BodyResponseCallback<Schema$Operation>): void;
3472
+ switchover(
3473
+ paramsOrCallback?:
3474
+ | Params$Resource$Projects$Locations$Clusters$Switchover
3475
+ | BodyResponseCallback<Schema$Operation>
3476
+ | BodyResponseCallback<Readable>,
3477
+ optionsOrCallback?:
3478
+ | MethodOptions
3479
+ | StreamMethodOptions
3480
+ | BodyResponseCallback<Schema$Operation>
3481
+ | BodyResponseCallback<Readable>,
3482
+ callback?:
3483
+ | BodyResponseCallback<Schema$Operation>
3484
+ | BodyResponseCallback<Readable>
3485
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3486
+ let params = (paramsOrCallback ||
3487
+ {}) as Params$Resource$Projects$Locations$Clusters$Switchover;
3488
+ let options = (optionsOrCallback || {}) as MethodOptions;
3489
+
3490
+ if (typeof paramsOrCallback === 'function') {
3491
+ callback = paramsOrCallback;
3492
+ params = {} as Params$Resource$Projects$Locations$Clusters$Switchover;
3493
+ options = {};
3494
+ }
3495
+
3496
+ if (typeof optionsOrCallback === 'function') {
3497
+ callback = optionsOrCallback;
3498
+ options = {};
3499
+ }
3500
+
3501
+ const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
3502
+ const parameters = {
3503
+ options: Object.assign(
3504
+ {
3505
+ url: (rootUrl + '/v1beta/{+name}:switchover').replace(
3506
+ /([^:]\/)\/+/g,
3507
+ '$1'
3508
+ ),
3509
+ method: 'POST',
3510
+ apiVersion: '',
3511
+ },
3512
+ options
3513
+ ),
3514
+ params,
3515
+ requiredParams: ['name'],
3516
+ pathParams: ['name'],
3517
+ context: this.context,
3518
+ };
3519
+ if (callback) {
3520
+ createAPIRequest<Schema$Operation>(
3521
+ parameters,
3522
+ callback as BodyResponseCallback<unknown>
3523
+ );
3524
+ } else {
3525
+ return createAPIRequest<Schema$Operation>(parameters);
3526
+ }
3527
+ }
3264
3528
  }
3265
3529
 
3266
3530
  export interface Params$Resource$Projects$Locations$Clusters$Create
@@ -3420,6 +3684,18 @@ export namespace alloydb_v1beta {
3420
3684
  */
3421
3685
  requestBody?: Schema$RestoreClusterRequest;
3422
3686
  }
3687
+ export interface Params$Resource$Projects$Locations$Clusters$Switchover
3688
+ extends StandardParameters {
3689
+ /**
3690
+ * Required. The name of the resource. For the required format, see the comment on the Cluster.name field
3691
+ */
3692
+ name?: string;
3693
+
3694
+ /**
3695
+ * Request body metadata
3696
+ */
3697
+ requestBody?: Schema$SwitchoverClusterRequest;
3698
+ }
3423
3699
 
3424
3700
  export class Resource$Projects$Locations$Clusters$Instances {
3425
3701
  context: APIRequestContext;