@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.
package/v1alpha.ts CHANGED
@@ -146,7 +146,7 @@ export namespace alloydb_v1alpha {
146
146
  */
147
147
  enabled?: boolean | null;
148
148
  /**
149
- * 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.
149
+ * 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.
150
150
  */
151
151
  encryptionConfig?: Schema$EncryptionConfig;
152
152
  /**
@@ -186,6 +186,10 @@ export namespace alloydb_v1alpha {
186
186
  * Output only. The system-generated UID of the cluster which was used to create this resource.
187
187
  */
188
188
  clusterUid?: string | null;
189
+ /**
190
+ * Output only. Timestamp when the resource finished being created.
191
+ */
192
+ createCompletionTime?: string | null;
189
193
  /**
190
194
  * Output only. Create time stamp
191
195
  */
@@ -267,7 +271,7 @@ export namespace alloydb_v1alpha {
267
271
  */
268
272
  uid?: string | null;
269
273
  /**
270
- * Output only. Update time stamp
274
+ * 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.
271
275
  */
272
276
  updateTime?: string | null;
273
277
  }
@@ -392,7 +396,7 @@ export namespace alloydb_v1alpha {
392
396
  */
393
397
  etag?: string | null;
394
398
  /**
395
- * Optional. Configuration parameters related to the Gemini in Databases add-on.
399
+ * Optional. Deprecated and unused. This field will be removed in the near future.
396
400
  */
397
401
  geminiConfig?: Schema$GeminiClusterConfig;
398
402
  /**
@@ -535,6 +539,59 @@ export namespace alloydb_v1alpha {
535
539
  */
536
540
  publicIpAddress?: string | null;
537
541
  }
542
+ /**
543
+ * Configuration for Managed Connection Pool (MCP).
544
+ */
545
+ export interface Schema$ConnectionPoolConfig {
546
+ /**
547
+ * Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to 20.
548
+ */
549
+ defaultPoolSize?: string | null;
550
+ /**
551
+ * Optional. Deprecated; Prefer 'enabled' as this will be removed soon.
552
+ */
553
+ enable?: boolean | null;
554
+ /**
555
+ * Optional. Whether to enable Managed Connection Pool (MCP).
556
+ */
557
+ enabled?: boolean | null;
558
+ /**
559
+ * Optional. Connection Pool flags, as a list of "key": "value" pairs.
560
+ */
561
+ flags?: {[key: string]: string} | null;
562
+ /**
563
+ * Optional. Deprecated. Use 'flags' instead. The list of startup parameters to ignore. Defaults to ["extra_float_digits"]
564
+ */
565
+ ignoreStartupParameters?: string[] | null;
566
+ /**
567
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of client connections allowed.
568
+ */
569
+ maxClientConn?: string | null;
570
+ /**
571
+ * 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.
572
+ */
573
+ maxPreparedStatements?: string | null;
574
+ /**
575
+ * Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to 0.
576
+ */
577
+ minPoolSize?: string | null;
578
+ /**
579
+ * Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `POOL_MODE_TRANSACTION`.
580
+ */
581
+ poolMode?: string | null;
582
+ /**
583
+ * 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.
584
+ */
585
+ queryWaitTimeout?: string | null;
586
+ /**
587
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a server is allowed to be idle before it is disconnected. 0 disables.
588
+ */
589
+ serverIdleTimeout?: string | null;
590
+ /**
591
+ * 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.
592
+ */
593
+ statsUsers?: string[] | null;
594
+ }
538
595
  /**
539
596
  * ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
540
597
  */
@@ -544,7 +601,7 @@ export namespace alloydb_v1alpha {
544
601
  */
545
602
  enabled?: boolean | null;
546
603
  /**
547
- * 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.
604
+ * 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.
548
605
  */
549
606
  encryptionConfig?: Schema$EncryptionConfig;
550
607
  /**
@@ -607,6 +664,48 @@ export namespace alloydb_v1alpha {
607
664
  */
608
665
  selectQuery?: string | null;
609
666
  }
667
+ /**
668
+ * Options for importing data in CSV format.
669
+ */
670
+ export interface Schema$CsvImportOptions {
671
+ /**
672
+ * Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
673
+ */
674
+ columns?: string[] | null;
675
+ /**
676
+ * 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.
677
+ */
678
+ escapeCharacter?: string | null;
679
+ /**
680
+ * 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.
681
+ */
682
+ fieldDelimiter?: string | null;
683
+ /**
684
+ * 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.
685
+ */
686
+ quoteCharacter?: string | null;
687
+ /**
688
+ * Required. The database table to import CSV file into.
689
+ */
690
+ table?: string | null;
691
+ }
692
+ /**
693
+ * 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.
694
+ */
695
+ export interface Schema$DenyMaintenancePeriod {
696
+ /**
697
+ * 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
698
+ */
699
+ endDate?: Schema$GoogleTypeDate;
700
+ /**
701
+ * 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
702
+ */
703
+ startDate?: Schema$GoogleTypeDate;
704
+ /**
705
+ * 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
706
+ */
707
+ time?: Schema$GoogleTypeTimeOfDay;
708
+ }
610
709
  /**
611
710
  * 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); \}
612
711
  */
@@ -667,6 +766,15 @@ export namespace alloydb_v1alpha {
667
766
  */
668
767
  validateOnly?: boolean | null;
669
768
  }
769
+ /**
770
+ * Instance level configuration parameters related to the Gemini Cloud Assist product.
771
+ */
772
+ export interface Schema$GCAInstanceConfig {
773
+ /**
774
+ * Output only. Represents the GCA entitlement state of the instance.
775
+ */
776
+ gcaEntitlement?: string | null;
777
+ }
670
778
  /**
671
779
  * Destination for Export. Export will be done to cloud storage.
672
780
  */
@@ -677,20 +785,20 @@ export namespace alloydb_v1alpha {
677
785
  uri?: string | null;
678
786
  }
679
787
  /**
680
- * Cluster level configuration parameters related to the Gemini in Databases add-on.
788
+ * Deprecated and unused. This field will be removed in the near future.
681
789
  */
682
790
  export interface Schema$GeminiClusterConfig {
683
791
  /**
684
- * 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.
792
+ * Output only. Deprecated and unused. This field will be removed in the near future.
685
793
  */
686
794
  entitled?: boolean | null;
687
795
  }
688
796
  /**
689
- * Instance level configuration parameters related to the Gemini in Databases add-on.
797
+ * Deprecated and unused. This field will be removed in the near future.
690
798
  */
691
799
  export interface Schema$GeminiInstanceConfig {
692
800
  /**
693
- * 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.
801
+ * Output only. Deprecated and unused. This field will be removed in the near future.
694
802
  */
695
803
  entitled?: boolean | null;
696
804
  }
@@ -732,6 +840,23 @@ export namespace alloydb_v1alpha {
732
840
  */
733
841
  name?: string | null;
734
842
  }
843
+ /**
844
+ * 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
845
+ */
846
+ export interface Schema$GoogleTypeDate {
847
+ /**
848
+ * 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.
849
+ */
850
+ day?: number | null;
851
+ /**
852
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
853
+ */
854
+ month?: number | null;
855
+ /**
856
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
857
+ */
858
+ year?: number | null;
859
+ }
735
860
  /**
736
861
  * 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`.
737
862
  */
@@ -753,6 +878,31 @@ export namespace alloydb_v1alpha {
753
878
  */
754
879
  seconds?: number | null;
755
880
  }
881
+ /**
882
+ * Import cluster request.
883
+ */
884
+ export interface Schema$ImportClusterRequest {
885
+ /**
886
+ * Options for importing data in CSV format.
887
+ */
888
+ csvImportOptions?: Schema$CsvImportOptions;
889
+ /**
890
+ * 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.
891
+ */
892
+ database?: string | null;
893
+ /**
894
+ * 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`.
895
+ */
896
+ gcsUri?: string | null;
897
+ /**
898
+ * Options for importing data in SQL format.
899
+ */
900
+ sqlImportOptions?: Schema$SqlImportOptions;
901
+ /**
902
+ * 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.
903
+ */
904
+ user?: string | null;
905
+ }
756
906
  /**
757
907
  * Message for triggering fault injection on an instance
758
908
  */
@@ -786,6 +936,10 @@ export namespace alloydb_v1alpha {
786
936
  * Optional. Client connection specific configurations
787
937
  */
788
938
  clientConnectionConfig?: Schema$ClientConnectionConfig;
939
+ /**
940
+ * Optional. The configuration for Managed Connection Pool (MCP).
941
+ */
942
+ connectionPoolConfig?: Schema$ConnectionPoolConfig;
789
943
  /**
790
944
  * Output only. Create time stamp
791
945
  */
@@ -806,12 +960,16 @@ export namespace alloydb_v1alpha {
806
960
  * For Resource freshness validation (https://google.aip.dev/154)
807
961
  */
808
962
  etag?: string | null;
963
+ /**
964
+ * Output only. Configuration parameters related to Gemini Cloud Assist.
965
+ */
966
+ gcaConfig?: Schema$GCAInstanceConfig;
809
967
  /**
810
968
  * 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.
811
969
  */
812
970
  gceZone?: string | null;
813
971
  /**
814
- * Optional. Configuration parameters related to the Gemini in Databases add-on.
972
+ * Optional. Deprecated and unused. This field will be removed in the near future.
815
973
  */
816
974
  geminiConfig?: Schema$GeminiInstanceConfig;
817
975
  /**
@@ -915,6 +1073,10 @@ export namespace alloydb_v1alpha {
915
1073
  * Optional. Enabling public ip for the instance.
916
1074
  */
917
1075
  enablePublicIp?: boolean | null;
1076
+ /**
1077
+ * 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\}`.
1078
+ */
1079
+ network?: string | null;
918
1080
  }
919
1081
  /**
920
1082
  * Details regarding the upgrade of instaces associated with a cluster.
@@ -1048,6 +1210,10 @@ export namespace alloydb_v1alpha {
1048
1210
  * The number of CPU's in the VM instance.
1049
1211
  */
1050
1212
  cpuCount?: number | null;
1213
+ /**
1214
+ * 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.
1215
+ */
1216
+ machineType?: string | null;
1051
1217
  }
1052
1218
  /**
1053
1219
  * 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.
@@ -1062,6 +1228,10 @@ export namespace alloydb_v1alpha {
1062
1228
  * MaintenanceUpdatePolicy defines the policy for system updates.
1063
1229
  */
1064
1230
  export interface Schema$MaintenanceUpdatePolicy {
1231
+ /**
1232
+ * Periods to deny maintenance. Currently limited to 1.
1233
+ */
1234
+ denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
1065
1235
  /**
1066
1236
  * Preferred windows to perform maintenance. Currently limited to 1.
1067
1237
  */
@@ -1111,7 +1281,7 @@ export namespace alloydb_v1alpha {
1111
1281
  network?: string | null;
1112
1282
  }
1113
1283
  /**
1114
- * 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.
1284
+ * 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.
1115
1285
  */
1116
1286
  export interface Schema$Node {
1117
1287
  /**
@@ -1135,6 +1305,10 @@ export namespace alloydb_v1alpha {
1135
1305
  * Observability Instance specific configuration.
1136
1306
  */
1137
1307
  export interface Schema$ObservabilityInstanceConfig {
1308
+ /**
1309
+ * Whether assistive experiences are enabled for this AlloyDB instance.
1310
+ */
1311
+ assistiveExperiencesEnabled?: boolean | null;
1138
1312
  /**
1139
1313
  * Observability feature status for an instance. This flag is turned "off" by default.
1140
1314
  */
@@ -1159,16 +1333,12 @@ export namespace alloydb_v1alpha {
1159
1333
  * Track actively running queries on the instance. If not set, this flag is "off" by default.
1160
1334
  */
1161
1335
  trackActiveQueries?: boolean | null;
1162
- /**
1163
- * Track client address for an instance. If not set, default value is "off".
1164
- */
1165
- trackClientAddress?: boolean | null;
1166
1336
  /**
1167
1337
  * 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.
1168
1338
  */
1169
1339
  trackWaitEvents?: boolean | null;
1170
1340
  /**
1171
- * 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.
1341
+ * 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.
1172
1342
  */
1173
1343
  trackWaitEventTypes?: boolean | null;
1174
1344
  }
@@ -1225,6 +1395,10 @@ export namespace alloydb_v1alpha {
1225
1395
  * Output only. Server-defined resource path for the target of the operation.
1226
1396
  */
1227
1397
  target?: string | null;
1398
+ /**
1399
+ * Output only. UpgradeClusterStatus related metadata.
1400
+ */
1401
+ upgradeClusterStatus?: Schema$UpgradeClusterStatus;
1228
1402
  /**
1229
1403
  * Output only. Name of the verb executed by the operation.
1230
1404
  */
@@ -1256,6 +1430,31 @@ export namespace alloydb_v1alpha {
1256
1430
  */
1257
1431
  validateOnly?: boolean | null;
1258
1432
  }
1433
+ /**
1434
+ * Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.
1435
+ */
1436
+ export interface Schema$PscAutoConnectionConfig {
1437
+ /**
1438
+ * 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.
1439
+ */
1440
+ consumerNetwork?: string | null;
1441
+ /**
1442
+ * 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.
1443
+ */
1444
+ consumerNetworkStatus?: string | null;
1445
+ /**
1446
+ * The consumer project to which the PSC service automation endpoint will be created.
1447
+ */
1448
+ consumerProject?: string | null;
1449
+ /**
1450
+ * Output only. The IP address of the PSC service automation endpoint.
1451
+ */
1452
+ ipAddress?: string | null;
1453
+ /**
1454
+ * 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.
1455
+ */
1456
+ status?: string | null;
1457
+ }
1259
1458
  /**
1260
1459
  * PscConfig contains PSC related configuration at a cluster level.
1261
1460
  */
@@ -1277,6 +1476,10 @@ export namespace alloydb_v1alpha {
1277
1476
  * Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
1278
1477
  */
1279
1478
  allowedConsumerProjects?: string[] | null;
1479
+ /**
1480
+ * Optional. Configurations for setting up PSC service automation.
1481
+ */
1482
+ pscAutoConnections?: Schema$PscAutoConnectionConfig[];
1280
1483
  /**
1281
1484
  * Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
1282
1485
  */
@@ -1351,6 +1554,15 @@ export namespace alloydb_v1alpha {
1351
1554
  */
1352
1555
  nodeCount?: number | null;
1353
1556
  }
1557
+ /**
1558
+ * Read pool instances upgrade specific status.
1559
+ */
1560
+ export interface Schema$ReadPoolInstancesUpgradeStageStatus {
1561
+ /**
1562
+ * Read pool instances upgrade statistics.
1563
+ */
1564
+ upgradeStats?: Schema$Stats;
1565
+ }
1354
1566
  export interface Schema$RestartInstanceRequest {
1355
1567
  /**
1356
1568
  * Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
@@ -1366,7 +1578,7 @@ export namespace alloydb_v1alpha {
1366
1578
  validateOnly?: boolean | null;
1367
1579
  }
1368
1580
  /**
1369
- * Message for restoring a Cluster from a backup or another cluster at a given point in time.
1581
+ * Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
1370
1582
  */
1371
1583
  export interface Schema$RestoreClusterRequest {
1372
1584
  /**
@@ -1441,6 +1653,10 @@ export namespace alloydb_v1alpha {
1441
1653
  */
1442
1654
  tables?: string[] | null;
1443
1655
  }
1656
+ /**
1657
+ * Options for importing data in SQL format.
1658
+ */
1659
+ export interface Schema$SqlImportOptions {}
1444
1660
  /**
1445
1661
  * SSL configuration.
1446
1662
  */
@@ -1471,6 +1687,44 @@ export namespace alloydb_v1alpha {
1471
1687
  */
1472
1688
  status?: string | null;
1473
1689
  }
1690
+ /**
1691
+ * Status of an upgrade stage.
1692
+ */
1693
+ export interface Schema$StageStatus {
1694
+ /**
1695
+ * Read pool instances upgrade metadata.
1696
+ */
1697
+ readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
1698
+ /**
1699
+ * Upgrade stage.
1700
+ */
1701
+ stage?: string | null;
1702
+ /**
1703
+ * State of this stage.
1704
+ */
1705
+ state?: string | null;
1706
+ }
1707
+ /**
1708
+ * Upgrade stats for read pool instances.
1709
+ */
1710
+ export interface Schema$Stats {
1711
+ /**
1712
+ * Number of read pool instances which failed to upgrade.
1713
+ */
1714
+ failed?: number | null;
1715
+ /**
1716
+ * Number of read pool instances for which upgrade has not started.
1717
+ */
1718
+ notStarted?: number | null;
1719
+ /**
1720
+ * Number of read pool instances undergoing upgrade.
1721
+ */
1722
+ ongoing?: number | null;
1723
+ /**
1724
+ * Number of read pool instances successfully upgraded.
1725
+ */
1726
+ success?: number | null;
1727
+ }
1474
1728
  /**
1475
1729
  * 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).
1476
1730
  */
@@ -1668,7 +1922,7 @@ export namespace alloydb_v1alpha {
1668
1922
  uniqueId?: string | null;
1669
1923
  }
1670
1924
  /**
1671
- * Common model for database resource instance metadata. Next ID: 23
1925
+ * Common model for database resource instance metadata. Next ID: 25
1672
1926
  */
1673
1927
  export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
1674
1928
  /**
@@ -1707,6 +1961,10 @@ export namespace alloydb_v1alpha {
1707
1961
  * 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.
1708
1962
  */
1709
1963
  expectedState?: string | null;
1964
+ /**
1965
+ * GCBDR configuration for the resource.
1966
+ */
1967
+ gcbdrConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration;
1710
1968
  /**
1711
1969
  * Required. Unique identifier for a Database resource
1712
1970
  */
@@ -1743,6 +2001,10 @@ export namespace alloydb_v1alpha {
1743
2001
  * 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
1744
2002
  */
1745
2003
  resourceName?: string | null;
2004
+ /**
2005
+ * Optional. Suspension reason for the resource.
2006
+ */
2007
+ suspensionReason?: string | null;
1746
2008
  /**
1747
2009
  * Optional. Tags associated with this resources.
1748
2010
  */
@@ -1806,6 +2068,15 @@ export namespace alloydb_v1alpha {
1806
2068
  */
1807
2069
  type?: string | null;
1808
2070
  }
2071
+ /**
2072
+ * GCBDR Configuration for the resource.
2073
+ */
2074
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration {
2075
+ /**
2076
+ * Whether the resource is managed by GCBDR.
2077
+ */
2078
+ gcbdrManaged?: boolean | null;
2079
+ }
1809
2080
  /**
1810
2081
  * 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.
1811
2082
  */
@@ -1818,6 +2089,10 @@ export namespace alloydb_v1alpha {
1818
2089
  * Information about the last backup attempt for this database
1819
2090
  */
1820
2091
  backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
2092
+ /**
2093
+ * Whether deletion protection is enabled for this internal resource.
2094
+ */
2095
+ isDeletionProtectionEnabled?: boolean | null;
1821
2096
  product?: Schema$StorageDatabasecenterProtoCommonProduct;
1822
2097
  resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
1823
2098
  /**
@@ -1830,11 +2105,11 @@ export namespace alloydb_v1alpha {
1830
2105
  */
1831
2106
  export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
1832
2107
  /**
1833
- * The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2108
+ * The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.
1834
2109
  */
1835
2110
  cpuCount?: number | null;
1836
2111
  /**
1837
- * Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2112
+ * Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
1838
2113
  */
1839
2114
  memorySizeInBytes?: string | null;
1840
2115
  /**
@@ -1842,7 +2117,7 @@ export namespace alloydb_v1alpha {
1842
2117
  */
1843
2118
  shardCount?: number | null;
1844
2119
  /**
1845
- * Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2120
+ * Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.
1846
2121
  */
1847
2122
  vcpuCount?: number | null;
1848
2123
  }
@@ -1980,10 +2255,22 @@ export namespace alloydb_v1alpha {
1980
2255
  * 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.
1981
2256
  */
1982
2257
  name?: string | null;
2258
+ /**
2259
+ * The recommended value for an INTEGER flag.
2260
+ */
2261
+ recommendedIntegerValue?: string | null;
2262
+ /**
2263
+ * The recommended value for a STRING flag.
2264
+ */
2265
+ recommendedStringValue?: string | null;
1983
2266
  /**
1984
2267
  * 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).
1985
2268
  */
1986
2269
  requiresDbRestart?: boolean | null;
2270
+ /**
2271
+ * The scope of the flag.
2272
+ */
2273
+ scope?: string | null;
1987
2274
  /**
1988
2275
  * Restriction on STRING type value.
1989
2276
  */
@@ -2084,6 +2371,31 @@ export namespace alloydb_v1alpha {
2084
2371
  */
2085
2372
  status?: string | null;
2086
2373
  }
2374
+ /**
2375
+ * Message for current status of the Major Version Upgrade operation.
2376
+ */
2377
+ export interface Schema$UpgradeClusterStatus {
2378
+ /**
2379
+ * Whether the operation is cancellable.
2380
+ */
2381
+ cancellable?: boolean | null;
2382
+ /**
2383
+ * Source database major version.
2384
+ */
2385
+ sourceVersion?: string | null;
2386
+ /**
2387
+ * Status of all upgrade stages.
2388
+ */
2389
+ stages?: Schema$StageStatus[];
2390
+ /**
2391
+ * Cluster Major Version Upgrade state.
2392
+ */
2393
+ state?: string | null;
2394
+ /**
2395
+ * Target database major version.
2396
+ */
2397
+ targetVersion?: string | null;
2398
+ }
2087
2399
  /**
2088
2400
  * Message describing User object.
2089
2401
  */
@@ -2361,6 +2673,10 @@ export namespace alloydb_v1alpha {
2361
2673
  }
2362
2674
  export interface Params$Resource$Projects$Locations$List
2363
2675
  extends StandardParameters {
2676
+ /**
2677
+ * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2678
+ */
2679
+ extraLocationTypes?: string[];
2364
2680
  /**
2365
2681
  * 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).
2366
2682
  */
@@ -3368,6 +3684,94 @@ export namespace alloydb_v1alpha {
3368
3684
  }
3369
3685
  }
3370
3686
 
3687
+ /**
3688
+ * Imports data to the cluster. Imperative only.
3689
+ *
3690
+ * @param params - Parameters for request
3691
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3692
+ * @param callback - Optional callback that handles the response.
3693
+ * @returns A promise if used with async/await, or void if used with a callback.
3694
+ */
3695
+ import(
3696
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3697
+ options: StreamMethodOptions
3698
+ ): GaxiosPromise<Readable>;
3699
+ import(
3700
+ params?: Params$Resource$Projects$Locations$Clusters$Import,
3701
+ options?: MethodOptions
3702
+ ): GaxiosPromise<Schema$Operation>;
3703
+ import(
3704
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3705
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3706
+ callback: BodyResponseCallback<Readable>
3707
+ ): void;
3708
+ import(
3709
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3710
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
3711
+ callback: BodyResponseCallback<Schema$Operation>
3712
+ ): void;
3713
+ import(
3714
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3715
+ callback: BodyResponseCallback<Schema$Operation>
3716
+ ): void;
3717
+ import(callback: BodyResponseCallback<Schema$Operation>): void;
3718
+ import(
3719
+ paramsOrCallback?:
3720
+ | Params$Resource$Projects$Locations$Clusters$Import
3721
+ | BodyResponseCallback<Schema$Operation>
3722
+ | BodyResponseCallback<Readable>,
3723
+ optionsOrCallback?:
3724
+ | MethodOptions
3725
+ | StreamMethodOptions
3726
+ | BodyResponseCallback<Schema$Operation>
3727
+ | BodyResponseCallback<Readable>,
3728
+ callback?:
3729
+ | BodyResponseCallback<Schema$Operation>
3730
+ | BodyResponseCallback<Readable>
3731
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3732
+ let params = (paramsOrCallback ||
3733
+ {}) as Params$Resource$Projects$Locations$Clusters$Import;
3734
+ let options = (optionsOrCallback || {}) as MethodOptions;
3735
+
3736
+ if (typeof paramsOrCallback === 'function') {
3737
+ callback = paramsOrCallback;
3738
+ params = {} as Params$Resource$Projects$Locations$Clusters$Import;
3739
+ options = {};
3740
+ }
3741
+
3742
+ if (typeof optionsOrCallback === 'function') {
3743
+ callback = optionsOrCallback;
3744
+ options = {};
3745
+ }
3746
+
3747
+ const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
3748
+ const parameters = {
3749
+ options: Object.assign(
3750
+ {
3751
+ url: (rootUrl + '/v1alpha/{+name}:import').replace(
3752
+ /([^:]\/)\/+/g,
3753
+ '$1'
3754
+ ),
3755
+ method: 'POST',
3756
+ apiVersion: '',
3757
+ },
3758
+ options
3759
+ ),
3760
+ params,
3761
+ requiredParams: ['name'],
3762
+ pathParams: ['name'],
3763
+ context: this.context,
3764
+ };
3765
+ if (callback) {
3766
+ createAPIRequest<Schema$Operation>(
3767
+ parameters,
3768
+ callback as BodyResponseCallback<unknown>
3769
+ );
3770
+ } else {
3771
+ return createAPIRequest<Schema$Operation>(parameters);
3772
+ }
3773
+ }
3774
+
3371
3775
  /**
3372
3776
  * Lists Clusters in a given project and location.
3373
3777
  *
@@ -4081,6 +4485,18 @@ export namespace alloydb_v1alpha {
4081
4485
  */
4082
4486
  view?: string;
4083
4487
  }
4488
+ export interface Params$Resource$Projects$Locations$Clusters$Import
4489
+ extends StandardParameters {
4490
+ /**
4491
+ * Required. The resource name of the cluster.
4492
+ */
4493
+ name?: string;
4494
+
4495
+ /**
4496
+ * Request body metadata
4497
+ */
4498
+ requestBody?: Schema$ImportClusterRequest;
4499
+ }
4084
4500
  export interface Params$Resource$Projects$Locations$Clusters$List
4085
4501
  extends StandardParameters {
4086
4502
  /**
@@ -6325,5 +6741,9 @@ export namespace alloydb_v1alpha {
6325
6741
  * 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.
6326
6742
  */
6327
6743
  parent?: string;
6744
+ /**
6745
+ * Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
6746
+ */
6747
+ scope?: string;
6328
6748
  }
6329
6749
  }