@googleapis/alloydb 11.3.0 → 13.0.1

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
@@ -23,7 +23,7 @@ import {
23
23
  Compute,
24
24
  UserRefreshClient,
25
25
  BaseExternalAccountClient,
26
- GaxiosPromise,
26
+ GaxiosResponseWithHTTP2,
27
27
  GoogleConfigurable,
28
28
  createAPIRequest,
29
29
  MethodOptions,
@@ -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
  /**
@@ -557,7 +614,7 @@ export namespace alloydb_v1alpha {
557
614
  */
558
615
  export interface Schema$ContinuousBackupInfo {
559
616
  /**
560
- * Output only. The earliest restorable time that can be restored to. Output only field.
617
+ * Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes "now minus the recovery window". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.
561
618
  */
562
619
  earliestRestorableTime?: string | null;
563
620
  /**
@@ -569,7 +626,7 @@ export namespace alloydb_v1alpha {
569
626
  */
570
627
  encryptionInfo?: Schema$EncryptionInfo;
571
628
  /**
572
- * Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
629
+ * Output only. Days of the week on which a continuous backup is taken.
573
630
  */
574
631
  schedule?: string[] | null;
575
632
  }
@@ -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
  */
@@ -774,6 +924,10 @@ export namespace alloydb_v1alpha {
774
924
  * An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.
775
925
  */
776
926
  export interface Schema$Instance {
927
+ /**
928
+ * Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
929
+ */
930
+ activationPolicy?: string | null;
777
931
  /**
778
932
  * Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
779
933
  */
@@ -786,6 +940,10 @@ export namespace alloydb_v1alpha {
786
940
  * Optional. Client connection specific configurations
787
941
  */
788
942
  clientConnectionConfig?: Schema$ClientConnectionConfig;
943
+ /**
944
+ * Optional. The configuration for Managed Connection Pool (MCP).
945
+ */
946
+ connectionPoolConfig?: Schema$ConnectionPoolConfig;
789
947
  /**
790
948
  * Output only. Create time stamp
791
949
  */
@@ -806,12 +964,16 @@ export namespace alloydb_v1alpha {
806
964
  * For Resource freshness validation (https://google.aip.dev/154)
807
965
  */
808
966
  etag?: string | null;
967
+ /**
968
+ * Output only. Configuration parameters related to Gemini Cloud Assist.
969
+ */
970
+ gcaConfig?: Schema$GCAInstanceConfig;
809
971
  /**
810
972
  * 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
973
  */
812
974
  gceZone?: string | null;
813
975
  /**
814
- * Optional. Configuration parameters related to the Gemini in Databases add-on.
976
+ * Optional. Deprecated and unused. This field will be removed in the near future.
815
977
  */
816
978
  geminiConfig?: Schema$GeminiInstanceConfig;
817
979
  /**
@@ -903,6 +1065,10 @@ export namespace alloydb_v1alpha {
903
1065
  * Metadata related to instance-level network configuration.
904
1066
  */
905
1067
  export interface Schema$InstanceNetworkConfig {
1068
+ /**
1069
+ * Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: "google-managed-services-default". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply with [RFC 1035](http://go/rfc/1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
1070
+ */
1071
+ allocatedIpRangeOverride?: string | null;
906
1072
  /**
907
1073
  * Optional. A list of external network authorized to access this instance.
908
1074
  */
@@ -915,6 +1081,10 @@ export namespace alloydb_v1alpha {
915
1081
  * Optional. Enabling public ip for the instance.
916
1082
  */
917
1083
  enablePublicIp?: boolean | null;
1084
+ /**
1085
+ * 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\}`.
1086
+ */
1087
+ network?: string | null;
918
1088
  }
919
1089
  /**
920
1090
  * Details regarding the upgrade of instaces associated with a cluster.
@@ -1048,6 +1218,10 @@ export namespace alloydb_v1alpha {
1048
1218
  * The number of CPU's in the VM instance.
1049
1219
  */
1050
1220
  cpuCount?: number | null;
1221
+ /**
1222
+ * 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.
1223
+ */
1224
+ machineType?: string | null;
1051
1225
  }
1052
1226
  /**
1053
1227
  * 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 +1236,10 @@ export namespace alloydb_v1alpha {
1062
1236
  * MaintenanceUpdatePolicy defines the policy for system updates.
1063
1237
  */
1064
1238
  export interface Schema$MaintenanceUpdatePolicy {
1239
+ /**
1240
+ * Periods to deny maintenance. Currently limited to 1.
1241
+ */
1242
+ denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
1065
1243
  /**
1066
1244
  * Preferred windows to perform maintenance. Currently limited to 1.
1067
1245
  */
@@ -1111,7 +1289,7 @@ export namespace alloydb_v1alpha {
1111
1289
  network?: string | null;
1112
1290
  }
1113
1291
  /**
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.
1292
+ * 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
1293
  */
1116
1294
  export interface Schema$Node {
1117
1295
  /**
@@ -1135,6 +1313,10 @@ export namespace alloydb_v1alpha {
1135
1313
  * Observability Instance specific configuration.
1136
1314
  */
1137
1315
  export interface Schema$ObservabilityInstanceConfig {
1316
+ /**
1317
+ * Whether assistive experiences are enabled for this AlloyDB instance.
1318
+ */
1319
+ assistiveExperiencesEnabled?: boolean | null;
1138
1320
  /**
1139
1321
  * Observability feature status for an instance. This flag is turned "off" by default.
1140
1322
  */
@@ -1159,16 +1341,12 @@ export namespace alloydb_v1alpha {
1159
1341
  * Track actively running queries on the instance. If not set, this flag is "off" by default.
1160
1342
  */
1161
1343
  trackActiveQueries?: boolean | null;
1162
- /**
1163
- * Track client address for an instance. If not set, default value is "off".
1164
- */
1165
- trackClientAddress?: boolean | null;
1166
1344
  /**
1167
1345
  * 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
1346
  */
1169
1347
  trackWaitEvents?: boolean | null;
1170
1348
  /**
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.
1349
+ * 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
1350
  */
1173
1351
  trackWaitEventTypes?: boolean | null;
1174
1352
  }
@@ -1225,6 +1403,10 @@ export namespace alloydb_v1alpha {
1225
1403
  * Output only. Server-defined resource path for the target of the operation.
1226
1404
  */
1227
1405
  target?: string | null;
1406
+ /**
1407
+ * Output only. UpgradeClusterStatus related metadata.
1408
+ */
1409
+ upgradeClusterStatus?: Schema$UpgradeClusterStatus;
1228
1410
  /**
1229
1411
  * Output only. Name of the verb executed by the operation.
1230
1412
  */
@@ -1256,6 +1438,31 @@ export namespace alloydb_v1alpha {
1256
1438
  */
1257
1439
  validateOnly?: boolean | null;
1258
1440
  }
1441
+ /**
1442
+ * Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.
1443
+ */
1444
+ export interface Schema$PscAutoConnectionConfig {
1445
+ /**
1446
+ * 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.
1447
+ */
1448
+ consumerNetwork?: string | null;
1449
+ /**
1450
+ * 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.
1451
+ */
1452
+ consumerNetworkStatus?: string | null;
1453
+ /**
1454
+ * The consumer project to which the PSC service automation endpoint will be created.
1455
+ */
1456
+ consumerProject?: string | null;
1457
+ /**
1458
+ * Output only. The IP address of the PSC service automation endpoint.
1459
+ */
1460
+ ipAddress?: string | null;
1461
+ /**
1462
+ * 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.
1463
+ */
1464
+ status?: string | null;
1465
+ }
1259
1466
  /**
1260
1467
  * PscConfig contains PSC related configuration at a cluster level.
1261
1468
  */
@@ -1277,6 +1484,10 @@ export namespace alloydb_v1alpha {
1277
1484
  * Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
1278
1485
  */
1279
1486
  allowedConsumerProjects?: string[] | null;
1487
+ /**
1488
+ * Optional. Configurations for setting up PSC service automation.
1489
+ */
1490
+ pscAutoConnections?: Schema$PscAutoConnectionConfig[];
1280
1491
  /**
1281
1492
  * Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
1282
1493
  */
@@ -1351,6 +1562,15 @@ export namespace alloydb_v1alpha {
1351
1562
  */
1352
1563
  nodeCount?: number | null;
1353
1564
  }
1565
+ /**
1566
+ * Read pool instances upgrade specific status.
1567
+ */
1568
+ export interface Schema$ReadPoolInstancesUpgradeStageStatus {
1569
+ /**
1570
+ * Read pool instances upgrade statistics.
1571
+ */
1572
+ upgradeStats?: Schema$Stats;
1573
+ }
1354
1574
  export interface Schema$RestartInstanceRequest {
1355
1575
  /**
1356
1576
  * Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
@@ -1366,7 +1586,7 @@ export namespace alloydb_v1alpha {
1366
1586
  validateOnly?: boolean | null;
1367
1587
  }
1368
1588
  /**
1369
- * Message for restoring a Cluster from a backup or another cluster at a given point in time.
1589
+ * Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
1370
1590
  */
1371
1591
  export interface Schema$RestoreClusterRequest {
1372
1592
  /**
@@ -1441,6 +1661,10 @@ export namespace alloydb_v1alpha {
1441
1661
  */
1442
1662
  tables?: string[] | null;
1443
1663
  }
1664
+ /**
1665
+ * Options for importing data in SQL format.
1666
+ */
1667
+ export interface Schema$SqlImportOptions {}
1444
1668
  /**
1445
1669
  * SSL configuration.
1446
1670
  */
@@ -1471,6 +1695,44 @@ export namespace alloydb_v1alpha {
1471
1695
  */
1472
1696
  status?: string | null;
1473
1697
  }
1698
+ /**
1699
+ * Status of an upgrade stage.
1700
+ */
1701
+ export interface Schema$StageStatus {
1702
+ /**
1703
+ * Read pool instances upgrade metadata.
1704
+ */
1705
+ readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
1706
+ /**
1707
+ * Upgrade stage.
1708
+ */
1709
+ stage?: string | null;
1710
+ /**
1711
+ * State of this stage.
1712
+ */
1713
+ state?: string | null;
1714
+ }
1715
+ /**
1716
+ * Upgrade stats for read pool instances.
1717
+ */
1718
+ export interface Schema$Stats {
1719
+ /**
1720
+ * Number of read pool instances which failed to upgrade.
1721
+ */
1722
+ failed?: number | null;
1723
+ /**
1724
+ * Number of read pool instances for which upgrade has not started.
1725
+ */
1726
+ notStarted?: number | null;
1727
+ /**
1728
+ * Number of read pool instances undergoing upgrade.
1729
+ */
1730
+ ongoing?: number | null;
1731
+ /**
1732
+ * Number of read pool instances successfully upgraded.
1733
+ */
1734
+ success?: number | null;
1735
+ }
1474
1736
  /**
1475
1737
  * 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
1738
  */
@@ -1668,7 +1930,7 @@ export namespace alloydb_v1alpha {
1668
1930
  uniqueId?: string | null;
1669
1931
  }
1670
1932
  /**
1671
- * Common model for database resource instance metadata. Next ID: 23
1933
+ * Common model for database resource instance metadata. Next ID: 25
1672
1934
  */
1673
1935
  export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
1674
1936
  /**
@@ -1707,6 +1969,10 @@ export namespace alloydb_v1alpha {
1707
1969
  * 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
1970
  */
1709
1971
  expectedState?: string | null;
1972
+ /**
1973
+ * GCBDR configuration for the resource.
1974
+ */
1975
+ gcbdrConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration;
1710
1976
  /**
1711
1977
  * Required. Unique identifier for a Database resource
1712
1978
  */
@@ -1743,6 +2009,10 @@ export namespace alloydb_v1alpha {
1743
2009
  * 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
2010
  */
1745
2011
  resourceName?: string | null;
2012
+ /**
2013
+ * Optional. Suspension reason for the resource.
2014
+ */
2015
+ suspensionReason?: string | null;
1746
2016
  /**
1747
2017
  * Optional. Tags associated with this resources.
1748
2018
  */
@@ -1806,6 +2076,15 @@ export namespace alloydb_v1alpha {
1806
2076
  */
1807
2077
  type?: string | null;
1808
2078
  }
2079
+ /**
2080
+ * GCBDR Configuration for the resource.
2081
+ */
2082
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration {
2083
+ /**
2084
+ * Whether the resource is managed by GCBDR.
2085
+ */
2086
+ gcbdrManaged?: boolean | null;
2087
+ }
1809
2088
  /**
1810
2089
  * 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
2090
  */
@@ -1818,6 +2097,10 @@ export namespace alloydb_v1alpha {
1818
2097
  * Information about the last backup attempt for this database
1819
2098
  */
1820
2099
  backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
2100
+ /**
2101
+ * Whether deletion protection is enabled for this internal resource.
2102
+ */
2103
+ isDeletionProtectionEnabled?: boolean | null;
1821
2104
  product?: Schema$StorageDatabasecenterProtoCommonProduct;
1822
2105
  resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
1823
2106
  /**
@@ -1830,11 +2113,11 @@ export namespace alloydb_v1alpha {
1830
2113
  */
1831
2114
  export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
1832
2115
  /**
1833
- * The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2116
+ * The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.
1834
2117
  */
1835
2118
  cpuCount?: number | null;
1836
2119
  /**
1837
- * Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2120
+ * Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
1838
2121
  */
1839
2122
  memorySizeInBytes?: string | null;
1840
2123
  /**
@@ -1842,7 +2125,7 @@ export namespace alloydb_v1alpha {
1842
2125
  */
1843
2126
  shardCount?: number | null;
1844
2127
  /**
1845
- * Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2128
+ * Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.
1846
2129
  */
1847
2130
  vcpuCount?: number | null;
1848
2131
  }
@@ -1980,10 +2263,22 @@ export namespace alloydb_v1alpha {
1980
2263
  * 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
2264
  */
1982
2265
  name?: string | null;
2266
+ /**
2267
+ * The recommended value for an INTEGER flag.
2268
+ */
2269
+ recommendedIntegerValue?: string | null;
2270
+ /**
2271
+ * The recommended value for a STRING flag.
2272
+ */
2273
+ recommendedStringValue?: string | null;
1983
2274
  /**
1984
2275
  * 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
2276
  */
1986
2277
  requiresDbRestart?: boolean | null;
2278
+ /**
2279
+ * The scope of the flag.
2280
+ */
2281
+ scope?: string | null;
1987
2282
  /**
1988
2283
  * Restriction on STRING type value.
1989
2284
  */
@@ -2084,6 +2379,31 @@ export namespace alloydb_v1alpha {
2084
2379
  */
2085
2380
  status?: string | null;
2086
2381
  }
2382
+ /**
2383
+ * Message for current status of the Major Version Upgrade operation.
2384
+ */
2385
+ export interface Schema$UpgradeClusterStatus {
2386
+ /**
2387
+ * Whether the operation is cancellable.
2388
+ */
2389
+ cancellable?: boolean | null;
2390
+ /**
2391
+ * Source database major version.
2392
+ */
2393
+ sourceVersion?: string | null;
2394
+ /**
2395
+ * Status of all upgrade stages.
2396
+ */
2397
+ stages?: Schema$StageStatus[];
2398
+ /**
2399
+ * Cluster Major Version Upgrade state.
2400
+ */
2401
+ state?: string | null;
2402
+ /**
2403
+ * Target database major version.
2404
+ */
2405
+ targetVersion?: string | null;
2406
+ }
2087
2407
  /**
2088
2408
  * Message describing User object.
2089
2409
  */
@@ -2173,11 +2493,11 @@ export namespace alloydb_v1alpha {
2173
2493
  get(
2174
2494
  params: Params$Resource$Projects$Locations$Get,
2175
2495
  options: StreamMethodOptions
2176
- ): GaxiosPromise<Readable>;
2496
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2177
2497
  get(
2178
2498
  params?: Params$Resource$Projects$Locations$Get,
2179
2499
  options?: MethodOptions
2180
- ): GaxiosPromise<Schema$GoogleCloudLocationLocation>;
2500
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationLocation>>;
2181
2501
  get(
2182
2502
  params: Params$Resource$Projects$Locations$Get,
2183
2503
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2212,8 +2532,8 @@ export namespace alloydb_v1alpha {
2212
2532
  | BodyResponseCallback<Readable>
2213
2533
  ):
2214
2534
  | void
2215
- | GaxiosPromise<Schema$GoogleCloudLocationLocation>
2216
- | GaxiosPromise<Readable> {
2535
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationLocation>>
2536
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2217
2537
  let params = (paramsOrCallback ||
2218
2538
  {}) as Params$Resource$Projects$Locations$Get;
2219
2539
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2265,11 +2585,13 @@ export namespace alloydb_v1alpha {
2265
2585
  list(
2266
2586
  params: Params$Resource$Projects$Locations$List,
2267
2587
  options: StreamMethodOptions
2268
- ): GaxiosPromise<Readable>;
2588
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2269
2589
  list(
2270
2590
  params?: Params$Resource$Projects$Locations$List,
2271
2591
  options?: MethodOptions
2272
- ): GaxiosPromise<Schema$GoogleCloudLocationListLocationsResponse>;
2592
+ ): Promise<
2593
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationListLocationsResponse>
2594
+ >;
2273
2595
  list(
2274
2596
  params: Params$Resource$Projects$Locations$List,
2275
2597
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2304,8 +2626,10 @@ export namespace alloydb_v1alpha {
2304
2626
  | BodyResponseCallback<Readable>
2305
2627
  ):
2306
2628
  | void
2307
- | GaxiosPromise<Schema$GoogleCloudLocationListLocationsResponse>
2308
- | GaxiosPromise<Readable> {
2629
+ | Promise<
2630
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationListLocationsResponse>
2631
+ >
2632
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2309
2633
  let params = (paramsOrCallback ||
2310
2634
  {}) as Params$Resource$Projects$Locations$List;
2311
2635
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2361,6 +2685,10 @@ export namespace alloydb_v1alpha {
2361
2685
  }
2362
2686
  export interface Params$Resource$Projects$Locations$List
2363
2687
  extends StandardParameters {
2688
+ /**
2689
+ * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2690
+ */
2691
+ extraLocationTypes?: string[];
2364
2692
  /**
2365
2693
  * 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
2694
  */
@@ -2396,11 +2724,11 @@ export namespace alloydb_v1alpha {
2396
2724
  create(
2397
2725
  params: Params$Resource$Projects$Locations$Backups$Create,
2398
2726
  options: StreamMethodOptions
2399
- ): GaxiosPromise<Readable>;
2727
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2400
2728
  create(
2401
2729
  params?: Params$Resource$Projects$Locations$Backups$Create,
2402
2730
  options?: MethodOptions
2403
- ): GaxiosPromise<Schema$Operation>;
2731
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2404
2732
  create(
2405
2733
  params: Params$Resource$Projects$Locations$Backups$Create,
2406
2734
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2429,7 +2757,10 @@ export namespace alloydb_v1alpha {
2429
2757
  callback?:
2430
2758
  | BodyResponseCallback<Schema$Operation>
2431
2759
  | BodyResponseCallback<Readable>
2432
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
2760
+ ):
2761
+ | void
2762
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2763
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2433
2764
  let params = (paramsOrCallback ||
2434
2765
  {}) as Params$Resource$Projects$Locations$Backups$Create;
2435
2766
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2484,11 +2815,11 @@ export namespace alloydb_v1alpha {
2484
2815
  delete(
2485
2816
  params: Params$Resource$Projects$Locations$Backups$Delete,
2486
2817
  options: StreamMethodOptions
2487
- ): GaxiosPromise<Readable>;
2818
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2488
2819
  delete(
2489
2820
  params?: Params$Resource$Projects$Locations$Backups$Delete,
2490
2821
  options?: MethodOptions
2491
- ): GaxiosPromise<Schema$Operation>;
2822
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2492
2823
  delete(
2493
2824
  params: Params$Resource$Projects$Locations$Backups$Delete,
2494
2825
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2517,7 +2848,10 @@ export namespace alloydb_v1alpha {
2517
2848
  callback?:
2518
2849
  | BodyResponseCallback<Schema$Operation>
2519
2850
  | BodyResponseCallback<Readable>
2520
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
2851
+ ):
2852
+ | void
2853
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2854
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2521
2855
  let params = (paramsOrCallback ||
2522
2856
  {}) as Params$Resource$Projects$Locations$Backups$Delete;
2523
2857
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2569,11 +2903,11 @@ export namespace alloydb_v1alpha {
2569
2903
  get(
2570
2904
  params: Params$Resource$Projects$Locations$Backups$Get,
2571
2905
  options: StreamMethodOptions
2572
- ): GaxiosPromise<Readable>;
2906
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2573
2907
  get(
2574
2908
  params?: Params$Resource$Projects$Locations$Backups$Get,
2575
2909
  options?: MethodOptions
2576
- ): GaxiosPromise<Schema$Backup>;
2910
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Backup>>;
2577
2911
  get(
2578
2912
  params: Params$Resource$Projects$Locations$Backups$Get,
2579
2913
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2602,7 +2936,10 @@ export namespace alloydb_v1alpha {
2602
2936
  callback?:
2603
2937
  | BodyResponseCallback<Schema$Backup>
2604
2938
  | BodyResponseCallback<Readable>
2605
- ): void | GaxiosPromise<Schema$Backup> | GaxiosPromise<Readable> {
2939
+ ):
2940
+ | void
2941
+ | Promise<GaxiosResponseWithHTTP2<Schema$Backup>>
2942
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2606
2943
  let params = (paramsOrCallback ||
2607
2944
  {}) as Params$Resource$Projects$Locations$Backups$Get;
2608
2945
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2654,11 +2991,11 @@ export namespace alloydb_v1alpha {
2654
2991
  list(
2655
2992
  params: Params$Resource$Projects$Locations$Backups$List,
2656
2993
  options: StreamMethodOptions
2657
- ): GaxiosPromise<Readable>;
2994
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2658
2995
  list(
2659
2996
  params?: Params$Resource$Projects$Locations$Backups$List,
2660
2997
  options?: MethodOptions
2661
- ): GaxiosPromise<Schema$ListBackupsResponse>;
2998
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupsResponse>>;
2662
2999
  list(
2663
3000
  params: Params$Resource$Projects$Locations$Backups$List,
2664
3001
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2689,8 +3026,8 @@ export namespace alloydb_v1alpha {
2689
3026
  | BodyResponseCallback<Readable>
2690
3027
  ):
2691
3028
  | void
2692
- | GaxiosPromise<Schema$ListBackupsResponse>
2693
- | GaxiosPromise<Readable> {
3029
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListBackupsResponse>>
3030
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2694
3031
  let params = (paramsOrCallback ||
2695
3032
  {}) as Params$Resource$Projects$Locations$Backups$List;
2696
3033
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2745,11 +3082,11 @@ export namespace alloydb_v1alpha {
2745
3082
  patch(
2746
3083
  params: Params$Resource$Projects$Locations$Backups$Patch,
2747
3084
  options: StreamMethodOptions
2748
- ): GaxiosPromise<Readable>;
3085
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2749
3086
  patch(
2750
3087
  params?: Params$Resource$Projects$Locations$Backups$Patch,
2751
3088
  options?: MethodOptions
2752
- ): GaxiosPromise<Schema$Operation>;
3089
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2753
3090
  patch(
2754
3091
  params: Params$Resource$Projects$Locations$Backups$Patch,
2755
3092
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2778,7 +3115,10 @@ export namespace alloydb_v1alpha {
2778
3115
  callback?:
2779
3116
  | BodyResponseCallback<Schema$Operation>
2780
3117
  | BodyResponseCallback<Readable>
2781
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3118
+ ):
3119
+ | void
3120
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3121
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2782
3122
  let params = (paramsOrCallback ||
2783
3123
  {}) as Params$Resource$Projects$Locations$Backups$Patch;
2784
3124
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2945,11 +3285,11 @@ export namespace alloydb_v1alpha {
2945
3285
  create(
2946
3286
  params: Params$Resource$Projects$Locations$Clusters$Create,
2947
3287
  options: StreamMethodOptions
2948
- ): GaxiosPromise<Readable>;
3288
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2949
3289
  create(
2950
3290
  params?: Params$Resource$Projects$Locations$Clusters$Create,
2951
3291
  options?: MethodOptions
2952
- ): GaxiosPromise<Schema$Operation>;
3292
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2953
3293
  create(
2954
3294
  params: Params$Resource$Projects$Locations$Clusters$Create,
2955
3295
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2978,7 +3318,10 @@ export namespace alloydb_v1alpha {
2978
3318
  callback?:
2979
3319
  | BodyResponseCallback<Schema$Operation>
2980
3320
  | BodyResponseCallback<Readable>
2981
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3321
+ ):
3322
+ | void
3323
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3324
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2982
3325
  let params = (paramsOrCallback ||
2983
3326
  {}) as Params$Resource$Projects$Locations$Clusters$Create;
2984
3327
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3033,11 +3376,11 @@ export namespace alloydb_v1alpha {
3033
3376
  createsecondary(
3034
3377
  params: Params$Resource$Projects$Locations$Clusters$Createsecondary,
3035
3378
  options: StreamMethodOptions
3036
- ): GaxiosPromise<Readable>;
3379
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3037
3380
  createsecondary(
3038
3381
  params?: Params$Resource$Projects$Locations$Clusters$Createsecondary,
3039
3382
  options?: MethodOptions
3040
- ): GaxiosPromise<Schema$Operation>;
3383
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3041
3384
  createsecondary(
3042
3385
  params: Params$Resource$Projects$Locations$Clusters$Createsecondary,
3043
3386
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3066,7 +3409,10 @@ export namespace alloydb_v1alpha {
3066
3409
  callback?:
3067
3410
  | BodyResponseCallback<Schema$Operation>
3068
3411
  | BodyResponseCallback<Readable>
3069
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3412
+ ):
3413
+ | void
3414
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3415
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3070
3416
  let params = (paramsOrCallback ||
3071
3417
  {}) as Params$Resource$Projects$Locations$Clusters$Createsecondary;
3072
3418
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3121,11 +3467,11 @@ export namespace alloydb_v1alpha {
3121
3467
  delete(
3122
3468
  params: Params$Resource$Projects$Locations$Clusters$Delete,
3123
3469
  options: StreamMethodOptions
3124
- ): GaxiosPromise<Readable>;
3470
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3125
3471
  delete(
3126
3472
  params?: Params$Resource$Projects$Locations$Clusters$Delete,
3127
3473
  options?: MethodOptions
3128
- ): GaxiosPromise<Schema$Operation>;
3474
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3129
3475
  delete(
3130
3476
  params: Params$Resource$Projects$Locations$Clusters$Delete,
3131
3477
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3154,7 +3500,10 @@ export namespace alloydb_v1alpha {
3154
3500
  callback?:
3155
3501
  | BodyResponseCallback<Schema$Operation>
3156
3502
  | BodyResponseCallback<Readable>
3157
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3503
+ ):
3504
+ | void
3505
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3506
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3158
3507
  let params = (paramsOrCallback ||
3159
3508
  {}) as Params$Resource$Projects$Locations$Clusters$Delete;
3160
3509
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3206,11 +3555,11 @@ export namespace alloydb_v1alpha {
3206
3555
  export(
3207
3556
  params: Params$Resource$Projects$Locations$Clusters$Export,
3208
3557
  options: StreamMethodOptions
3209
- ): GaxiosPromise<Readable>;
3558
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3210
3559
  export(
3211
3560
  params?: Params$Resource$Projects$Locations$Clusters$Export,
3212
3561
  options?: MethodOptions
3213
- ): GaxiosPromise<Schema$Operation>;
3562
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3214
3563
  export(
3215
3564
  params: Params$Resource$Projects$Locations$Clusters$Export,
3216
3565
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3239,7 +3588,10 @@ export namespace alloydb_v1alpha {
3239
3588
  callback?:
3240
3589
  | BodyResponseCallback<Schema$Operation>
3241
3590
  | BodyResponseCallback<Readable>
3242
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3591
+ ):
3592
+ | void
3593
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3594
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3243
3595
  let params = (paramsOrCallback ||
3244
3596
  {}) as Params$Resource$Projects$Locations$Clusters$Export;
3245
3597
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3294,11 +3646,11 @@ export namespace alloydb_v1alpha {
3294
3646
  get(
3295
3647
  params: Params$Resource$Projects$Locations$Clusters$Get,
3296
3648
  options: StreamMethodOptions
3297
- ): GaxiosPromise<Readable>;
3649
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3298
3650
  get(
3299
3651
  params?: Params$Resource$Projects$Locations$Clusters$Get,
3300
3652
  options?: MethodOptions
3301
- ): GaxiosPromise<Schema$Cluster>;
3653
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Cluster>>;
3302
3654
  get(
3303
3655
  params: Params$Resource$Projects$Locations$Clusters$Get,
3304
3656
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3327,7 +3679,10 @@ export namespace alloydb_v1alpha {
3327
3679
  callback?:
3328
3680
  | BodyResponseCallback<Schema$Cluster>
3329
3681
  | BodyResponseCallback<Readable>
3330
- ): void | GaxiosPromise<Schema$Cluster> | GaxiosPromise<Readable> {
3682
+ ):
3683
+ | void
3684
+ | Promise<GaxiosResponseWithHTTP2<Schema$Cluster>>
3685
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3331
3686
  let params = (paramsOrCallback ||
3332
3687
  {}) as Params$Resource$Projects$Locations$Clusters$Get;
3333
3688
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3368,6 +3723,97 @@ export namespace alloydb_v1alpha {
3368
3723
  }
3369
3724
  }
3370
3725
 
3726
+ /**
3727
+ * Imports data to the cluster. Imperative only.
3728
+ *
3729
+ * @param params - Parameters for request
3730
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3731
+ * @param callback - Optional callback that handles the response.
3732
+ * @returns A promise if used with async/await, or void if used with a callback.
3733
+ */
3734
+ import(
3735
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3736
+ options: StreamMethodOptions
3737
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3738
+ import(
3739
+ params?: Params$Resource$Projects$Locations$Clusters$Import,
3740
+ options?: MethodOptions
3741
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3742
+ import(
3743
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3744
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3745
+ callback: BodyResponseCallback<Readable>
3746
+ ): void;
3747
+ import(
3748
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3749
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
3750
+ callback: BodyResponseCallback<Schema$Operation>
3751
+ ): void;
3752
+ import(
3753
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3754
+ callback: BodyResponseCallback<Schema$Operation>
3755
+ ): void;
3756
+ import(callback: BodyResponseCallback<Schema$Operation>): void;
3757
+ import(
3758
+ paramsOrCallback?:
3759
+ | Params$Resource$Projects$Locations$Clusters$Import
3760
+ | BodyResponseCallback<Schema$Operation>
3761
+ | BodyResponseCallback<Readable>,
3762
+ optionsOrCallback?:
3763
+ | MethodOptions
3764
+ | StreamMethodOptions
3765
+ | BodyResponseCallback<Schema$Operation>
3766
+ | BodyResponseCallback<Readable>,
3767
+ callback?:
3768
+ | BodyResponseCallback<Schema$Operation>
3769
+ | BodyResponseCallback<Readable>
3770
+ ):
3771
+ | void
3772
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3773
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3774
+ let params = (paramsOrCallback ||
3775
+ {}) as Params$Resource$Projects$Locations$Clusters$Import;
3776
+ let options = (optionsOrCallback || {}) as MethodOptions;
3777
+
3778
+ if (typeof paramsOrCallback === 'function') {
3779
+ callback = paramsOrCallback;
3780
+ params = {} as Params$Resource$Projects$Locations$Clusters$Import;
3781
+ options = {};
3782
+ }
3783
+
3784
+ if (typeof optionsOrCallback === 'function') {
3785
+ callback = optionsOrCallback;
3786
+ options = {};
3787
+ }
3788
+
3789
+ const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
3790
+ const parameters = {
3791
+ options: Object.assign(
3792
+ {
3793
+ url: (rootUrl + '/v1alpha/{+name}:import').replace(
3794
+ /([^:]\/)\/+/g,
3795
+ '$1'
3796
+ ),
3797
+ method: 'POST',
3798
+ apiVersion: '',
3799
+ },
3800
+ options
3801
+ ),
3802
+ params,
3803
+ requiredParams: ['name'],
3804
+ pathParams: ['name'],
3805
+ context: this.context,
3806
+ };
3807
+ if (callback) {
3808
+ createAPIRequest<Schema$Operation>(
3809
+ parameters,
3810
+ callback as BodyResponseCallback<unknown>
3811
+ );
3812
+ } else {
3813
+ return createAPIRequest<Schema$Operation>(parameters);
3814
+ }
3815
+ }
3816
+
3371
3817
  /**
3372
3818
  * Lists Clusters in a given project and location.
3373
3819
  *
@@ -3379,11 +3825,11 @@ export namespace alloydb_v1alpha {
3379
3825
  list(
3380
3826
  params: Params$Resource$Projects$Locations$Clusters$List,
3381
3827
  options: StreamMethodOptions
3382
- ): GaxiosPromise<Readable>;
3828
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3383
3829
  list(
3384
3830
  params?: Params$Resource$Projects$Locations$Clusters$List,
3385
3831
  options?: MethodOptions
3386
- ): GaxiosPromise<Schema$ListClustersResponse>;
3832
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListClustersResponse>>;
3387
3833
  list(
3388
3834
  params: Params$Resource$Projects$Locations$Clusters$List,
3389
3835
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3416,8 +3862,8 @@ export namespace alloydb_v1alpha {
3416
3862
  | BodyResponseCallback<Readable>
3417
3863
  ):
3418
3864
  | void
3419
- | GaxiosPromise<Schema$ListClustersResponse>
3420
- | GaxiosPromise<Readable> {
3865
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListClustersResponse>>
3866
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3421
3867
  let params = (paramsOrCallback ||
3422
3868
  {}) as Params$Resource$Projects$Locations$Clusters$List;
3423
3869
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3472,11 +3918,11 @@ export namespace alloydb_v1alpha {
3472
3918
  patch(
3473
3919
  params: Params$Resource$Projects$Locations$Clusters$Patch,
3474
3920
  options: StreamMethodOptions
3475
- ): GaxiosPromise<Readable>;
3921
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3476
3922
  patch(
3477
3923
  params?: Params$Resource$Projects$Locations$Clusters$Patch,
3478
3924
  options?: MethodOptions
3479
- ): GaxiosPromise<Schema$Operation>;
3925
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3480
3926
  patch(
3481
3927
  params: Params$Resource$Projects$Locations$Clusters$Patch,
3482
3928
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3505,7 +3951,10 @@ export namespace alloydb_v1alpha {
3505
3951
  callback?:
3506
3952
  | BodyResponseCallback<Schema$Operation>
3507
3953
  | BodyResponseCallback<Readable>
3508
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3954
+ ):
3955
+ | void
3956
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3957
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3509
3958
  let params = (paramsOrCallback ||
3510
3959
  {}) as Params$Resource$Projects$Locations$Clusters$Patch;
3511
3960
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3557,11 +4006,11 @@ export namespace alloydb_v1alpha {
3557
4006
  promote(
3558
4007
  params: Params$Resource$Projects$Locations$Clusters$Promote,
3559
4008
  options: StreamMethodOptions
3560
- ): GaxiosPromise<Readable>;
4009
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3561
4010
  promote(
3562
4011
  params?: Params$Resource$Projects$Locations$Clusters$Promote,
3563
4012
  options?: MethodOptions
3564
- ): GaxiosPromise<Schema$Operation>;
4013
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3565
4014
  promote(
3566
4015
  params: Params$Resource$Projects$Locations$Clusters$Promote,
3567
4016
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3590,7 +4039,10 @@ export namespace alloydb_v1alpha {
3590
4039
  callback?:
3591
4040
  | BodyResponseCallback<Schema$Operation>
3592
4041
  | BodyResponseCallback<Readable>
3593
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4042
+ ):
4043
+ | void
4044
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4045
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3594
4046
  let params = (paramsOrCallback ||
3595
4047
  {}) as Params$Resource$Projects$Locations$Clusters$Promote;
3596
4048
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3645,11 +4097,11 @@ export namespace alloydb_v1alpha {
3645
4097
  restore(
3646
4098
  params: Params$Resource$Projects$Locations$Clusters$Restore,
3647
4099
  options: StreamMethodOptions
3648
- ): GaxiosPromise<Readable>;
4100
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3649
4101
  restore(
3650
4102
  params?: Params$Resource$Projects$Locations$Clusters$Restore,
3651
4103
  options?: MethodOptions
3652
- ): GaxiosPromise<Schema$Operation>;
4104
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3653
4105
  restore(
3654
4106
  params: Params$Resource$Projects$Locations$Clusters$Restore,
3655
4107
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3678,7 +4130,10 @@ export namespace alloydb_v1alpha {
3678
4130
  callback?:
3679
4131
  | BodyResponseCallback<Schema$Operation>
3680
4132
  | BodyResponseCallback<Readable>
3681
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4133
+ ):
4134
+ | void
4135
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4136
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3682
4137
  let params = (paramsOrCallback ||
3683
4138
  {}) as Params$Resource$Projects$Locations$Clusters$Restore;
3684
4139
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3733,11 +4188,11 @@ export namespace alloydb_v1alpha {
3733
4188
  restoreFromCloudSQL(
3734
4189
  params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
3735
4190
  options: StreamMethodOptions
3736
- ): GaxiosPromise<Readable>;
4191
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3737
4192
  restoreFromCloudSQL(
3738
4193
  params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
3739
4194
  options?: MethodOptions
3740
- ): GaxiosPromise<Schema$Operation>;
4195
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3741
4196
  restoreFromCloudSQL(
3742
4197
  params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
3743
4198
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3766,7 +4221,10 @@ export namespace alloydb_v1alpha {
3766
4221
  callback?:
3767
4222
  | BodyResponseCallback<Schema$Operation>
3768
4223
  | BodyResponseCallback<Readable>
3769
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4224
+ ):
4225
+ | void
4226
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4227
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3770
4228
  let params = (paramsOrCallback ||
3771
4229
  {}) as Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql;
3772
4230
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3821,11 +4279,11 @@ export namespace alloydb_v1alpha {
3821
4279
  switchover(
3822
4280
  params: Params$Resource$Projects$Locations$Clusters$Switchover,
3823
4281
  options: StreamMethodOptions
3824
- ): GaxiosPromise<Readable>;
4282
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3825
4283
  switchover(
3826
4284
  params?: Params$Resource$Projects$Locations$Clusters$Switchover,
3827
4285
  options?: MethodOptions
3828
- ): GaxiosPromise<Schema$Operation>;
4286
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3829
4287
  switchover(
3830
4288
  params: Params$Resource$Projects$Locations$Clusters$Switchover,
3831
4289
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3854,7 +4312,10 @@ export namespace alloydb_v1alpha {
3854
4312
  callback?:
3855
4313
  | BodyResponseCallback<Schema$Operation>
3856
4314
  | BodyResponseCallback<Readable>
3857
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4315
+ ):
4316
+ | void
4317
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4318
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3858
4319
  let params = (paramsOrCallback ||
3859
4320
  {}) as Params$Resource$Projects$Locations$Clusters$Switchover;
3860
4321
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3909,11 +4370,11 @@ export namespace alloydb_v1alpha {
3909
4370
  upgrade(
3910
4371
  params: Params$Resource$Projects$Locations$Clusters$Upgrade,
3911
4372
  options: StreamMethodOptions
3912
- ): GaxiosPromise<Readable>;
4373
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3913
4374
  upgrade(
3914
4375
  params?: Params$Resource$Projects$Locations$Clusters$Upgrade,
3915
4376
  options?: MethodOptions
3916
- ): GaxiosPromise<Schema$Operation>;
4377
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3917
4378
  upgrade(
3918
4379
  params: Params$Resource$Projects$Locations$Clusters$Upgrade,
3919
4380
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3942,7 +4403,10 @@ export namespace alloydb_v1alpha {
3942
4403
  callback?:
3943
4404
  | BodyResponseCallback<Schema$Operation>
3944
4405
  | BodyResponseCallback<Readable>
3945
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4406
+ ):
4407
+ | void
4408
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4409
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3946
4410
  let params = (paramsOrCallback ||
3947
4411
  {}) as Params$Resource$Projects$Locations$Clusters$Upgrade;
3948
4412
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4081,6 +4545,18 @@ export namespace alloydb_v1alpha {
4081
4545
  */
4082
4546
  view?: string;
4083
4547
  }
4548
+ export interface Params$Resource$Projects$Locations$Clusters$Import
4549
+ extends StandardParameters {
4550
+ /**
4551
+ * Required. The resource name of the cluster.
4552
+ */
4553
+ name?: string;
4554
+
4555
+ /**
4556
+ * Request body metadata
4557
+ */
4558
+ requestBody?: Schema$ImportClusterRequest;
4559
+ }
4084
4560
  export interface Params$Resource$Projects$Locations$Clusters$List
4085
4561
  extends StandardParameters {
4086
4562
  /**
@@ -4210,11 +4686,11 @@ export namespace alloydb_v1alpha {
4210
4686
  create(
4211
4687
  params: Params$Resource$Projects$Locations$Clusters$Instances$Create,
4212
4688
  options: StreamMethodOptions
4213
- ): GaxiosPromise<Readable>;
4689
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4214
4690
  create(
4215
4691
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Create,
4216
4692
  options?: MethodOptions
4217
- ): GaxiosPromise<Schema$Operation>;
4693
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4218
4694
  create(
4219
4695
  params: Params$Resource$Projects$Locations$Clusters$Instances$Create,
4220
4696
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4243,7 +4719,10 @@ export namespace alloydb_v1alpha {
4243
4719
  callback?:
4244
4720
  | BodyResponseCallback<Schema$Operation>
4245
4721
  | BodyResponseCallback<Readable>
4246
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4722
+ ):
4723
+ | void
4724
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4725
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4247
4726
  let params = (paramsOrCallback ||
4248
4727
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Create;
4249
4728
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4299,11 +4778,11 @@ export namespace alloydb_v1alpha {
4299
4778
  createsecondary(
4300
4779
  params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary,
4301
4780
  options: StreamMethodOptions
4302
- ): GaxiosPromise<Readable>;
4781
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4303
4782
  createsecondary(
4304
4783
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary,
4305
4784
  options?: MethodOptions
4306
- ): GaxiosPromise<Schema$Operation>;
4785
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4307
4786
  createsecondary(
4308
4787
  params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary,
4309
4788
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4332,7 +4811,10 @@ export namespace alloydb_v1alpha {
4332
4811
  callback?:
4333
4812
  | BodyResponseCallback<Schema$Operation>
4334
4813
  | BodyResponseCallback<Readable>
4335
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4814
+ ):
4815
+ | void
4816
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4817
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4336
4818
  let params = (paramsOrCallback ||
4337
4819
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary;
4338
4820
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4387,11 +4869,11 @@ export namespace alloydb_v1alpha {
4387
4869
  delete(
4388
4870
  params: Params$Resource$Projects$Locations$Clusters$Instances$Delete,
4389
4871
  options: StreamMethodOptions
4390
- ): GaxiosPromise<Readable>;
4872
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4391
4873
  delete(
4392
4874
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Delete,
4393
4875
  options?: MethodOptions
4394
- ): GaxiosPromise<Schema$Operation>;
4876
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4395
4877
  delete(
4396
4878
  params: Params$Resource$Projects$Locations$Clusters$Instances$Delete,
4397
4879
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4420,7 +4902,10 @@ export namespace alloydb_v1alpha {
4420
4902
  callback?:
4421
4903
  | BodyResponseCallback<Schema$Operation>
4422
4904
  | BodyResponseCallback<Readable>
4423
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4905
+ ):
4906
+ | void
4907
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4908
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4424
4909
  let params = (paramsOrCallback ||
4425
4910
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Delete;
4426
4911
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4473,11 +4958,11 @@ export namespace alloydb_v1alpha {
4473
4958
  failover(
4474
4959
  params: Params$Resource$Projects$Locations$Clusters$Instances$Failover,
4475
4960
  options: StreamMethodOptions
4476
- ): GaxiosPromise<Readable>;
4961
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4477
4962
  failover(
4478
4963
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Failover,
4479
4964
  options?: MethodOptions
4480
- ): GaxiosPromise<Schema$Operation>;
4965
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4481
4966
  failover(
4482
4967
  params: Params$Resource$Projects$Locations$Clusters$Instances$Failover,
4483
4968
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4506,7 +4991,10 @@ export namespace alloydb_v1alpha {
4506
4991
  callback?:
4507
4992
  | BodyResponseCallback<Schema$Operation>
4508
4993
  | BodyResponseCallback<Readable>
4509
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4994
+ ):
4995
+ | void
4996
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4997
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4510
4998
  let params = (paramsOrCallback ||
4511
4999
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Failover;
4512
5000
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4562,11 +5050,11 @@ export namespace alloydb_v1alpha {
4562
5050
  get(
4563
5051
  params: Params$Resource$Projects$Locations$Clusters$Instances$Get,
4564
5052
  options: StreamMethodOptions
4565
- ): GaxiosPromise<Readable>;
5053
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4566
5054
  get(
4567
5055
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Get,
4568
5056
  options?: MethodOptions
4569
- ): GaxiosPromise<Schema$Instance>;
5057
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Instance>>;
4570
5058
  get(
4571
5059
  params: Params$Resource$Projects$Locations$Clusters$Instances$Get,
4572
5060
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4595,7 +5083,10 @@ export namespace alloydb_v1alpha {
4595
5083
  callback?:
4596
5084
  | BodyResponseCallback<Schema$Instance>
4597
5085
  | BodyResponseCallback<Readable>
4598
- ): void | GaxiosPromise<Schema$Instance> | GaxiosPromise<Readable> {
5086
+ ):
5087
+ | void
5088
+ | Promise<GaxiosResponseWithHTTP2<Schema$Instance>>
5089
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4599
5090
  let params = (paramsOrCallback ||
4600
5091
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Get;
4601
5092
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4648,11 +5139,11 @@ export namespace alloydb_v1alpha {
4648
5139
  getConnectionInfo(
4649
5140
  params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo,
4650
5141
  options: StreamMethodOptions
4651
- ): GaxiosPromise<Readable>;
5142
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4652
5143
  getConnectionInfo(
4653
5144
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo,
4654
5145
  options?: MethodOptions
4655
- ): GaxiosPromise<Schema$ConnectionInfo>;
5146
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ConnectionInfo>>;
4656
5147
  getConnectionInfo(
4657
5148
  params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo,
4658
5149
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4683,7 +5174,10 @@ export namespace alloydb_v1alpha {
4683
5174
  callback?:
4684
5175
  | BodyResponseCallback<Schema$ConnectionInfo>
4685
5176
  | BodyResponseCallback<Readable>
4686
- ): void | GaxiosPromise<Schema$ConnectionInfo> | GaxiosPromise<Readable> {
5177
+ ):
5178
+ | void
5179
+ | Promise<GaxiosResponseWithHTTP2<Schema$ConnectionInfo>>
5180
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4687
5181
  let params = (paramsOrCallback ||
4688
5182
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo;
4689
5183
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4739,11 +5233,11 @@ export namespace alloydb_v1alpha {
4739
5233
  injectFault(
4740
5234
  params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault,
4741
5235
  options: StreamMethodOptions
4742
- ): GaxiosPromise<Readable>;
5236
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4743
5237
  injectFault(
4744
5238
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault,
4745
5239
  options?: MethodOptions
4746
- ): GaxiosPromise<Schema$Operation>;
5240
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4747
5241
  injectFault(
4748
5242
  params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault,
4749
5243
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4772,7 +5266,10 @@ export namespace alloydb_v1alpha {
4772
5266
  callback?:
4773
5267
  | BodyResponseCallback<Schema$Operation>
4774
5268
  | BodyResponseCallback<Readable>
4775
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
5269
+ ):
5270
+ | void
5271
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
5272
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4776
5273
  let params = (paramsOrCallback ||
4777
5274
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Injectfault;
4778
5275
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4828,11 +5325,11 @@ export namespace alloydb_v1alpha {
4828
5325
  list(
4829
5326
  params: Params$Resource$Projects$Locations$Clusters$Instances$List,
4830
5327
  options: StreamMethodOptions
4831
- ): GaxiosPromise<Readable>;
5328
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4832
5329
  list(
4833
5330
  params?: Params$Resource$Projects$Locations$Clusters$Instances$List,
4834
5331
  options?: MethodOptions
4835
- ): GaxiosPromise<Schema$ListInstancesResponse>;
5332
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancesResponse>>;
4836
5333
  list(
4837
5334
  params: Params$Resource$Projects$Locations$Clusters$Instances$List,
4838
5335
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4865,8 +5362,8 @@ export namespace alloydb_v1alpha {
4865
5362
  | BodyResponseCallback<Readable>
4866
5363
  ):
4867
5364
  | void
4868
- | GaxiosPromise<Schema$ListInstancesResponse>
4869
- | GaxiosPromise<Readable> {
5365
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListInstancesResponse>>
5366
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4870
5367
  let params = (paramsOrCallback ||
4871
5368
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$List;
4872
5369
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4922,11 +5419,11 @@ export namespace alloydb_v1alpha {
4922
5419
  patch(
4923
5420
  params: Params$Resource$Projects$Locations$Clusters$Instances$Patch,
4924
5421
  options: StreamMethodOptions
4925
- ): GaxiosPromise<Readable>;
5422
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4926
5423
  patch(
4927
5424
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Patch,
4928
5425
  options?: MethodOptions
4929
- ): GaxiosPromise<Schema$Operation>;
5426
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4930
5427
  patch(
4931
5428
  params: Params$Resource$Projects$Locations$Clusters$Instances$Patch,
4932
5429
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4955,7 +5452,10 @@ export namespace alloydb_v1alpha {
4955
5452
  callback?:
4956
5453
  | BodyResponseCallback<Schema$Operation>
4957
5454
  | BodyResponseCallback<Readable>
4958
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
5455
+ ):
5456
+ | void
5457
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
5458
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4959
5459
  let params = (paramsOrCallback ||
4960
5460
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Patch;
4961
5461
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5008,11 +5508,11 @@ export namespace alloydb_v1alpha {
5008
5508
  restart(
5009
5509
  params: Params$Resource$Projects$Locations$Clusters$Instances$Restart,
5010
5510
  options: StreamMethodOptions
5011
- ): GaxiosPromise<Readable>;
5511
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5012
5512
  restart(
5013
5513
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Restart,
5014
5514
  options?: MethodOptions
5015
- ): GaxiosPromise<Schema$Operation>;
5515
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5016
5516
  restart(
5017
5517
  params: Params$Resource$Projects$Locations$Clusters$Instances$Restart,
5018
5518
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5041,7 +5541,10 @@ export namespace alloydb_v1alpha {
5041
5541
  callback?:
5042
5542
  | BodyResponseCallback<Schema$Operation>
5043
5543
  | BodyResponseCallback<Readable>
5044
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
5544
+ ):
5545
+ | void
5546
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
5547
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5045
5548
  let params = (paramsOrCallback ||
5046
5549
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Restart;
5047
5550
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5281,11 +5784,11 @@ export namespace alloydb_v1alpha {
5281
5784
  create(
5282
5785
  params: Params$Resource$Projects$Locations$Clusters$Users$Create,
5283
5786
  options: StreamMethodOptions
5284
- ): GaxiosPromise<Readable>;
5787
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5285
5788
  create(
5286
5789
  params?: Params$Resource$Projects$Locations$Clusters$Users$Create,
5287
5790
  options?: MethodOptions
5288
- ): GaxiosPromise<Schema$User>;
5791
+ ): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
5289
5792
  create(
5290
5793
  params: Params$Resource$Projects$Locations$Clusters$Users$Create,
5291
5794
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5314,7 +5817,10 @@ export namespace alloydb_v1alpha {
5314
5817
  callback?:
5315
5818
  | BodyResponseCallback<Schema$User>
5316
5819
  | BodyResponseCallback<Readable>
5317
- ): void | GaxiosPromise<Schema$User> | GaxiosPromise<Readable> {
5820
+ ):
5821
+ | void
5822
+ | Promise<GaxiosResponseWithHTTP2<Schema$User>>
5823
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5318
5824
  let params = (paramsOrCallback ||
5319
5825
  {}) as Params$Resource$Projects$Locations$Clusters$Users$Create;
5320
5826
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5369,11 +5875,11 @@ export namespace alloydb_v1alpha {
5369
5875
  delete(
5370
5876
  params: Params$Resource$Projects$Locations$Clusters$Users$Delete,
5371
5877
  options: StreamMethodOptions
5372
- ): GaxiosPromise<Readable>;
5878
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5373
5879
  delete(
5374
5880
  params?: Params$Resource$Projects$Locations$Clusters$Users$Delete,
5375
5881
  options?: MethodOptions
5376
- ): GaxiosPromise<Schema$Empty>;
5882
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5377
5883
  delete(
5378
5884
  params: Params$Resource$Projects$Locations$Clusters$Users$Delete,
5379
5885
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5402,7 +5908,10 @@ export namespace alloydb_v1alpha {
5402
5908
  callback?:
5403
5909
  | BodyResponseCallback<Schema$Empty>
5404
5910
  | BodyResponseCallback<Readable>
5405
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
5911
+ ):
5912
+ | void
5913
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
5914
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5406
5915
  let params = (paramsOrCallback ||
5407
5916
  {}) as Params$Resource$Projects$Locations$Clusters$Users$Delete;
5408
5917
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5454,11 +5963,11 @@ export namespace alloydb_v1alpha {
5454
5963
  get(
5455
5964
  params: Params$Resource$Projects$Locations$Clusters$Users$Get,
5456
5965
  options: StreamMethodOptions
5457
- ): GaxiosPromise<Readable>;
5966
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5458
5967
  get(
5459
5968
  params?: Params$Resource$Projects$Locations$Clusters$Users$Get,
5460
5969
  options?: MethodOptions
5461
- ): GaxiosPromise<Schema$User>;
5970
+ ): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
5462
5971
  get(
5463
5972
  params: Params$Resource$Projects$Locations$Clusters$Users$Get,
5464
5973
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5487,7 +5996,10 @@ export namespace alloydb_v1alpha {
5487
5996
  callback?:
5488
5997
  | BodyResponseCallback<Schema$User>
5489
5998
  | BodyResponseCallback<Readable>
5490
- ): void | GaxiosPromise<Schema$User> | GaxiosPromise<Readable> {
5999
+ ):
6000
+ | void
6001
+ | Promise<GaxiosResponseWithHTTP2<Schema$User>>
6002
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5491
6003
  let params = (paramsOrCallback ||
5492
6004
  {}) as Params$Resource$Projects$Locations$Clusters$Users$Get;
5493
6005
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5539,11 +6051,11 @@ export namespace alloydb_v1alpha {
5539
6051
  list(
5540
6052
  params: Params$Resource$Projects$Locations$Clusters$Users$List,
5541
6053
  options: StreamMethodOptions
5542
- ): GaxiosPromise<Readable>;
6054
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5543
6055
  list(
5544
6056
  params?: Params$Resource$Projects$Locations$Clusters$Users$List,
5545
6057
  options?: MethodOptions
5546
- ): GaxiosPromise<Schema$ListUsersResponse>;
6058
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListUsersResponse>>;
5547
6059
  list(
5548
6060
  params: Params$Resource$Projects$Locations$Clusters$Users$List,
5549
6061
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5574,8 +6086,8 @@ export namespace alloydb_v1alpha {
5574
6086
  | BodyResponseCallback<Readable>
5575
6087
  ):
5576
6088
  | void
5577
- | GaxiosPromise<Schema$ListUsersResponse>
5578
- | GaxiosPromise<Readable> {
6089
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListUsersResponse>>
6090
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5579
6091
  let params = (paramsOrCallback ||
5580
6092
  {}) as Params$Resource$Projects$Locations$Clusters$Users$List;
5581
6093
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5630,11 +6142,11 @@ export namespace alloydb_v1alpha {
5630
6142
  patch(
5631
6143
  params: Params$Resource$Projects$Locations$Clusters$Users$Patch,
5632
6144
  options: StreamMethodOptions
5633
- ): GaxiosPromise<Readable>;
6145
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5634
6146
  patch(
5635
6147
  params?: Params$Resource$Projects$Locations$Clusters$Users$Patch,
5636
6148
  options?: MethodOptions
5637
- ): GaxiosPromise<Schema$User>;
6149
+ ): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
5638
6150
  patch(
5639
6151
  params: Params$Resource$Projects$Locations$Clusters$Users$Patch,
5640
6152
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5663,7 +6175,10 @@ export namespace alloydb_v1alpha {
5663
6175
  callback?:
5664
6176
  | BodyResponseCallback<Schema$User>
5665
6177
  | BodyResponseCallback<Readable>
5666
- ): void | GaxiosPromise<Schema$User> | GaxiosPromise<Readable> {
6178
+ ):
6179
+ | void
6180
+ | Promise<GaxiosResponseWithHTTP2<Schema$User>>
6181
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5667
6182
  let params = (paramsOrCallback ||
5668
6183
  {}) as Params$Resource$Projects$Locations$Clusters$Users$Patch;
5669
6184
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5820,11 +6335,11 @@ export namespace alloydb_v1alpha {
5820
6335
  cancel(
5821
6336
  params: Params$Resource$Projects$Locations$Operations$Cancel,
5822
6337
  options: StreamMethodOptions
5823
- ): GaxiosPromise<Readable>;
6338
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5824
6339
  cancel(
5825
6340
  params?: Params$Resource$Projects$Locations$Operations$Cancel,
5826
6341
  options?: MethodOptions
5827
- ): GaxiosPromise<Schema$Empty>;
6342
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5828
6343
  cancel(
5829
6344
  params: Params$Resource$Projects$Locations$Operations$Cancel,
5830
6345
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5853,7 +6368,10 @@ export namespace alloydb_v1alpha {
5853
6368
  callback?:
5854
6369
  | BodyResponseCallback<Schema$Empty>
5855
6370
  | BodyResponseCallback<Readable>
5856
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
6371
+ ):
6372
+ | void
6373
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
6374
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5857
6375
  let params = (paramsOrCallback ||
5858
6376
  {}) as Params$Resource$Projects$Locations$Operations$Cancel;
5859
6377
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5908,11 +6426,11 @@ export namespace alloydb_v1alpha {
5908
6426
  delete(
5909
6427
  params: Params$Resource$Projects$Locations$Operations$Delete,
5910
6428
  options: StreamMethodOptions
5911
- ): GaxiosPromise<Readable>;
6429
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5912
6430
  delete(
5913
6431
  params?: Params$Resource$Projects$Locations$Operations$Delete,
5914
6432
  options?: MethodOptions
5915
- ): GaxiosPromise<Schema$Empty>;
6433
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5916
6434
  delete(
5917
6435
  params: Params$Resource$Projects$Locations$Operations$Delete,
5918
6436
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5941,7 +6459,10 @@ export namespace alloydb_v1alpha {
5941
6459
  callback?:
5942
6460
  | BodyResponseCallback<Schema$Empty>
5943
6461
  | BodyResponseCallback<Readable>
5944
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
6462
+ ):
6463
+ | void
6464
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
6465
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5945
6466
  let params = (paramsOrCallback ||
5946
6467
  {}) as Params$Resource$Projects$Locations$Operations$Delete;
5947
6468
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5993,11 +6514,11 @@ export namespace alloydb_v1alpha {
5993
6514
  get(
5994
6515
  params: Params$Resource$Projects$Locations$Operations$Get,
5995
6516
  options: StreamMethodOptions
5996
- ): GaxiosPromise<Readable>;
6517
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5997
6518
  get(
5998
6519
  params?: Params$Resource$Projects$Locations$Operations$Get,
5999
6520
  options?: MethodOptions
6000
- ): GaxiosPromise<Schema$Operation>;
6521
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6001
6522
  get(
6002
6523
  params: Params$Resource$Projects$Locations$Operations$Get,
6003
6524
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6026,7 +6547,10 @@ export namespace alloydb_v1alpha {
6026
6547
  callback?:
6027
6548
  | BodyResponseCallback<Schema$Operation>
6028
6549
  | BodyResponseCallback<Readable>
6029
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
6550
+ ):
6551
+ | void
6552
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
6553
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6030
6554
  let params = (paramsOrCallback ||
6031
6555
  {}) as Params$Resource$Projects$Locations$Operations$Get;
6032
6556
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6078,11 +6602,11 @@ export namespace alloydb_v1alpha {
6078
6602
  list(
6079
6603
  params: Params$Resource$Projects$Locations$Operations$List,
6080
6604
  options: StreamMethodOptions
6081
- ): GaxiosPromise<Readable>;
6605
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6082
6606
  list(
6083
6607
  params?: Params$Resource$Projects$Locations$Operations$List,
6084
6608
  options?: MethodOptions
6085
- ): GaxiosPromise<Schema$ListOperationsResponse>;
6609
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
6086
6610
  list(
6087
6611
  params: Params$Resource$Projects$Locations$Operations$List,
6088
6612
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6115,8 +6639,8 @@ export namespace alloydb_v1alpha {
6115
6639
  | BodyResponseCallback<Readable>
6116
6640
  ):
6117
6641
  | void
6118
- | GaxiosPromise<Schema$ListOperationsResponse>
6119
- | GaxiosPromise<Readable> {
6642
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>
6643
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6120
6644
  let params = (paramsOrCallback ||
6121
6645
  {}) as Params$Resource$Projects$Locations$Operations$List;
6122
6646
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6224,11 +6748,13 @@ export namespace alloydb_v1alpha {
6224
6748
  list(
6225
6749
  params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List,
6226
6750
  options: StreamMethodOptions
6227
- ): GaxiosPromise<Readable>;
6751
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6228
6752
  list(
6229
6753
  params?: Params$Resource$Projects$Locations$Supporteddatabaseflags$List,
6230
6754
  options?: MethodOptions
6231
- ): GaxiosPromise<Schema$ListSupportedDatabaseFlagsResponse>;
6755
+ ): Promise<
6756
+ GaxiosResponseWithHTTP2<Schema$ListSupportedDatabaseFlagsResponse>
6757
+ >;
6232
6758
  list(
6233
6759
  params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List,
6234
6760
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6263,8 +6789,10 @@ export namespace alloydb_v1alpha {
6263
6789
  | BodyResponseCallback<Readable>
6264
6790
  ):
6265
6791
  | void
6266
- | GaxiosPromise<Schema$ListSupportedDatabaseFlagsResponse>
6267
- | GaxiosPromise<Readable> {
6792
+ | Promise<
6793
+ GaxiosResponseWithHTTP2<Schema$ListSupportedDatabaseFlagsResponse>
6794
+ >
6795
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6268
6796
  let params = (paramsOrCallback ||
6269
6797
  {}) as Params$Resource$Projects$Locations$Supporteddatabaseflags$List;
6270
6798
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6325,5 +6853,9 @@ export namespace alloydb_v1alpha {
6325
6853
  * 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
6854
  */
6327
6855
  parent?: string;
6856
+ /**
6857
+ * Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
6858
+ */
6859
+ scope?: string;
6328
6860
  }
6329
6861
  }