@googleapis/alloydb 11.3.0 → 12.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.
@@ -93,7 +93,7 @@ export declare namespace alloydb_v1alpha {
93
93
  */
94
94
  enabled?: boolean | null;
95
95
  /**
96
- * Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
96
+ * Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
97
97
  */
98
98
  encryptionConfig?: Schema$EncryptionConfig;
99
99
  /**
@@ -137,6 +137,10 @@ export declare namespace alloydb_v1alpha {
137
137
  * Output only. The system-generated UID of the cluster which was used to create this resource.
138
138
  */
139
139
  clusterUid?: string | null;
140
+ /**
141
+ * Output only. Timestamp when the resource finished being created.
142
+ */
143
+ createCompletionTime?: string | null;
140
144
  /**
141
145
  * Output only. Create time stamp
142
146
  */
@@ -222,7 +226,7 @@ export declare namespace alloydb_v1alpha {
222
226
  */
223
227
  uid?: string | null;
224
228
  /**
225
- * Output only. Update time stamp
229
+ * Output only. Update time stamp Users should not infer any meaning from this field. Its value is generally unrelated to the timing of the backup creation operation.
226
230
  */
227
231
  updateTime?: string | null;
228
232
  }
@@ -350,7 +354,7 @@ export declare namespace alloydb_v1alpha {
350
354
  */
351
355
  etag?: string | null;
352
356
  /**
353
- * Optional. Configuration parameters related to the Gemini in Databases add-on.
357
+ * Optional. Deprecated and unused. This field will be removed in the near future.
354
358
  */
355
359
  geminiConfig?: Schema$GeminiClusterConfig;
356
360
  /**
@@ -497,6 +501,61 @@ export declare namespace alloydb_v1alpha {
497
501
  */
498
502
  publicIpAddress?: string | null;
499
503
  }
504
+ /**
505
+ * Configuration for Managed Connection Pool (MCP).
506
+ */
507
+ export interface Schema$ConnectionPoolConfig {
508
+ /**
509
+ * Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to 20.
510
+ */
511
+ defaultPoolSize?: string | null;
512
+ /**
513
+ * Optional. Deprecated; Prefer 'enabled' as this will be removed soon.
514
+ */
515
+ enable?: boolean | null;
516
+ /**
517
+ * Optional. Whether to enable Managed Connection Pool (MCP).
518
+ */
519
+ enabled?: boolean | null;
520
+ /**
521
+ * Optional. Connection Pool flags, as a list of "key": "value" pairs.
522
+ */
523
+ flags?: {
524
+ [key: string]: string;
525
+ } | null;
526
+ /**
527
+ * Optional. Deprecated. Use 'flags' instead. The list of startup parameters to ignore. Defaults to ["extra_float_digits"]
528
+ */
529
+ ignoreStartupParameters?: string[] | null;
530
+ /**
531
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of client connections allowed.
532
+ */
533
+ maxClientConn?: string | null;
534
+ /**
535
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of prepared statements allowed. MCP makes sure that any statement prepared by a client, up to this limit, is available on the backing server connection in transaction and statement pooling mode. Even if the statement was originally prepared on another server connection. Defaults to 0.
536
+ */
537
+ maxPreparedStatements?: string | null;
538
+ /**
539
+ * Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to 0.
540
+ */
541
+ minPoolSize?: string | null;
542
+ /**
543
+ * Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `POOL_MODE_TRANSACTION`.
544
+ */
545
+ poolMode?: string | null;
546
+ /**
547
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of seconds queries are allowed to spend waiting for execution. If the query is not assigned to a server during that time, the client is disconnected. 0 disables.
548
+ */
549
+ queryWaitTimeout?: string | null;
550
+ /**
551
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a server is allowed to be idle before it is disconnected. 0 disables.
552
+ */
553
+ serverIdleTimeout?: string | null;
554
+ /**
555
+ * Optional. Deprecated. Use 'flags' instead. The list of users that are allowed to connect to the MCP stats console. The users must exist in the database.
556
+ */
557
+ statsUsers?: string[] | null;
558
+ }
500
559
  /**
501
560
  * ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
502
561
  */
@@ -506,7 +565,7 @@ export declare namespace alloydb_v1alpha {
506
565
  */
507
566
  enabled?: boolean | null;
508
567
  /**
509
- * The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
568
+ * The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
510
569
  */
511
570
  encryptionConfig?: Schema$EncryptionConfig;
512
571
  /**
@@ -569,6 +628,48 @@ export declare namespace alloydb_v1alpha {
569
628
  */
570
629
  selectQuery?: string | null;
571
630
  }
631
+ /**
632
+ * Options for importing data in CSV format.
633
+ */
634
+ export interface Schema$CsvImportOptions {
635
+ /**
636
+ * Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
637
+ */
638
+ columns?: string[] | null;
639
+ /**
640
+ * Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.
641
+ */
642
+ escapeCharacter?: string | null;
643
+ /**
644
+ * Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
645
+ */
646
+ fieldDelimiter?: string | null;
647
+ /**
648
+ * Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
649
+ */
650
+ quoteCharacter?: string | null;
651
+ /**
652
+ * Required. The database table to import CSV file into.
653
+ */
654
+ table?: string | null;
655
+ }
656
+ /**
657
+ * DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not be scheduled to start within this deny period. The start_date must be less than the end_date.
658
+ */
659
+ export interface Schema$DenyMaintenancePeriod {
660
+ /**
661
+ * Deny period end date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring
662
+ */
663
+ endDate?: Schema$GoogleTypeDate;
664
+ /**
665
+ * Deny period start date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring
666
+ */
667
+ startDate?: Schema$GoogleTypeDate;
668
+ /**
669
+ * Time in UTC when the deny period starts on start_date and ends on end_date. This can be: * Full time OR * All zeros for 00:00:00 UTC
670
+ */
671
+ time?: Schema$GoogleTypeTimeOfDay;
672
+ }
572
673
  /**
573
674
  * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
574
675
  */
@@ -630,6 +731,15 @@ export declare namespace alloydb_v1alpha {
630
731
  */
631
732
  validateOnly?: boolean | null;
632
733
  }
734
+ /**
735
+ * Instance level configuration parameters related to the Gemini Cloud Assist product.
736
+ */
737
+ export interface Schema$GCAInstanceConfig {
738
+ /**
739
+ * Output only. Represents the GCA entitlement state of the instance.
740
+ */
741
+ gcaEntitlement?: string | null;
742
+ }
633
743
  /**
634
744
  * Destination for Export. Export will be done to cloud storage.
635
745
  */
@@ -640,20 +750,20 @@ export declare namespace alloydb_v1alpha {
640
750
  uri?: string | null;
641
751
  }
642
752
  /**
643
- * Cluster level configuration parameters related to the Gemini in Databases add-on.
753
+ * Deprecated and unused. This field will be removed in the near future.
644
754
  */
645
755
  export interface Schema$GeminiClusterConfig {
646
756
  /**
647
- * Output only. Whether the Gemini in Databases add-on is enabled for the cluster. It will be true only if the add-on has been enabled for the billing account corresponding to the cluster. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
757
+ * Output only. Deprecated and unused. This field will be removed in the near future.
648
758
  */
649
759
  entitled?: boolean | null;
650
760
  }
651
761
  /**
652
- * Instance level configuration parameters related to the Gemini in Databases add-on.
762
+ * Deprecated and unused. This field will be removed in the near future.
653
763
  */
654
764
  export interface Schema$GeminiInstanceConfig {
655
765
  /**
656
- * Output only. Whether the Gemini in Databases add-on is enabled for the instance. It will be true only if the add-on has been enabled for the billing account corresponding to the instance. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
766
+ * Output only. Deprecated and unused. This field will be removed in the near future.
657
767
  */
658
768
  entitled?: boolean | null;
659
769
  }
@@ -699,6 +809,23 @@ export declare namespace alloydb_v1alpha {
699
809
  */
700
810
  name?: string | null;
701
811
  }
812
+ /**
813
+ * Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
814
+ */
815
+ export interface Schema$GoogleTypeDate {
816
+ /**
817
+ * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
818
+ */
819
+ day?: number | null;
820
+ /**
821
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
822
+ */
823
+ month?: number | null;
824
+ /**
825
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
826
+ */
827
+ year?: number | null;
828
+ }
702
829
  /**
703
830
  * Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
704
831
  */
@@ -720,6 +847,31 @@ export declare namespace alloydb_v1alpha {
720
847
  */
721
848
  seconds?: number | null;
722
849
  }
850
+ /**
851
+ * Import cluster request.
852
+ */
853
+ export interface Schema$ImportClusterRequest {
854
+ /**
855
+ * Options for importing data in CSV format.
856
+ */
857
+ csvImportOptions?: Schema$CsvImportOptions;
858
+ /**
859
+ * Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
860
+ */
861
+ database?: string | null;
862
+ /**
863
+ * Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.
864
+ */
865
+ gcsUri?: string | null;
866
+ /**
867
+ * Options for importing data in SQL format.
868
+ */
869
+ sqlImportOptions?: Schema$SqlImportOptions;
870
+ /**
871
+ * Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.
872
+ */
873
+ user?: string | null;
874
+ }
723
875
  /**
724
876
  * Message for triggering fault injection on an instance
725
877
  */
@@ -755,6 +907,10 @@ export declare namespace alloydb_v1alpha {
755
907
  * Optional. Client connection specific configurations
756
908
  */
757
909
  clientConnectionConfig?: Schema$ClientConnectionConfig;
910
+ /**
911
+ * Optional. The configuration for Managed Connection Pool (MCP).
912
+ */
913
+ connectionPoolConfig?: Schema$ConnectionPoolConfig;
758
914
  /**
759
915
  * Output only. Create time stamp
760
916
  */
@@ -777,12 +933,16 @@ export declare namespace alloydb_v1alpha {
777
933
  * For Resource freshness validation (https://google.aip.dev/154)
778
934
  */
779
935
  etag?: string | null;
936
+ /**
937
+ * Output only. Configuration parameters related to Gemini Cloud Assist.
938
+ */
939
+ gcaConfig?: Schema$GCAInstanceConfig;
780
940
  /**
781
941
  * The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
782
942
  */
783
943
  gceZone?: string | null;
784
944
  /**
785
- * Optional. Configuration parameters related to the Gemini in Databases add-on.
945
+ * Optional. Deprecated and unused. This field will be removed in the near future.
786
946
  */
787
947
  geminiConfig?: Schema$GeminiInstanceConfig;
788
948
  /**
@@ -888,6 +1048,10 @@ export declare namespace alloydb_v1alpha {
888
1048
  * Optional. Enabling public ip for the instance.
889
1049
  */
890
1050
  enablePublicIp?: boolean | null;
1051
+ /**
1052
+ * Output only. The resource link for the VPC network in which instance resources are created and from which they are accessible via Private IP. This will be the same value as the parent cluster's network. It is specified in the form: // `projects/{project_number\}/global/networks/{network_id\}`.
1053
+ */
1054
+ network?: string | null;
891
1055
  }
892
1056
  /**
893
1057
  * Details regarding the upgrade of instaces associated with a cluster.
@@ -1021,6 +1185,10 @@ export declare namespace alloydb_v1alpha {
1021
1185
  * The number of CPU's in the VM instance.
1022
1186
  */
1023
1187
  cpuCount?: number | null;
1188
+ /**
1189
+ * Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.
1190
+ */
1191
+ machineType?: string | null;
1024
1192
  }
1025
1193
  /**
1026
1194
  * MaintenanceSchedule stores the maintenance schedule generated from the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The schedule is cleared once the update takes place. This field cannot be manually changed; modify the MaintenanceUpdatePolicy instead.
@@ -1035,6 +1203,10 @@ export declare namespace alloydb_v1alpha {
1035
1203
  * MaintenanceUpdatePolicy defines the policy for system updates.
1036
1204
  */
1037
1205
  export interface Schema$MaintenanceUpdatePolicy {
1206
+ /**
1207
+ * Periods to deny maintenance. Currently limited to 1.
1208
+ */
1209
+ denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
1038
1210
  /**
1039
1211
  * Preferred windows to perform maintenance. Currently limited to 1.
1040
1212
  */
@@ -1084,7 +1256,7 @@ export declare namespace alloydb_v1alpha {
1084
1256
  network?: string | null;
1085
1257
  }
1086
1258
  /**
1087
- * Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.
1259
+ * Details of a single node in the instance. Nodes in an AlloyDB instance are ephemeral, they can change during update, failover, autohealing and resize operations.
1088
1260
  */
1089
1261
  export interface Schema$Node {
1090
1262
  /**
@@ -1108,6 +1280,10 @@ export declare namespace alloydb_v1alpha {
1108
1280
  * Observability Instance specific configuration.
1109
1281
  */
1110
1282
  export interface Schema$ObservabilityInstanceConfig {
1283
+ /**
1284
+ * Whether assistive experiences are enabled for this AlloyDB instance.
1285
+ */
1286
+ assistiveExperiencesEnabled?: boolean | null;
1111
1287
  /**
1112
1288
  * Observability feature status for an instance. This flag is turned "off" by default.
1113
1289
  */
@@ -1132,16 +1308,12 @@ export declare namespace alloydb_v1alpha {
1132
1308
  * Track actively running queries on the instance. If not set, this flag is "off" by default.
1133
1309
  */
1134
1310
  trackActiveQueries?: boolean | null;
1135
- /**
1136
- * Track client address for an instance. If not set, default value is "off".
1137
- */
1138
- trackClientAddress?: boolean | null;
1139
1311
  /**
1140
1312
  * 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.
1141
1313
  */
1142
1314
  trackWaitEvents?: boolean | null;
1143
1315
  /**
1144
- * Output only. Track wait event types 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. This is read-only flag and only modifiable by producer API.
1316
+ * Output only. Track wait event types 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. This is read-only flag and only modifiable by internal API.
1145
1317
  */
1146
1318
  trackWaitEventTypes?: boolean | null;
1147
1319
  }
@@ -1202,6 +1374,10 @@ export declare namespace alloydb_v1alpha {
1202
1374
  * Output only. Server-defined resource path for the target of the operation.
1203
1375
  */
1204
1376
  target?: string | null;
1377
+ /**
1378
+ * Output only. UpgradeClusterStatus related metadata.
1379
+ */
1380
+ upgradeClusterStatus?: Schema$UpgradeClusterStatus;
1205
1381
  /**
1206
1382
  * Output only. Name of the verb executed by the operation.
1207
1383
  */
@@ -1233,6 +1409,31 @@ export declare namespace alloydb_v1alpha {
1233
1409
  */
1234
1410
  validateOnly?: boolean | null;
1235
1411
  }
1412
+ /**
1413
+ * Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.
1414
+ */
1415
+ export interface Schema$PscAutoConnectionConfig {
1416
+ /**
1417
+ * The consumer network for the PSC service automation, example: "projects/vpc-host-project/global/networks/default". The consumer network might be hosted a different project than the consumer project.
1418
+ */
1419
+ consumerNetwork?: string | null;
1420
+ /**
1421
+ * Output only. The status of the service connection policy. Possible values: "STATE_UNSPECIFIED" - Default state, when Connection Map is created initially. "VALID" - Set when policy and map configuration is valid, and their matching can lead to allowing creation of PSC Connections subject to other constraints like connections limit. "CONNECTION_POLICY_MISSING" - No Service Connection Policy found for this network and Service Class "POLICY_LIMIT_REACHED" - Service Connection Policy limit reached for this network and Service Class "CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED" - The consumer instance project is not in AllowedGoogleProducersResourceHierarchyLevels of the matching ServiceConnectionPolicy.
1422
+ */
1423
+ consumerNetworkStatus?: string | null;
1424
+ /**
1425
+ * The consumer project to which the PSC service automation endpoint will be created.
1426
+ */
1427
+ consumerProject?: string | null;
1428
+ /**
1429
+ * Output only. The IP address of the PSC service automation endpoint.
1430
+ */
1431
+ ipAddress?: string | null;
1432
+ /**
1433
+ * Output only. The status of the PSC service automation connection. Possible values: "STATE_UNSPECIFIED" - An invalid state as the default case. "ACTIVE" - The connection has been created successfully. "FAILED" - The connection is not functional since some resources on the connection fail to be created. "CREATING" - The connection is being created. "DELETING" - The connection is being deleted. "CREATE_REPAIRING" - The connection is being repaired to complete creation. "DELETE_REPAIRING" - The connection is being repaired to complete deletion.
1434
+ */
1435
+ status?: string | null;
1436
+ }
1236
1437
  /**
1237
1438
  * PscConfig contains PSC related configuration at a cluster level.
1238
1439
  */
@@ -1254,6 +1455,10 @@ export declare namespace alloydb_v1alpha {
1254
1455
  * Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
1255
1456
  */
1256
1457
  allowedConsumerProjects?: string[] | null;
1458
+ /**
1459
+ * Optional. Configurations for setting up PSC service automation.
1460
+ */
1461
+ pscAutoConnections?: Schema$PscAutoConnectionConfig[];
1257
1462
  /**
1258
1463
  * Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
1259
1464
  */
@@ -1328,6 +1533,15 @@ export declare namespace alloydb_v1alpha {
1328
1533
  */
1329
1534
  nodeCount?: number | null;
1330
1535
  }
1536
+ /**
1537
+ * Read pool instances upgrade specific status.
1538
+ */
1539
+ export interface Schema$ReadPoolInstancesUpgradeStageStatus {
1540
+ /**
1541
+ * Read pool instances upgrade statistics.
1542
+ */
1543
+ upgradeStats?: Schema$Stats;
1544
+ }
1331
1545
  export interface Schema$RestartInstanceRequest {
1332
1546
  /**
1333
1547
  * Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
@@ -1343,7 +1557,7 @@ export declare namespace alloydb_v1alpha {
1343
1557
  validateOnly?: boolean | null;
1344
1558
  }
1345
1559
  /**
1346
- * Message for restoring a Cluster from a backup or another cluster at a given point in time.
1560
+ * Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
1347
1561
  */
1348
1562
  export interface Schema$RestoreClusterRequest {
1349
1563
  /**
@@ -1418,6 +1632,11 @@ export declare namespace alloydb_v1alpha {
1418
1632
  */
1419
1633
  tables?: string[] | null;
1420
1634
  }
1635
+ /**
1636
+ * Options for importing data in SQL format.
1637
+ */
1638
+ export interface Schema$SqlImportOptions {
1639
+ }
1421
1640
  /**
1422
1641
  * SSL configuration.
1423
1642
  */
@@ -1448,6 +1667,44 @@ export declare namespace alloydb_v1alpha {
1448
1667
  */
1449
1668
  status?: string | null;
1450
1669
  }
1670
+ /**
1671
+ * Status of an upgrade stage.
1672
+ */
1673
+ export interface Schema$StageStatus {
1674
+ /**
1675
+ * Read pool instances upgrade metadata.
1676
+ */
1677
+ readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
1678
+ /**
1679
+ * Upgrade stage.
1680
+ */
1681
+ stage?: string | null;
1682
+ /**
1683
+ * State of this stage.
1684
+ */
1685
+ state?: string | null;
1686
+ }
1687
+ /**
1688
+ * Upgrade stats for read pool instances.
1689
+ */
1690
+ export interface Schema$Stats {
1691
+ /**
1692
+ * Number of read pool instances which failed to upgrade.
1693
+ */
1694
+ failed?: number | null;
1695
+ /**
1696
+ * Number of read pool instances for which upgrade has not started.
1697
+ */
1698
+ notStarted?: number | null;
1699
+ /**
1700
+ * Number of read pool instances undergoing upgrade.
1701
+ */
1702
+ ongoing?: number | null;
1703
+ /**
1704
+ * Number of read pool instances successfully upgraded.
1705
+ */
1706
+ success?: number | null;
1707
+ }
1451
1708
  /**
1452
1709
  * 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).
1453
1710
  */
@@ -1649,7 +1906,7 @@ export declare namespace alloydb_v1alpha {
1649
1906
  uniqueId?: string | null;
1650
1907
  }
1651
1908
  /**
1652
- * Common model for database resource instance metadata. Next ID: 23
1909
+ * Common model for database resource instance metadata. Next ID: 25
1653
1910
  */
1654
1911
  export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
1655
1912
  /**
@@ -1688,6 +1945,10 @@ export declare namespace alloydb_v1alpha {
1688
1945
  * The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.
1689
1946
  */
1690
1947
  expectedState?: string | null;
1948
+ /**
1949
+ * GCBDR configuration for the resource.
1950
+ */
1951
+ gcbdrConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration;
1691
1952
  /**
1692
1953
  * Required. Unique identifier for a Database resource
1693
1954
  */
@@ -1724,6 +1985,10 @@ export declare namespace alloydb_v1alpha {
1724
1985
  * Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
1725
1986
  */
1726
1987
  resourceName?: string | null;
1988
+ /**
1989
+ * Optional. Suspension reason for the resource.
1990
+ */
1991
+ suspensionReason?: string | null;
1727
1992
  /**
1728
1993
  * Optional. Tags associated with this resources.
1729
1994
  */
@@ -1789,6 +2054,15 @@ export declare namespace alloydb_v1alpha {
1789
2054
  */
1790
2055
  type?: string | null;
1791
2056
  }
2057
+ /**
2058
+ * GCBDR Configuration for the resource.
2059
+ */
2060
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration {
2061
+ /**
2062
+ * Whether the resource is managed by GCBDR.
2063
+ */
2064
+ gcbdrManaged?: boolean | null;
2065
+ }
1792
2066
  /**
1793
2067
  * 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.
1794
2068
  */
@@ -1801,6 +2075,10 @@ export declare namespace alloydb_v1alpha {
1801
2075
  * Information about the last backup attempt for this database
1802
2076
  */
1803
2077
  backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
2078
+ /**
2079
+ * Whether deletion protection is enabled for this internal resource.
2080
+ */
2081
+ isDeletionProtectionEnabled?: boolean | null;
1804
2082
  product?: Schema$StorageDatabasecenterProtoCommonProduct;
1805
2083
  resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
1806
2084
  /**
@@ -1813,11 +2091,11 @@ export declare namespace alloydb_v1alpha {
1813
2091
  */
1814
2092
  export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
1815
2093
  /**
1816
- * The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2094
+ * The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.
1817
2095
  */
1818
2096
  cpuCount?: number | null;
1819
2097
  /**
1820
- * Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2098
+ * Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
1821
2099
  */
1822
2100
  memorySizeInBytes?: string | null;
1823
2101
  /**
@@ -1825,7 +2103,7 @@ export declare namespace alloydb_v1alpha {
1825
2103
  */
1826
2104
  shardCount?: number | null;
1827
2105
  /**
1828
- * Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2106
+ * Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.
1829
2107
  */
1830
2108
  vcpuCount?: number | null;
1831
2109
  }
@@ -1967,10 +2245,22 @@ export declare namespace alloydb_v1alpha {
1967
2245
  * The name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project\}/locations/{location\}/flags/{flag\} This field currently has no semantic meaning.
1968
2246
  */
1969
2247
  name?: string | null;
2248
+ /**
2249
+ * The recommended value for an INTEGER flag.
2250
+ */
2251
+ recommendedIntegerValue?: string | null;
2252
+ /**
2253
+ * The recommended value for a STRING flag.
2254
+ */
2255
+ recommendedStringValue?: string | null;
1970
2256
  /**
1971
2257
  * Whether setting or updating this flag on an Instance requires a database restart. If a flag that requires database restart is set, the backend will automatically restart the database (making sure to satisfy any availability SLO's).
1972
2258
  */
1973
2259
  requiresDbRestart?: boolean | null;
2260
+ /**
2261
+ * The scope of the flag.
2262
+ */
2263
+ scope?: string | null;
1974
2264
  /**
1975
2265
  * Restriction on STRING type value.
1976
2266
  */
@@ -2071,6 +2361,31 @@ export declare namespace alloydb_v1alpha {
2071
2361
  */
2072
2362
  status?: string | null;
2073
2363
  }
2364
+ /**
2365
+ * Message for current status of the Major Version Upgrade operation.
2366
+ */
2367
+ export interface Schema$UpgradeClusterStatus {
2368
+ /**
2369
+ * Whether the operation is cancellable.
2370
+ */
2371
+ cancellable?: boolean | null;
2372
+ /**
2373
+ * Source database major version.
2374
+ */
2375
+ sourceVersion?: string | null;
2376
+ /**
2377
+ * Status of all upgrade stages.
2378
+ */
2379
+ stages?: Schema$StageStatus[];
2380
+ /**
2381
+ * Cluster Major Version Upgrade state.
2382
+ */
2383
+ state?: string | null;
2384
+ /**
2385
+ * Target database major version.
2386
+ */
2387
+ targetVersion?: string | null;
2388
+ }
2074
2389
  /**
2075
2390
  * Message describing User object.
2076
2391
  */
@@ -2170,6 +2485,10 @@ export declare namespace alloydb_v1alpha {
2170
2485
  name?: string;
2171
2486
  }
2172
2487
  export interface Params$Resource$Projects$Locations$List extends StandardParameters {
2488
+ /**
2489
+ * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2490
+ */
2491
+ extraLocationTypes?: string[];
2173
2492
  /**
2174
2493
  * 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).
2175
2494
  */
@@ -2430,6 +2749,20 @@ export declare namespace alloydb_v1alpha {
2430
2749
  get(params: Params$Resource$Projects$Locations$Clusters$Get, options: MethodOptions | BodyResponseCallback<Schema$Cluster>, callback: BodyResponseCallback<Schema$Cluster>): void;
2431
2750
  get(params: Params$Resource$Projects$Locations$Clusters$Get, callback: BodyResponseCallback<Schema$Cluster>): void;
2432
2751
  get(callback: BodyResponseCallback<Schema$Cluster>): void;
2752
+ /**
2753
+ * Imports data to the cluster. Imperative only.
2754
+ *
2755
+ * @param params - Parameters for request
2756
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2757
+ * @param callback - Optional callback that handles the response.
2758
+ * @returns A promise if used with async/await, or void if used with a callback.
2759
+ */
2760
+ import(params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions): GaxiosPromise<Readable>;
2761
+ import(params?: Params$Resource$Projects$Locations$Clusters$Import, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2762
+ import(params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2763
+ import(params: Params$Resource$Projects$Locations$Clusters$Import, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2764
+ import(params: Params$Resource$Projects$Locations$Clusters$Import, callback: BodyResponseCallback<Schema$Operation>): void;
2765
+ import(callback: BodyResponseCallback<Schema$Operation>): void;
2433
2766
  /**
2434
2767
  * Lists Clusters in a given project and location.
2435
2768
  *
@@ -2615,6 +2948,16 @@ export declare namespace alloydb_v1alpha {
2615
2948
  */
2616
2949
  view?: string;
2617
2950
  }
2951
+ export interface Params$Resource$Projects$Locations$Clusters$Import extends StandardParameters {
2952
+ /**
2953
+ * Required. The resource name of the cluster.
2954
+ */
2955
+ name?: string;
2956
+ /**
2957
+ * Request body metadata
2958
+ */
2959
+ requestBody?: Schema$ImportClusterRequest;
2960
+ }
2618
2961
  export interface Params$Resource$Projects$Locations$Clusters$List extends StandardParameters {
2619
2962
  /**
2620
2963
  * Optional. Filtering results
@@ -3312,6 +3655,10 @@ export declare namespace alloydb_v1alpha {
3312
3655
  * Required. The name of the parent resource. The required format is: * projects/{project\}/locations/{location\} Regardless of the parent specified here, as long it is contains a valid project and location, the service will return a static list of supported flags resources. Note that we do not yet support region-specific flags.
3313
3656
  */
3314
3657
  parent?: string;
3658
+ /**
3659
+ * Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
3660
+ */
3661
+ scope?: string;
3315
3662
  }
3316
3663
  export {};
3317
3664
  }