@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/v1beta.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_v1beta {
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_v1beta {
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
  */
@@ -263,7 +267,7 @@ export namespace alloydb_v1beta {
263
267
  */
264
268
  uid?: string | null;
265
269
  /**
266
- * Output only. Update time stamp
270
+ * 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.
267
271
  */
268
272
  updateTime?: string | null;
269
273
  }
@@ -384,7 +388,7 @@ export namespace alloydb_v1beta {
384
388
  */
385
389
  etag?: string | null;
386
390
  /**
387
- * Optional. Configuration parameters related to the Gemini in Databases add-on.
391
+ * Optional. Deprecated and unused. This field will be removed in the near future.
388
392
  */
389
393
  geminiConfig?: Schema$GeminiClusterConfig;
390
394
  /**
@@ -523,6 +527,59 @@ export namespace alloydb_v1beta {
523
527
  */
524
528
  publicIpAddress?: string | null;
525
529
  }
530
+ /**
531
+ * Configuration for Managed Connection Pool (MCP).
532
+ */
533
+ export interface Schema$ConnectionPoolConfig {
534
+ /**
535
+ * Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to 20.
536
+ */
537
+ defaultPoolSize?: string | null;
538
+ /**
539
+ * Optional. Deprecated; Prefer 'enabled' as this will be removed soon.
540
+ */
541
+ enable?: boolean | null;
542
+ /**
543
+ * Optional. Whether to enable Managed Connection Pool (MCP).
544
+ */
545
+ enabled?: boolean | null;
546
+ /**
547
+ * Optional. Connection Pool flags, as a list of "key": "value" pairs.
548
+ */
549
+ flags?: {[key: string]: string} | null;
550
+ /**
551
+ * Optional. Deprecated. Use 'flags' instead. The list of startup parameters to ignore. Defaults to ["extra_float_digits"]
552
+ */
553
+ ignoreStartupParameters?: string[] | null;
554
+ /**
555
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of client connections allowed.
556
+ */
557
+ maxClientConn?: string | null;
558
+ /**
559
+ * 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.
560
+ */
561
+ maxPreparedStatements?: string | null;
562
+ /**
563
+ * Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to 0.
564
+ */
565
+ minPoolSize?: string | null;
566
+ /**
567
+ * Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `POOL_MODE_TRANSACTION`.
568
+ */
569
+ poolMode?: string | null;
570
+ /**
571
+ * 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.
572
+ */
573
+ queryWaitTimeout?: string | null;
574
+ /**
575
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a server is allowed to be idle before it is disconnected. 0 disables.
576
+ */
577
+ serverIdleTimeout?: string | null;
578
+ /**
579
+ * 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.
580
+ */
581
+ statsUsers?: string[] | null;
582
+ }
526
583
  /**
527
584
  * ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
528
585
  */
@@ -532,7 +589,7 @@ export namespace alloydb_v1beta {
532
589
  */
533
590
  enabled?: boolean | null;
534
591
  /**
535
- * 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.
592
+ * 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.
536
593
  */
537
594
  encryptionConfig?: Schema$EncryptionConfig;
538
595
  /**
@@ -595,6 +652,48 @@ export namespace alloydb_v1beta {
595
652
  */
596
653
  selectQuery?: string | null;
597
654
  }
655
+ /**
656
+ * Options for importing data in CSV format.
657
+ */
658
+ export interface Schema$CsvImportOptions {
659
+ /**
660
+ * Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
661
+ */
662
+ columns?: string[] | null;
663
+ /**
664
+ * 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.
665
+ */
666
+ escapeCharacter?: string | null;
667
+ /**
668
+ * 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.
669
+ */
670
+ fieldDelimiter?: string | null;
671
+ /**
672
+ * 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.
673
+ */
674
+ quoteCharacter?: string | null;
675
+ /**
676
+ * Required. The database table to import CSV file into.
677
+ */
678
+ table?: string | null;
679
+ }
680
+ /**
681
+ * 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.
682
+ */
683
+ export interface Schema$DenyMaintenancePeriod {
684
+ /**
685
+ * 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
686
+ */
687
+ endDate?: Schema$GoogleTypeDate;
688
+ /**
689
+ * 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
690
+ */
691
+ startDate?: Schema$GoogleTypeDate;
692
+ /**
693
+ * 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
694
+ */
695
+ time?: Schema$GoogleTypeTimeOfDay;
696
+ }
598
697
  /**
599
698
  * 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); \}
600
699
  */
@@ -655,6 +754,15 @@ export namespace alloydb_v1beta {
655
754
  */
656
755
  validateOnly?: boolean | null;
657
756
  }
757
+ /**
758
+ * Instance level configuration parameters related to the Gemini Cloud Assist product.
759
+ */
760
+ export interface Schema$GCAInstanceConfig {
761
+ /**
762
+ * Output only. Represents the GCA entitlement state of the instance.
763
+ */
764
+ gcaEntitlement?: string | null;
765
+ }
658
766
  /**
659
767
  * Destination for Export. Export will be done to cloud storage.
660
768
  */
@@ -665,20 +773,20 @@ export namespace alloydb_v1beta {
665
773
  uri?: string | null;
666
774
  }
667
775
  /**
668
- * Cluster level configuration parameters related to the Gemini in Databases add-on.
776
+ * Deprecated and unused. This field will be removed in the near future.
669
777
  */
670
778
  export interface Schema$GeminiClusterConfig {
671
779
  /**
672
- * 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.
780
+ * Output only. Deprecated and unused. This field will be removed in the near future.
673
781
  */
674
782
  entitled?: boolean | null;
675
783
  }
676
784
  /**
677
- * Instance level configuration parameters related to the Gemini in Databases add-on.
785
+ * Deprecated and unused. This field will be removed in the near future.
678
786
  */
679
787
  export interface Schema$GeminiInstanceConfig {
680
788
  /**
681
- * 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.
789
+ * Output only. Deprecated and unused. This field will be removed in the near future.
682
790
  */
683
791
  entitled?: boolean | null;
684
792
  }
@@ -720,6 +828,23 @@ export namespace alloydb_v1beta {
720
828
  */
721
829
  name?: string | null;
722
830
  }
831
+ /**
832
+ * 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
833
+ */
834
+ export interface Schema$GoogleTypeDate {
835
+ /**
836
+ * 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.
837
+ */
838
+ day?: number | null;
839
+ /**
840
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
841
+ */
842
+ month?: number | null;
843
+ /**
844
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
845
+ */
846
+ year?: number | null;
847
+ }
723
848
  /**
724
849
  * 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`.
725
850
  */
@@ -741,6 +866,31 @@ export namespace alloydb_v1beta {
741
866
  */
742
867
  seconds?: number | null;
743
868
  }
869
+ /**
870
+ * Import cluster request.
871
+ */
872
+ export interface Schema$ImportClusterRequest {
873
+ /**
874
+ * Options for importing data in CSV format.
875
+ */
876
+ csvImportOptions?: Schema$CsvImportOptions;
877
+ /**
878
+ * 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.
879
+ */
880
+ database?: string | null;
881
+ /**
882
+ * 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`.
883
+ */
884
+ gcsUri?: string | null;
885
+ /**
886
+ * Options for importing data in SQL format.
887
+ */
888
+ sqlImportOptions?: Schema$SqlImportOptions;
889
+ /**
890
+ * 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.
891
+ */
892
+ user?: string | null;
893
+ }
744
894
  /**
745
895
  * Message for triggering fault injection on an instance
746
896
  */
@@ -762,6 +912,10 @@ export namespace alloydb_v1beta {
762
912
  * An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.
763
913
  */
764
914
  export interface Schema$Instance {
915
+ /**
916
+ * 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.
917
+ */
918
+ activationPolicy?: string | null;
765
919
  /**
766
920
  * Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
767
921
  */
@@ -774,6 +928,10 @@ export namespace alloydb_v1beta {
774
928
  * Optional. Client connection specific configurations
775
929
  */
776
930
  clientConnectionConfig?: Schema$ClientConnectionConfig;
931
+ /**
932
+ * Optional. The configuration for Managed Connection Pool (MCP).
933
+ */
934
+ connectionPoolConfig?: Schema$ConnectionPoolConfig;
777
935
  /**
778
936
  * Output only. Create time stamp
779
937
  */
@@ -794,12 +952,16 @@ export namespace alloydb_v1beta {
794
952
  * For Resource freshness validation (https://google.aip.dev/154)
795
953
  */
796
954
  etag?: string | null;
955
+ /**
956
+ * Output only. Configuration parameters related to Gemini Cloud Assist.
957
+ */
958
+ gcaConfig?: Schema$GCAInstanceConfig;
797
959
  /**
798
960
  * 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.
799
961
  */
800
962
  gceZone?: string | null;
801
963
  /**
802
- * Optional. Configuration parameters related to the Gemini in Databases add-on.
964
+ * Optional. Deprecated and unused. This field will be removed in the near future.
803
965
  */
804
966
  geminiConfig?: Schema$GeminiInstanceConfig;
805
967
  /**
@@ -899,6 +1061,10 @@ export namespace alloydb_v1beta {
899
1061
  * Optional. Enabling public ip for the instance.
900
1062
  */
901
1063
  enablePublicIp?: boolean | null;
1064
+ /**
1065
+ * 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\}`.
1066
+ */
1067
+ network?: string | null;
902
1068
  }
903
1069
  /**
904
1070
  * Details regarding the upgrade of instaces associated with a cluster.
@@ -1032,6 +1198,10 @@ export namespace alloydb_v1beta {
1032
1198
  * The number of CPU's in the VM instance.
1033
1199
  */
1034
1200
  cpuCount?: number | null;
1201
+ /**
1202
+ * 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.
1203
+ */
1204
+ machineType?: string | null;
1035
1205
  }
1036
1206
  /**
1037
1207
  * 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.
@@ -1046,6 +1216,10 @@ export namespace alloydb_v1beta {
1046
1216
  * MaintenanceUpdatePolicy defines the policy for system updates.
1047
1217
  */
1048
1218
  export interface Schema$MaintenanceUpdatePolicy {
1219
+ /**
1220
+ * Periods to deny maintenance. Currently limited to 1.
1221
+ */
1222
+ denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
1049
1223
  /**
1050
1224
  * Preferred windows to perform maintenance. Currently limited to 1.
1051
1225
  */
@@ -1095,7 +1269,7 @@ export namespace alloydb_v1beta {
1095
1269
  network?: string | null;
1096
1270
  }
1097
1271
  /**
1098
- * 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.
1272
+ * 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.
1099
1273
  */
1100
1274
  export interface Schema$Node {
1101
1275
  /**
@@ -1119,6 +1293,10 @@ export namespace alloydb_v1beta {
1119
1293
  * Observability Instance specific configuration.
1120
1294
  */
1121
1295
  export interface Schema$ObservabilityInstanceConfig {
1296
+ /**
1297
+ * Whether assistive experiences are enabled for this AlloyDB instance.
1298
+ */
1299
+ assistiveExperiencesEnabled?: boolean | null;
1122
1300
  /**
1123
1301
  * Observability feature status for an instance. This flag is turned "off" by default.
1124
1302
  */
@@ -1143,16 +1321,12 @@ export namespace alloydb_v1beta {
1143
1321
  * Track actively running queries on the instance. If not set, this flag is "off" by default.
1144
1322
  */
1145
1323
  trackActiveQueries?: boolean | null;
1146
- /**
1147
- * Track client address for an instance. If not set, default value is "off".
1148
- */
1149
- trackClientAddress?: boolean | null;
1150
1324
  /**
1151
1325
  * 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.
1152
1326
  */
1153
1327
  trackWaitEvents?: boolean | null;
1154
1328
  /**
1155
- * 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.
1329
+ * 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.
1156
1330
  */
1157
1331
  trackWaitEventTypes?: boolean | null;
1158
1332
  }
@@ -1209,6 +1383,10 @@ export namespace alloydb_v1beta {
1209
1383
  * Output only. Server-defined resource path for the target of the operation.
1210
1384
  */
1211
1385
  target?: string | null;
1386
+ /**
1387
+ * Output only. UpgradeClusterStatus related metadata.
1388
+ */
1389
+ upgradeClusterStatus?: Schema$UpgradeClusterStatus;
1212
1390
  /**
1213
1391
  * Output only. Name of the verb executed by the operation.
1214
1392
  */
@@ -1240,6 +1418,31 @@ export namespace alloydb_v1beta {
1240
1418
  */
1241
1419
  validateOnly?: boolean | null;
1242
1420
  }
1421
+ /**
1422
+ * Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.
1423
+ */
1424
+ export interface Schema$PscAutoConnectionConfig {
1425
+ /**
1426
+ * 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.
1427
+ */
1428
+ consumerNetwork?: string | null;
1429
+ /**
1430
+ * 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.
1431
+ */
1432
+ consumerNetworkStatus?: string | null;
1433
+ /**
1434
+ * The consumer project to which the PSC service automation endpoint will be created.
1435
+ */
1436
+ consumerProject?: string | null;
1437
+ /**
1438
+ * Output only. The IP address of the PSC service automation endpoint.
1439
+ */
1440
+ ipAddress?: string | null;
1441
+ /**
1442
+ * 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.
1443
+ */
1444
+ status?: string | null;
1445
+ }
1243
1446
  /**
1244
1447
  * PscConfig contains PSC related configuration at a cluster level.
1245
1448
  */
@@ -1248,6 +1451,10 @@ export namespace alloydb_v1beta {
1248
1451
  * Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
1249
1452
  */
1250
1453
  pscEnabled?: boolean | null;
1454
+ /**
1455
+ * Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.
1456
+ */
1457
+ serviceOwnedProjectNumber?: string | null;
1251
1458
  }
1252
1459
  /**
1253
1460
  * PscInstanceConfig contains PSC related configuration at an instance level.
@@ -1257,15 +1464,32 @@ export namespace alloydb_v1beta {
1257
1464
  * Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
1258
1465
  */
1259
1466
  allowedConsumerProjects?: string[] | null;
1467
+ /**
1468
+ * Optional. Configurations for setting up PSC service automation.
1469
+ */
1470
+ pscAutoConnections?: Schema$PscAutoConnectionConfig[];
1260
1471
  /**
1261
1472
  * Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
1262
1473
  */
1263
1474
  pscDnsName?: string | null;
1475
+ /**
1476
+ * Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.
1477
+ */
1478
+ pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
1264
1479
  /**
1265
1480
  * Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of `projects//regions//serviceAttachments/`
1266
1481
  */
1267
1482
  serviceAttachmentLink?: string | null;
1268
1483
  }
1484
+ /**
1485
+ * Configuration for setting up a PSC interface to enable outbound connectivity.
1486
+ */
1487
+ export interface Schema$PscInterfaceConfig {
1488
+ /**
1489
+ * The network attachment resource created in the consumer network to which the PSC interface will be linked. This is of the format: "projects/${CONSUMER_PROJECT\}/regions/${REGION\}/networkAttachments/${NETWORK_ATTACHMENT_NAME\}". The network attachment must be in the same region as the instance.
1490
+ */
1491
+ networkAttachmentResource?: string | null;
1492
+ }
1269
1493
  /**
1270
1494
  * A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)
1271
1495
  */
@@ -1318,6 +1542,15 @@ export namespace alloydb_v1beta {
1318
1542
  */
1319
1543
  nodeCount?: number | null;
1320
1544
  }
1545
+ /**
1546
+ * Read pool instances upgrade specific status.
1547
+ */
1548
+ export interface Schema$ReadPoolInstancesUpgradeStageStatus {
1549
+ /**
1550
+ * Read pool instances upgrade statistics.
1551
+ */
1552
+ upgradeStats?: Schema$Stats;
1553
+ }
1321
1554
  export interface Schema$RestartInstanceRequest {
1322
1555
  /**
1323
1556
  * Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
@@ -1333,7 +1566,7 @@ export namespace alloydb_v1beta {
1333
1566
  validateOnly?: boolean | null;
1334
1567
  }
1335
1568
  /**
1336
- * Message for restoring a Cluster from a backup or another cluster at a given point in time.
1569
+ * Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
1337
1570
  */
1338
1571
  export interface Schema$RestoreClusterRequest {
1339
1572
  /**
@@ -1408,6 +1641,10 @@ export namespace alloydb_v1beta {
1408
1641
  */
1409
1642
  tables?: string[] | null;
1410
1643
  }
1644
+ /**
1645
+ * Options for importing data in SQL format.
1646
+ */
1647
+ export interface Schema$SqlImportOptions {}
1411
1648
  /**
1412
1649
  * SSL configuration.
1413
1650
  */
@@ -1438,6 +1675,44 @@ export namespace alloydb_v1beta {
1438
1675
  */
1439
1676
  status?: string | null;
1440
1677
  }
1678
+ /**
1679
+ * Status of an upgrade stage.
1680
+ */
1681
+ export interface Schema$StageStatus {
1682
+ /**
1683
+ * Read pool instances upgrade metadata.
1684
+ */
1685
+ readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
1686
+ /**
1687
+ * Upgrade stage.
1688
+ */
1689
+ stage?: string | null;
1690
+ /**
1691
+ * State of this stage.
1692
+ */
1693
+ state?: string | null;
1694
+ }
1695
+ /**
1696
+ * Upgrade stats for read pool instances.
1697
+ */
1698
+ export interface Schema$Stats {
1699
+ /**
1700
+ * Number of read pool instances which failed to upgrade.
1701
+ */
1702
+ failed?: number | null;
1703
+ /**
1704
+ * Number of read pool instances for which upgrade has not started.
1705
+ */
1706
+ notStarted?: number | null;
1707
+ /**
1708
+ * Number of read pool instances undergoing upgrade.
1709
+ */
1710
+ ongoing?: number | null;
1711
+ /**
1712
+ * Number of read pool instances successfully upgraded.
1713
+ */
1714
+ success?: number | null;
1715
+ }
1441
1716
  /**
1442
1717
  * 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).
1443
1718
  */
@@ -1635,7 +1910,7 @@ export namespace alloydb_v1beta {
1635
1910
  uniqueId?: string | null;
1636
1911
  }
1637
1912
  /**
1638
- * Common model for database resource instance metadata. Next ID: 23
1913
+ * Common model for database resource instance metadata. Next ID: 25
1639
1914
  */
1640
1915
  export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
1641
1916
  /**
@@ -1674,6 +1949,10 @@ export namespace alloydb_v1beta {
1674
1949
  * 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.
1675
1950
  */
1676
1951
  expectedState?: string | null;
1952
+ /**
1953
+ * GCBDR configuration for the resource.
1954
+ */
1955
+ gcbdrConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration;
1677
1956
  /**
1678
1957
  * Required. Unique identifier for a Database resource
1679
1958
  */
@@ -1710,6 +1989,10 @@ export namespace alloydb_v1beta {
1710
1989
  * 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
1711
1990
  */
1712
1991
  resourceName?: string | null;
1992
+ /**
1993
+ * Optional. Suspension reason for the resource.
1994
+ */
1995
+ suspensionReason?: string | null;
1713
1996
  /**
1714
1997
  * Optional. Tags associated with this resources.
1715
1998
  */
@@ -1773,6 +2056,15 @@ export namespace alloydb_v1beta {
1773
2056
  */
1774
2057
  type?: string | null;
1775
2058
  }
2059
+ /**
2060
+ * GCBDR Configuration for the resource.
2061
+ */
2062
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration {
2063
+ /**
2064
+ * Whether the resource is managed by GCBDR.
2065
+ */
2066
+ gcbdrManaged?: boolean | null;
2067
+ }
1776
2068
  /**
1777
2069
  * 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.
1778
2070
  */
@@ -1785,6 +2077,10 @@ export namespace alloydb_v1beta {
1785
2077
  * Information about the last backup attempt for this database
1786
2078
  */
1787
2079
  backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
2080
+ /**
2081
+ * Whether deletion protection is enabled for this internal resource.
2082
+ */
2083
+ isDeletionProtectionEnabled?: boolean | null;
1788
2084
  product?: Schema$StorageDatabasecenterProtoCommonProduct;
1789
2085
  resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
1790
2086
  /**
@@ -1797,11 +2093,11 @@ export namespace alloydb_v1beta {
1797
2093
  */
1798
2094
  export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
1799
2095
  /**
1800
- * The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2096
+ * The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.
1801
2097
  */
1802
2098
  cpuCount?: number | null;
1803
2099
  /**
1804
- * Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2100
+ * Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
1805
2101
  */
1806
2102
  memorySizeInBytes?: string | null;
1807
2103
  /**
@@ -1809,7 +2105,7 @@ export namespace alloydb_v1beta {
1809
2105
  */
1810
2106
  shardCount?: number | null;
1811
2107
  /**
1812
- * Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2108
+ * Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.
1813
2109
  */
1814
2110
  vcpuCount?: number | null;
1815
2111
  }
@@ -1947,10 +2243,22 @@ export namespace alloydb_v1beta {
1947
2243
  * 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.
1948
2244
  */
1949
2245
  name?: string | null;
2246
+ /**
2247
+ * The recommended value for an INTEGER flag.
2248
+ */
2249
+ recommendedIntegerValue?: string | null;
2250
+ /**
2251
+ * The recommended value for a STRING flag.
2252
+ */
2253
+ recommendedStringValue?: string | null;
1950
2254
  /**
1951
2255
  * 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).
1952
2256
  */
1953
2257
  requiresDbRestart?: boolean | null;
2258
+ /**
2259
+ * The scope of the flag.
2260
+ */
2261
+ scope?: string | null;
1954
2262
  /**
1955
2263
  * Restriction on STRING type value.
1956
2264
  */
@@ -2051,6 +2359,31 @@ export namespace alloydb_v1beta {
2051
2359
  */
2052
2360
  status?: string | null;
2053
2361
  }
2362
+ /**
2363
+ * Message for current status of the Major Version Upgrade operation.
2364
+ */
2365
+ export interface Schema$UpgradeClusterStatus {
2366
+ /**
2367
+ * Whether the operation is cancellable.
2368
+ */
2369
+ cancellable?: boolean | null;
2370
+ /**
2371
+ * Source database major version.
2372
+ */
2373
+ sourceVersion?: string | null;
2374
+ /**
2375
+ * Status of all upgrade stages.
2376
+ */
2377
+ stages?: Schema$StageStatus[];
2378
+ /**
2379
+ * Cluster Major Version Upgrade state.
2380
+ */
2381
+ state?: string | null;
2382
+ /**
2383
+ * Target database major version.
2384
+ */
2385
+ targetVersion?: string | null;
2386
+ }
2054
2387
  /**
2055
2388
  * Message describing User object.
2056
2389
  */
@@ -2140,11 +2473,11 @@ export namespace alloydb_v1beta {
2140
2473
  get(
2141
2474
  params: Params$Resource$Projects$Locations$Get,
2142
2475
  options: StreamMethodOptions
2143
- ): GaxiosPromise<Readable>;
2476
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2144
2477
  get(
2145
2478
  params?: Params$Resource$Projects$Locations$Get,
2146
2479
  options?: MethodOptions
2147
- ): GaxiosPromise<Schema$GoogleCloudLocationLocation>;
2480
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationLocation>>;
2148
2481
  get(
2149
2482
  params: Params$Resource$Projects$Locations$Get,
2150
2483
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2179,8 +2512,8 @@ export namespace alloydb_v1beta {
2179
2512
  | BodyResponseCallback<Readable>
2180
2513
  ):
2181
2514
  | void
2182
- | GaxiosPromise<Schema$GoogleCloudLocationLocation>
2183
- | GaxiosPromise<Readable> {
2515
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationLocation>>
2516
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2184
2517
  let params = (paramsOrCallback ||
2185
2518
  {}) as Params$Resource$Projects$Locations$Get;
2186
2519
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2232,11 +2565,13 @@ export namespace alloydb_v1beta {
2232
2565
  list(
2233
2566
  params: Params$Resource$Projects$Locations$List,
2234
2567
  options: StreamMethodOptions
2235
- ): GaxiosPromise<Readable>;
2568
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2236
2569
  list(
2237
2570
  params?: Params$Resource$Projects$Locations$List,
2238
2571
  options?: MethodOptions
2239
- ): GaxiosPromise<Schema$GoogleCloudLocationListLocationsResponse>;
2572
+ ): Promise<
2573
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationListLocationsResponse>
2574
+ >;
2240
2575
  list(
2241
2576
  params: Params$Resource$Projects$Locations$List,
2242
2577
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2271,8 +2606,10 @@ export namespace alloydb_v1beta {
2271
2606
  | BodyResponseCallback<Readable>
2272
2607
  ):
2273
2608
  | void
2274
- | GaxiosPromise<Schema$GoogleCloudLocationListLocationsResponse>
2275
- | GaxiosPromise<Readable> {
2609
+ | Promise<
2610
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationListLocationsResponse>
2611
+ >
2612
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2276
2613
  let params = (paramsOrCallback ||
2277
2614
  {}) as Params$Resource$Projects$Locations$List;
2278
2615
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2328,6 +2665,10 @@ export namespace alloydb_v1beta {
2328
2665
  }
2329
2666
  export interface Params$Resource$Projects$Locations$List
2330
2667
  extends StandardParameters {
2668
+ /**
2669
+ * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2670
+ */
2671
+ extraLocationTypes?: string[];
2331
2672
  /**
2332
2673
  * 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).
2333
2674
  */
@@ -2363,11 +2704,11 @@ export namespace alloydb_v1beta {
2363
2704
  create(
2364
2705
  params: Params$Resource$Projects$Locations$Backups$Create,
2365
2706
  options: StreamMethodOptions
2366
- ): GaxiosPromise<Readable>;
2707
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2367
2708
  create(
2368
2709
  params?: Params$Resource$Projects$Locations$Backups$Create,
2369
2710
  options?: MethodOptions
2370
- ): GaxiosPromise<Schema$Operation>;
2711
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2371
2712
  create(
2372
2713
  params: Params$Resource$Projects$Locations$Backups$Create,
2373
2714
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2396,7 +2737,10 @@ export namespace alloydb_v1beta {
2396
2737
  callback?:
2397
2738
  | BodyResponseCallback<Schema$Operation>
2398
2739
  | BodyResponseCallback<Readable>
2399
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
2740
+ ):
2741
+ | void
2742
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2743
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2400
2744
  let params = (paramsOrCallback ||
2401
2745
  {}) as Params$Resource$Projects$Locations$Backups$Create;
2402
2746
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2451,11 +2795,11 @@ export namespace alloydb_v1beta {
2451
2795
  delete(
2452
2796
  params: Params$Resource$Projects$Locations$Backups$Delete,
2453
2797
  options: StreamMethodOptions
2454
- ): GaxiosPromise<Readable>;
2798
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2455
2799
  delete(
2456
2800
  params?: Params$Resource$Projects$Locations$Backups$Delete,
2457
2801
  options?: MethodOptions
2458
- ): GaxiosPromise<Schema$Operation>;
2802
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2459
2803
  delete(
2460
2804
  params: Params$Resource$Projects$Locations$Backups$Delete,
2461
2805
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2484,7 +2828,10 @@ export namespace alloydb_v1beta {
2484
2828
  callback?:
2485
2829
  | BodyResponseCallback<Schema$Operation>
2486
2830
  | BodyResponseCallback<Readable>
2487
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
2831
+ ):
2832
+ | void
2833
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2834
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2488
2835
  let params = (paramsOrCallback ||
2489
2836
  {}) as Params$Resource$Projects$Locations$Backups$Delete;
2490
2837
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2536,11 +2883,11 @@ export namespace alloydb_v1beta {
2536
2883
  get(
2537
2884
  params: Params$Resource$Projects$Locations$Backups$Get,
2538
2885
  options: StreamMethodOptions
2539
- ): GaxiosPromise<Readable>;
2886
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2540
2887
  get(
2541
2888
  params?: Params$Resource$Projects$Locations$Backups$Get,
2542
2889
  options?: MethodOptions
2543
- ): GaxiosPromise<Schema$Backup>;
2890
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Backup>>;
2544
2891
  get(
2545
2892
  params: Params$Resource$Projects$Locations$Backups$Get,
2546
2893
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2569,7 +2916,10 @@ export namespace alloydb_v1beta {
2569
2916
  callback?:
2570
2917
  | BodyResponseCallback<Schema$Backup>
2571
2918
  | BodyResponseCallback<Readable>
2572
- ): void | GaxiosPromise<Schema$Backup> | GaxiosPromise<Readable> {
2919
+ ):
2920
+ | void
2921
+ | Promise<GaxiosResponseWithHTTP2<Schema$Backup>>
2922
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2573
2923
  let params = (paramsOrCallback ||
2574
2924
  {}) as Params$Resource$Projects$Locations$Backups$Get;
2575
2925
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2621,11 +2971,11 @@ export namespace alloydb_v1beta {
2621
2971
  list(
2622
2972
  params: Params$Resource$Projects$Locations$Backups$List,
2623
2973
  options: StreamMethodOptions
2624
- ): GaxiosPromise<Readable>;
2974
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2625
2975
  list(
2626
2976
  params?: Params$Resource$Projects$Locations$Backups$List,
2627
2977
  options?: MethodOptions
2628
- ): GaxiosPromise<Schema$ListBackupsResponse>;
2978
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupsResponse>>;
2629
2979
  list(
2630
2980
  params: Params$Resource$Projects$Locations$Backups$List,
2631
2981
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2656,8 +3006,8 @@ export namespace alloydb_v1beta {
2656
3006
  | BodyResponseCallback<Readable>
2657
3007
  ):
2658
3008
  | void
2659
- | GaxiosPromise<Schema$ListBackupsResponse>
2660
- | GaxiosPromise<Readable> {
3009
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListBackupsResponse>>
3010
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2661
3011
  let params = (paramsOrCallback ||
2662
3012
  {}) as Params$Resource$Projects$Locations$Backups$List;
2663
3013
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2712,11 +3062,11 @@ export namespace alloydb_v1beta {
2712
3062
  patch(
2713
3063
  params: Params$Resource$Projects$Locations$Backups$Patch,
2714
3064
  options: StreamMethodOptions
2715
- ): GaxiosPromise<Readable>;
3065
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2716
3066
  patch(
2717
3067
  params?: Params$Resource$Projects$Locations$Backups$Patch,
2718
3068
  options?: MethodOptions
2719
- ): GaxiosPromise<Schema$Operation>;
3069
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2720
3070
  patch(
2721
3071
  params: Params$Resource$Projects$Locations$Backups$Patch,
2722
3072
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2745,7 +3095,10 @@ export namespace alloydb_v1beta {
2745
3095
  callback?:
2746
3096
  | BodyResponseCallback<Schema$Operation>
2747
3097
  | BodyResponseCallback<Readable>
2748
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3098
+ ):
3099
+ | void
3100
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3101
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2749
3102
  let params = (paramsOrCallback ||
2750
3103
  {}) as Params$Resource$Projects$Locations$Backups$Patch;
2751
3104
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2912,11 +3265,11 @@ export namespace alloydb_v1beta {
2912
3265
  create(
2913
3266
  params: Params$Resource$Projects$Locations$Clusters$Create,
2914
3267
  options: StreamMethodOptions
2915
- ): GaxiosPromise<Readable>;
3268
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2916
3269
  create(
2917
3270
  params?: Params$Resource$Projects$Locations$Clusters$Create,
2918
3271
  options?: MethodOptions
2919
- ): GaxiosPromise<Schema$Operation>;
3272
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2920
3273
  create(
2921
3274
  params: Params$Resource$Projects$Locations$Clusters$Create,
2922
3275
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2945,7 +3298,10 @@ export namespace alloydb_v1beta {
2945
3298
  callback?:
2946
3299
  | BodyResponseCallback<Schema$Operation>
2947
3300
  | BodyResponseCallback<Readable>
2948
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3301
+ ):
3302
+ | void
3303
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3304
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2949
3305
  let params = (paramsOrCallback ||
2950
3306
  {}) as Params$Resource$Projects$Locations$Clusters$Create;
2951
3307
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3000,11 +3356,11 @@ export namespace alloydb_v1beta {
3000
3356
  createsecondary(
3001
3357
  params: Params$Resource$Projects$Locations$Clusters$Createsecondary,
3002
3358
  options: StreamMethodOptions
3003
- ): GaxiosPromise<Readable>;
3359
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3004
3360
  createsecondary(
3005
3361
  params?: Params$Resource$Projects$Locations$Clusters$Createsecondary,
3006
3362
  options?: MethodOptions
3007
- ): GaxiosPromise<Schema$Operation>;
3363
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3008
3364
  createsecondary(
3009
3365
  params: Params$Resource$Projects$Locations$Clusters$Createsecondary,
3010
3366
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3033,7 +3389,10 @@ export namespace alloydb_v1beta {
3033
3389
  callback?:
3034
3390
  | BodyResponseCallback<Schema$Operation>
3035
3391
  | BodyResponseCallback<Readable>
3036
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3392
+ ):
3393
+ | void
3394
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3395
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3037
3396
  let params = (paramsOrCallback ||
3038
3397
  {}) as Params$Resource$Projects$Locations$Clusters$Createsecondary;
3039
3398
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3088,11 +3447,11 @@ export namespace alloydb_v1beta {
3088
3447
  delete(
3089
3448
  params: Params$Resource$Projects$Locations$Clusters$Delete,
3090
3449
  options: StreamMethodOptions
3091
- ): GaxiosPromise<Readable>;
3450
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3092
3451
  delete(
3093
3452
  params?: Params$Resource$Projects$Locations$Clusters$Delete,
3094
3453
  options?: MethodOptions
3095
- ): GaxiosPromise<Schema$Operation>;
3454
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3096
3455
  delete(
3097
3456
  params: Params$Resource$Projects$Locations$Clusters$Delete,
3098
3457
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3121,7 +3480,10 @@ export namespace alloydb_v1beta {
3121
3480
  callback?:
3122
3481
  | BodyResponseCallback<Schema$Operation>
3123
3482
  | BodyResponseCallback<Readable>
3124
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3483
+ ):
3484
+ | void
3485
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3486
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3125
3487
  let params = (paramsOrCallback ||
3126
3488
  {}) as Params$Resource$Projects$Locations$Clusters$Delete;
3127
3489
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3173,11 +3535,11 @@ export namespace alloydb_v1beta {
3173
3535
  export(
3174
3536
  params: Params$Resource$Projects$Locations$Clusters$Export,
3175
3537
  options: StreamMethodOptions
3176
- ): GaxiosPromise<Readable>;
3538
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3177
3539
  export(
3178
3540
  params?: Params$Resource$Projects$Locations$Clusters$Export,
3179
3541
  options?: MethodOptions
3180
- ): GaxiosPromise<Schema$Operation>;
3542
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3181
3543
  export(
3182
3544
  params: Params$Resource$Projects$Locations$Clusters$Export,
3183
3545
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3206,7 +3568,10 @@ export namespace alloydb_v1beta {
3206
3568
  callback?:
3207
3569
  | BodyResponseCallback<Schema$Operation>
3208
3570
  | BodyResponseCallback<Readable>
3209
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3571
+ ):
3572
+ | void
3573
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3574
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3210
3575
  let params = (paramsOrCallback ||
3211
3576
  {}) as Params$Resource$Projects$Locations$Clusters$Export;
3212
3577
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3261,11 +3626,11 @@ export namespace alloydb_v1beta {
3261
3626
  get(
3262
3627
  params: Params$Resource$Projects$Locations$Clusters$Get,
3263
3628
  options: StreamMethodOptions
3264
- ): GaxiosPromise<Readable>;
3629
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3265
3630
  get(
3266
3631
  params?: Params$Resource$Projects$Locations$Clusters$Get,
3267
3632
  options?: MethodOptions
3268
- ): GaxiosPromise<Schema$Cluster>;
3633
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Cluster>>;
3269
3634
  get(
3270
3635
  params: Params$Resource$Projects$Locations$Clusters$Get,
3271
3636
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3294,7 +3659,10 @@ export namespace alloydb_v1beta {
3294
3659
  callback?:
3295
3660
  | BodyResponseCallback<Schema$Cluster>
3296
3661
  | BodyResponseCallback<Readable>
3297
- ): void | GaxiosPromise<Schema$Cluster> | GaxiosPromise<Readable> {
3662
+ ):
3663
+ | void
3664
+ | Promise<GaxiosResponseWithHTTP2<Schema$Cluster>>
3665
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3298
3666
  let params = (paramsOrCallback ||
3299
3667
  {}) as Params$Resource$Projects$Locations$Clusters$Get;
3300
3668
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3335,6 +3703,97 @@ export namespace alloydb_v1beta {
3335
3703
  }
3336
3704
  }
3337
3705
 
3706
+ /**
3707
+ * Imports data to the cluster. Imperative only.
3708
+ *
3709
+ * @param params - Parameters for request
3710
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3711
+ * @param callback - Optional callback that handles the response.
3712
+ * @returns A promise if used with async/await, or void if used with a callback.
3713
+ */
3714
+ import(
3715
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3716
+ options: StreamMethodOptions
3717
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3718
+ import(
3719
+ params?: Params$Resource$Projects$Locations$Clusters$Import,
3720
+ options?: MethodOptions
3721
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3722
+ import(
3723
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3724
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3725
+ callback: BodyResponseCallback<Readable>
3726
+ ): void;
3727
+ import(
3728
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3729
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
3730
+ callback: BodyResponseCallback<Schema$Operation>
3731
+ ): void;
3732
+ import(
3733
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3734
+ callback: BodyResponseCallback<Schema$Operation>
3735
+ ): void;
3736
+ import(callback: BodyResponseCallback<Schema$Operation>): void;
3737
+ import(
3738
+ paramsOrCallback?:
3739
+ | Params$Resource$Projects$Locations$Clusters$Import
3740
+ | BodyResponseCallback<Schema$Operation>
3741
+ | BodyResponseCallback<Readable>,
3742
+ optionsOrCallback?:
3743
+ | MethodOptions
3744
+ | StreamMethodOptions
3745
+ | BodyResponseCallback<Schema$Operation>
3746
+ | BodyResponseCallback<Readable>,
3747
+ callback?:
3748
+ | BodyResponseCallback<Schema$Operation>
3749
+ | BodyResponseCallback<Readable>
3750
+ ):
3751
+ | void
3752
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3753
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3754
+ let params = (paramsOrCallback ||
3755
+ {}) as Params$Resource$Projects$Locations$Clusters$Import;
3756
+ let options = (optionsOrCallback || {}) as MethodOptions;
3757
+
3758
+ if (typeof paramsOrCallback === 'function') {
3759
+ callback = paramsOrCallback;
3760
+ params = {} as Params$Resource$Projects$Locations$Clusters$Import;
3761
+ options = {};
3762
+ }
3763
+
3764
+ if (typeof optionsOrCallback === 'function') {
3765
+ callback = optionsOrCallback;
3766
+ options = {};
3767
+ }
3768
+
3769
+ const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
3770
+ const parameters = {
3771
+ options: Object.assign(
3772
+ {
3773
+ url: (rootUrl + '/v1beta/{+name}:import').replace(
3774
+ /([^:]\/)\/+/g,
3775
+ '$1'
3776
+ ),
3777
+ method: 'POST',
3778
+ apiVersion: '',
3779
+ },
3780
+ options
3781
+ ),
3782
+ params,
3783
+ requiredParams: ['name'],
3784
+ pathParams: ['name'],
3785
+ context: this.context,
3786
+ };
3787
+ if (callback) {
3788
+ createAPIRequest<Schema$Operation>(
3789
+ parameters,
3790
+ callback as BodyResponseCallback<unknown>
3791
+ );
3792
+ } else {
3793
+ return createAPIRequest<Schema$Operation>(parameters);
3794
+ }
3795
+ }
3796
+
3338
3797
  /**
3339
3798
  * Lists Clusters in a given project and location.
3340
3799
  *
@@ -3346,11 +3805,11 @@ export namespace alloydb_v1beta {
3346
3805
  list(
3347
3806
  params: Params$Resource$Projects$Locations$Clusters$List,
3348
3807
  options: StreamMethodOptions
3349
- ): GaxiosPromise<Readable>;
3808
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3350
3809
  list(
3351
3810
  params?: Params$Resource$Projects$Locations$Clusters$List,
3352
3811
  options?: MethodOptions
3353
- ): GaxiosPromise<Schema$ListClustersResponse>;
3812
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListClustersResponse>>;
3354
3813
  list(
3355
3814
  params: Params$Resource$Projects$Locations$Clusters$List,
3356
3815
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3383,8 +3842,8 @@ export namespace alloydb_v1beta {
3383
3842
  | BodyResponseCallback<Readable>
3384
3843
  ):
3385
3844
  | void
3386
- | GaxiosPromise<Schema$ListClustersResponse>
3387
- | GaxiosPromise<Readable> {
3845
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListClustersResponse>>
3846
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3388
3847
  let params = (paramsOrCallback ||
3389
3848
  {}) as Params$Resource$Projects$Locations$Clusters$List;
3390
3849
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3439,11 +3898,11 @@ export namespace alloydb_v1beta {
3439
3898
  patch(
3440
3899
  params: Params$Resource$Projects$Locations$Clusters$Patch,
3441
3900
  options: StreamMethodOptions
3442
- ): GaxiosPromise<Readable>;
3901
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3443
3902
  patch(
3444
3903
  params?: Params$Resource$Projects$Locations$Clusters$Patch,
3445
3904
  options?: MethodOptions
3446
- ): GaxiosPromise<Schema$Operation>;
3905
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3447
3906
  patch(
3448
3907
  params: Params$Resource$Projects$Locations$Clusters$Patch,
3449
3908
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3472,7 +3931,10 @@ export namespace alloydb_v1beta {
3472
3931
  callback?:
3473
3932
  | BodyResponseCallback<Schema$Operation>
3474
3933
  | BodyResponseCallback<Readable>
3475
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3934
+ ):
3935
+ | void
3936
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3937
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3476
3938
  let params = (paramsOrCallback ||
3477
3939
  {}) as Params$Resource$Projects$Locations$Clusters$Patch;
3478
3940
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3524,11 +3986,11 @@ export namespace alloydb_v1beta {
3524
3986
  promote(
3525
3987
  params: Params$Resource$Projects$Locations$Clusters$Promote,
3526
3988
  options: StreamMethodOptions
3527
- ): GaxiosPromise<Readable>;
3989
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3528
3990
  promote(
3529
3991
  params?: Params$Resource$Projects$Locations$Clusters$Promote,
3530
3992
  options?: MethodOptions
3531
- ): GaxiosPromise<Schema$Operation>;
3993
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3532
3994
  promote(
3533
3995
  params: Params$Resource$Projects$Locations$Clusters$Promote,
3534
3996
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3557,7 +4019,10 @@ export namespace alloydb_v1beta {
3557
4019
  callback?:
3558
4020
  | BodyResponseCallback<Schema$Operation>
3559
4021
  | BodyResponseCallback<Readable>
3560
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4022
+ ):
4023
+ | void
4024
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4025
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3561
4026
  let params = (paramsOrCallback ||
3562
4027
  {}) as Params$Resource$Projects$Locations$Clusters$Promote;
3563
4028
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3612,11 +4077,11 @@ export namespace alloydb_v1beta {
3612
4077
  restore(
3613
4078
  params: Params$Resource$Projects$Locations$Clusters$Restore,
3614
4079
  options: StreamMethodOptions
3615
- ): GaxiosPromise<Readable>;
4080
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3616
4081
  restore(
3617
4082
  params?: Params$Resource$Projects$Locations$Clusters$Restore,
3618
4083
  options?: MethodOptions
3619
- ): GaxiosPromise<Schema$Operation>;
4084
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3620
4085
  restore(
3621
4086
  params: Params$Resource$Projects$Locations$Clusters$Restore,
3622
4087
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3645,7 +4110,10 @@ export namespace alloydb_v1beta {
3645
4110
  callback?:
3646
4111
  | BodyResponseCallback<Schema$Operation>
3647
4112
  | BodyResponseCallback<Readable>
3648
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4113
+ ):
4114
+ | void
4115
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4116
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3649
4117
  let params = (paramsOrCallback ||
3650
4118
  {}) as Params$Resource$Projects$Locations$Clusters$Restore;
3651
4119
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3700,11 +4168,11 @@ export namespace alloydb_v1beta {
3700
4168
  restoreFromCloudSQL(
3701
4169
  params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
3702
4170
  options: StreamMethodOptions
3703
- ): GaxiosPromise<Readable>;
4171
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3704
4172
  restoreFromCloudSQL(
3705
4173
  params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
3706
4174
  options?: MethodOptions
3707
- ): GaxiosPromise<Schema$Operation>;
4175
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3708
4176
  restoreFromCloudSQL(
3709
4177
  params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
3710
4178
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3733,7 +4201,10 @@ export namespace alloydb_v1beta {
3733
4201
  callback?:
3734
4202
  | BodyResponseCallback<Schema$Operation>
3735
4203
  | BodyResponseCallback<Readable>
3736
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4204
+ ):
4205
+ | void
4206
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4207
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3737
4208
  let params = (paramsOrCallback ||
3738
4209
  {}) as Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql;
3739
4210
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3788,11 +4259,11 @@ export namespace alloydb_v1beta {
3788
4259
  switchover(
3789
4260
  params: Params$Resource$Projects$Locations$Clusters$Switchover,
3790
4261
  options: StreamMethodOptions
3791
- ): GaxiosPromise<Readable>;
4262
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3792
4263
  switchover(
3793
4264
  params?: Params$Resource$Projects$Locations$Clusters$Switchover,
3794
4265
  options?: MethodOptions
3795
- ): GaxiosPromise<Schema$Operation>;
4266
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3796
4267
  switchover(
3797
4268
  params: Params$Resource$Projects$Locations$Clusters$Switchover,
3798
4269
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3821,7 +4292,10 @@ export namespace alloydb_v1beta {
3821
4292
  callback?:
3822
4293
  | BodyResponseCallback<Schema$Operation>
3823
4294
  | BodyResponseCallback<Readable>
3824
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4295
+ ):
4296
+ | void
4297
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4298
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3825
4299
  let params = (paramsOrCallback ||
3826
4300
  {}) as Params$Resource$Projects$Locations$Clusters$Switchover;
3827
4301
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3876,11 +4350,11 @@ export namespace alloydb_v1beta {
3876
4350
  upgrade(
3877
4351
  params: Params$Resource$Projects$Locations$Clusters$Upgrade,
3878
4352
  options: StreamMethodOptions
3879
- ): GaxiosPromise<Readable>;
4353
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3880
4354
  upgrade(
3881
4355
  params?: Params$Resource$Projects$Locations$Clusters$Upgrade,
3882
4356
  options?: MethodOptions
3883
- ): GaxiosPromise<Schema$Operation>;
4357
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3884
4358
  upgrade(
3885
4359
  params: Params$Resource$Projects$Locations$Clusters$Upgrade,
3886
4360
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3909,7 +4383,10 @@ export namespace alloydb_v1beta {
3909
4383
  callback?:
3910
4384
  | BodyResponseCallback<Schema$Operation>
3911
4385
  | BodyResponseCallback<Readable>
3912
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4386
+ ):
4387
+ | void
4388
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4389
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3913
4390
  let params = (paramsOrCallback ||
3914
4391
  {}) as Params$Resource$Projects$Locations$Clusters$Upgrade;
3915
4392
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4048,6 +4525,18 @@ export namespace alloydb_v1beta {
4048
4525
  */
4049
4526
  view?: string;
4050
4527
  }
4528
+ export interface Params$Resource$Projects$Locations$Clusters$Import
4529
+ extends StandardParameters {
4530
+ /**
4531
+ * Required. The resource name of the cluster.
4532
+ */
4533
+ name?: string;
4534
+
4535
+ /**
4536
+ * Request body metadata
4537
+ */
4538
+ requestBody?: Schema$ImportClusterRequest;
4539
+ }
4051
4540
  export interface Params$Resource$Projects$Locations$Clusters$List
4052
4541
  extends StandardParameters {
4053
4542
  /**
@@ -4177,11 +4666,11 @@ export namespace alloydb_v1beta {
4177
4666
  create(
4178
4667
  params: Params$Resource$Projects$Locations$Clusters$Instances$Create,
4179
4668
  options: StreamMethodOptions
4180
- ): GaxiosPromise<Readable>;
4669
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4181
4670
  create(
4182
4671
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Create,
4183
4672
  options?: MethodOptions
4184
- ): GaxiosPromise<Schema$Operation>;
4673
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4185
4674
  create(
4186
4675
  params: Params$Resource$Projects$Locations$Clusters$Instances$Create,
4187
4676
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4210,7 +4699,10 @@ export namespace alloydb_v1beta {
4210
4699
  callback?:
4211
4700
  | BodyResponseCallback<Schema$Operation>
4212
4701
  | BodyResponseCallback<Readable>
4213
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4702
+ ):
4703
+ | void
4704
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4705
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4214
4706
  let params = (paramsOrCallback ||
4215
4707
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Create;
4216
4708
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4266,11 +4758,11 @@ export namespace alloydb_v1beta {
4266
4758
  createsecondary(
4267
4759
  params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary,
4268
4760
  options: StreamMethodOptions
4269
- ): GaxiosPromise<Readable>;
4761
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4270
4762
  createsecondary(
4271
4763
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary,
4272
4764
  options?: MethodOptions
4273
- ): GaxiosPromise<Schema$Operation>;
4765
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4274
4766
  createsecondary(
4275
4767
  params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary,
4276
4768
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4299,7 +4791,10 @@ export namespace alloydb_v1beta {
4299
4791
  callback?:
4300
4792
  | BodyResponseCallback<Schema$Operation>
4301
4793
  | BodyResponseCallback<Readable>
4302
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4794
+ ):
4795
+ | void
4796
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4797
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4303
4798
  let params = (paramsOrCallback ||
4304
4799
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary;
4305
4800
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4354,11 +4849,11 @@ export namespace alloydb_v1beta {
4354
4849
  delete(
4355
4850
  params: Params$Resource$Projects$Locations$Clusters$Instances$Delete,
4356
4851
  options: StreamMethodOptions
4357
- ): GaxiosPromise<Readable>;
4852
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4358
4853
  delete(
4359
4854
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Delete,
4360
4855
  options?: MethodOptions
4361
- ): GaxiosPromise<Schema$Operation>;
4856
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4362
4857
  delete(
4363
4858
  params: Params$Resource$Projects$Locations$Clusters$Instances$Delete,
4364
4859
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4387,7 +4882,10 @@ export namespace alloydb_v1beta {
4387
4882
  callback?:
4388
4883
  | BodyResponseCallback<Schema$Operation>
4389
4884
  | BodyResponseCallback<Readable>
4390
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4885
+ ):
4886
+ | void
4887
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4888
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4391
4889
  let params = (paramsOrCallback ||
4392
4890
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Delete;
4393
4891
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4440,11 +4938,11 @@ export namespace alloydb_v1beta {
4440
4938
  failover(
4441
4939
  params: Params$Resource$Projects$Locations$Clusters$Instances$Failover,
4442
4940
  options: StreamMethodOptions
4443
- ): GaxiosPromise<Readable>;
4941
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4444
4942
  failover(
4445
4943
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Failover,
4446
4944
  options?: MethodOptions
4447
- ): GaxiosPromise<Schema$Operation>;
4945
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4448
4946
  failover(
4449
4947
  params: Params$Resource$Projects$Locations$Clusters$Instances$Failover,
4450
4948
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4473,7 +4971,10 @@ export namespace alloydb_v1beta {
4473
4971
  callback?:
4474
4972
  | BodyResponseCallback<Schema$Operation>
4475
4973
  | BodyResponseCallback<Readable>
4476
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4974
+ ):
4975
+ | void
4976
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4977
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4477
4978
  let params = (paramsOrCallback ||
4478
4979
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Failover;
4479
4980
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4529,11 +5030,11 @@ export namespace alloydb_v1beta {
4529
5030
  get(
4530
5031
  params: Params$Resource$Projects$Locations$Clusters$Instances$Get,
4531
5032
  options: StreamMethodOptions
4532
- ): GaxiosPromise<Readable>;
5033
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4533
5034
  get(
4534
5035
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Get,
4535
5036
  options?: MethodOptions
4536
- ): GaxiosPromise<Schema$Instance>;
5037
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Instance>>;
4537
5038
  get(
4538
5039
  params: Params$Resource$Projects$Locations$Clusters$Instances$Get,
4539
5040
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4562,7 +5063,10 @@ export namespace alloydb_v1beta {
4562
5063
  callback?:
4563
5064
  | BodyResponseCallback<Schema$Instance>
4564
5065
  | BodyResponseCallback<Readable>
4565
- ): void | GaxiosPromise<Schema$Instance> | GaxiosPromise<Readable> {
5066
+ ):
5067
+ | void
5068
+ | Promise<GaxiosResponseWithHTTP2<Schema$Instance>>
5069
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4566
5070
  let params = (paramsOrCallback ||
4567
5071
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Get;
4568
5072
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4615,11 +5119,11 @@ export namespace alloydb_v1beta {
4615
5119
  getConnectionInfo(
4616
5120
  params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo,
4617
5121
  options: StreamMethodOptions
4618
- ): GaxiosPromise<Readable>;
5122
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4619
5123
  getConnectionInfo(
4620
5124
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo,
4621
5125
  options?: MethodOptions
4622
- ): GaxiosPromise<Schema$ConnectionInfo>;
5126
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ConnectionInfo>>;
4623
5127
  getConnectionInfo(
4624
5128
  params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo,
4625
5129
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4650,7 +5154,10 @@ export namespace alloydb_v1beta {
4650
5154
  callback?:
4651
5155
  | BodyResponseCallback<Schema$ConnectionInfo>
4652
5156
  | BodyResponseCallback<Readable>
4653
- ): void | GaxiosPromise<Schema$ConnectionInfo> | GaxiosPromise<Readable> {
5157
+ ):
5158
+ | void
5159
+ | Promise<GaxiosResponseWithHTTP2<Schema$ConnectionInfo>>
5160
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4654
5161
  let params = (paramsOrCallback ||
4655
5162
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo;
4656
5163
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4706,11 +5213,11 @@ export namespace alloydb_v1beta {
4706
5213
  injectFault(
4707
5214
  params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault,
4708
5215
  options: StreamMethodOptions
4709
- ): GaxiosPromise<Readable>;
5216
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4710
5217
  injectFault(
4711
5218
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault,
4712
5219
  options?: MethodOptions
4713
- ): GaxiosPromise<Schema$Operation>;
5220
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4714
5221
  injectFault(
4715
5222
  params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault,
4716
5223
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4739,7 +5246,10 @@ export namespace alloydb_v1beta {
4739
5246
  callback?:
4740
5247
  | BodyResponseCallback<Schema$Operation>
4741
5248
  | BodyResponseCallback<Readable>
4742
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
5249
+ ):
5250
+ | void
5251
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
5252
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4743
5253
  let params = (paramsOrCallback ||
4744
5254
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Injectfault;
4745
5255
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4795,11 +5305,11 @@ export namespace alloydb_v1beta {
4795
5305
  list(
4796
5306
  params: Params$Resource$Projects$Locations$Clusters$Instances$List,
4797
5307
  options: StreamMethodOptions
4798
- ): GaxiosPromise<Readable>;
5308
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4799
5309
  list(
4800
5310
  params?: Params$Resource$Projects$Locations$Clusters$Instances$List,
4801
5311
  options?: MethodOptions
4802
- ): GaxiosPromise<Schema$ListInstancesResponse>;
5312
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancesResponse>>;
4803
5313
  list(
4804
5314
  params: Params$Resource$Projects$Locations$Clusters$Instances$List,
4805
5315
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4832,8 +5342,8 @@ export namespace alloydb_v1beta {
4832
5342
  | BodyResponseCallback<Readable>
4833
5343
  ):
4834
5344
  | void
4835
- | GaxiosPromise<Schema$ListInstancesResponse>
4836
- | GaxiosPromise<Readable> {
5345
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListInstancesResponse>>
5346
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4837
5347
  let params = (paramsOrCallback ||
4838
5348
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$List;
4839
5349
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4889,11 +5399,11 @@ export namespace alloydb_v1beta {
4889
5399
  patch(
4890
5400
  params: Params$Resource$Projects$Locations$Clusters$Instances$Patch,
4891
5401
  options: StreamMethodOptions
4892
- ): GaxiosPromise<Readable>;
5402
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4893
5403
  patch(
4894
5404
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Patch,
4895
5405
  options?: MethodOptions
4896
- ): GaxiosPromise<Schema$Operation>;
5406
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4897
5407
  patch(
4898
5408
  params: Params$Resource$Projects$Locations$Clusters$Instances$Patch,
4899
5409
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4922,7 +5432,10 @@ export namespace alloydb_v1beta {
4922
5432
  callback?:
4923
5433
  | BodyResponseCallback<Schema$Operation>
4924
5434
  | BodyResponseCallback<Readable>
4925
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
5435
+ ):
5436
+ | void
5437
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
5438
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4926
5439
  let params = (paramsOrCallback ||
4927
5440
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Patch;
4928
5441
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4975,11 +5488,11 @@ export namespace alloydb_v1beta {
4975
5488
  restart(
4976
5489
  params: Params$Resource$Projects$Locations$Clusters$Instances$Restart,
4977
5490
  options: StreamMethodOptions
4978
- ): GaxiosPromise<Readable>;
5491
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4979
5492
  restart(
4980
5493
  params?: Params$Resource$Projects$Locations$Clusters$Instances$Restart,
4981
5494
  options?: MethodOptions
4982
- ): GaxiosPromise<Schema$Operation>;
5495
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4983
5496
  restart(
4984
5497
  params: Params$Resource$Projects$Locations$Clusters$Instances$Restart,
4985
5498
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5008,7 +5521,10 @@ export namespace alloydb_v1beta {
5008
5521
  callback?:
5009
5522
  | BodyResponseCallback<Schema$Operation>
5010
5523
  | BodyResponseCallback<Readable>
5011
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
5524
+ ):
5525
+ | void
5526
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
5527
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5012
5528
  let params = (paramsOrCallback ||
5013
5529
  {}) as Params$Resource$Projects$Locations$Clusters$Instances$Restart;
5014
5530
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5248,11 +5764,11 @@ export namespace alloydb_v1beta {
5248
5764
  create(
5249
5765
  params: Params$Resource$Projects$Locations$Clusters$Users$Create,
5250
5766
  options: StreamMethodOptions
5251
- ): GaxiosPromise<Readable>;
5767
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5252
5768
  create(
5253
5769
  params?: Params$Resource$Projects$Locations$Clusters$Users$Create,
5254
5770
  options?: MethodOptions
5255
- ): GaxiosPromise<Schema$User>;
5771
+ ): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
5256
5772
  create(
5257
5773
  params: Params$Resource$Projects$Locations$Clusters$Users$Create,
5258
5774
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5281,7 +5797,10 @@ export namespace alloydb_v1beta {
5281
5797
  callback?:
5282
5798
  | BodyResponseCallback<Schema$User>
5283
5799
  | BodyResponseCallback<Readable>
5284
- ): void | GaxiosPromise<Schema$User> | GaxiosPromise<Readable> {
5800
+ ):
5801
+ | void
5802
+ | Promise<GaxiosResponseWithHTTP2<Schema$User>>
5803
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5285
5804
  let params = (paramsOrCallback ||
5286
5805
  {}) as Params$Resource$Projects$Locations$Clusters$Users$Create;
5287
5806
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5336,11 +5855,11 @@ export namespace alloydb_v1beta {
5336
5855
  delete(
5337
5856
  params: Params$Resource$Projects$Locations$Clusters$Users$Delete,
5338
5857
  options: StreamMethodOptions
5339
- ): GaxiosPromise<Readable>;
5858
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5340
5859
  delete(
5341
5860
  params?: Params$Resource$Projects$Locations$Clusters$Users$Delete,
5342
5861
  options?: MethodOptions
5343
- ): GaxiosPromise<Schema$Empty>;
5862
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5344
5863
  delete(
5345
5864
  params: Params$Resource$Projects$Locations$Clusters$Users$Delete,
5346
5865
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5369,7 +5888,10 @@ export namespace alloydb_v1beta {
5369
5888
  callback?:
5370
5889
  | BodyResponseCallback<Schema$Empty>
5371
5890
  | BodyResponseCallback<Readable>
5372
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
5891
+ ):
5892
+ | void
5893
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
5894
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5373
5895
  let params = (paramsOrCallback ||
5374
5896
  {}) as Params$Resource$Projects$Locations$Clusters$Users$Delete;
5375
5897
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5421,11 +5943,11 @@ export namespace alloydb_v1beta {
5421
5943
  get(
5422
5944
  params: Params$Resource$Projects$Locations$Clusters$Users$Get,
5423
5945
  options: StreamMethodOptions
5424
- ): GaxiosPromise<Readable>;
5946
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5425
5947
  get(
5426
5948
  params?: Params$Resource$Projects$Locations$Clusters$Users$Get,
5427
5949
  options?: MethodOptions
5428
- ): GaxiosPromise<Schema$User>;
5950
+ ): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
5429
5951
  get(
5430
5952
  params: Params$Resource$Projects$Locations$Clusters$Users$Get,
5431
5953
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5454,7 +5976,10 @@ export namespace alloydb_v1beta {
5454
5976
  callback?:
5455
5977
  | BodyResponseCallback<Schema$User>
5456
5978
  | BodyResponseCallback<Readable>
5457
- ): void | GaxiosPromise<Schema$User> | GaxiosPromise<Readable> {
5979
+ ):
5980
+ | void
5981
+ | Promise<GaxiosResponseWithHTTP2<Schema$User>>
5982
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5458
5983
  let params = (paramsOrCallback ||
5459
5984
  {}) as Params$Resource$Projects$Locations$Clusters$Users$Get;
5460
5985
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5506,11 +6031,11 @@ export namespace alloydb_v1beta {
5506
6031
  list(
5507
6032
  params: Params$Resource$Projects$Locations$Clusters$Users$List,
5508
6033
  options: StreamMethodOptions
5509
- ): GaxiosPromise<Readable>;
6034
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5510
6035
  list(
5511
6036
  params?: Params$Resource$Projects$Locations$Clusters$Users$List,
5512
6037
  options?: MethodOptions
5513
- ): GaxiosPromise<Schema$ListUsersResponse>;
6038
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListUsersResponse>>;
5514
6039
  list(
5515
6040
  params: Params$Resource$Projects$Locations$Clusters$Users$List,
5516
6041
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5541,8 +6066,8 @@ export namespace alloydb_v1beta {
5541
6066
  | BodyResponseCallback<Readable>
5542
6067
  ):
5543
6068
  | void
5544
- | GaxiosPromise<Schema$ListUsersResponse>
5545
- | GaxiosPromise<Readable> {
6069
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListUsersResponse>>
6070
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5546
6071
  let params = (paramsOrCallback ||
5547
6072
  {}) as Params$Resource$Projects$Locations$Clusters$Users$List;
5548
6073
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5597,11 +6122,11 @@ export namespace alloydb_v1beta {
5597
6122
  patch(
5598
6123
  params: Params$Resource$Projects$Locations$Clusters$Users$Patch,
5599
6124
  options: StreamMethodOptions
5600
- ): GaxiosPromise<Readable>;
6125
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5601
6126
  patch(
5602
6127
  params?: Params$Resource$Projects$Locations$Clusters$Users$Patch,
5603
6128
  options?: MethodOptions
5604
- ): GaxiosPromise<Schema$User>;
6129
+ ): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
5605
6130
  patch(
5606
6131
  params: Params$Resource$Projects$Locations$Clusters$Users$Patch,
5607
6132
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5630,7 +6155,10 @@ export namespace alloydb_v1beta {
5630
6155
  callback?:
5631
6156
  | BodyResponseCallback<Schema$User>
5632
6157
  | BodyResponseCallback<Readable>
5633
- ): void | GaxiosPromise<Schema$User> | GaxiosPromise<Readable> {
6158
+ ):
6159
+ | void
6160
+ | Promise<GaxiosResponseWithHTTP2<Schema$User>>
6161
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5634
6162
  let params = (paramsOrCallback ||
5635
6163
  {}) as Params$Resource$Projects$Locations$Clusters$Users$Patch;
5636
6164
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5787,11 +6315,11 @@ export namespace alloydb_v1beta {
5787
6315
  cancel(
5788
6316
  params: Params$Resource$Projects$Locations$Operations$Cancel,
5789
6317
  options: StreamMethodOptions
5790
- ): GaxiosPromise<Readable>;
6318
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5791
6319
  cancel(
5792
6320
  params?: Params$Resource$Projects$Locations$Operations$Cancel,
5793
6321
  options?: MethodOptions
5794
- ): GaxiosPromise<Schema$Empty>;
6322
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5795
6323
  cancel(
5796
6324
  params: Params$Resource$Projects$Locations$Operations$Cancel,
5797
6325
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5820,7 +6348,10 @@ export namespace alloydb_v1beta {
5820
6348
  callback?:
5821
6349
  | BodyResponseCallback<Schema$Empty>
5822
6350
  | BodyResponseCallback<Readable>
5823
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
6351
+ ):
6352
+ | void
6353
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
6354
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5824
6355
  let params = (paramsOrCallback ||
5825
6356
  {}) as Params$Resource$Projects$Locations$Operations$Cancel;
5826
6357
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5875,11 +6406,11 @@ export namespace alloydb_v1beta {
5875
6406
  delete(
5876
6407
  params: Params$Resource$Projects$Locations$Operations$Delete,
5877
6408
  options: StreamMethodOptions
5878
- ): GaxiosPromise<Readable>;
6409
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5879
6410
  delete(
5880
6411
  params?: Params$Resource$Projects$Locations$Operations$Delete,
5881
6412
  options?: MethodOptions
5882
- ): GaxiosPromise<Schema$Empty>;
6413
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5883
6414
  delete(
5884
6415
  params: Params$Resource$Projects$Locations$Operations$Delete,
5885
6416
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5908,7 +6439,10 @@ export namespace alloydb_v1beta {
5908
6439
  callback?:
5909
6440
  | BodyResponseCallback<Schema$Empty>
5910
6441
  | BodyResponseCallback<Readable>
5911
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
6442
+ ):
6443
+ | void
6444
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
6445
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5912
6446
  let params = (paramsOrCallback ||
5913
6447
  {}) as Params$Resource$Projects$Locations$Operations$Delete;
5914
6448
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5960,11 +6494,11 @@ export namespace alloydb_v1beta {
5960
6494
  get(
5961
6495
  params: Params$Resource$Projects$Locations$Operations$Get,
5962
6496
  options: StreamMethodOptions
5963
- ): GaxiosPromise<Readable>;
6497
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5964
6498
  get(
5965
6499
  params?: Params$Resource$Projects$Locations$Operations$Get,
5966
6500
  options?: MethodOptions
5967
- ): GaxiosPromise<Schema$Operation>;
6501
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5968
6502
  get(
5969
6503
  params: Params$Resource$Projects$Locations$Operations$Get,
5970
6504
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5993,7 +6527,10 @@ export namespace alloydb_v1beta {
5993
6527
  callback?:
5994
6528
  | BodyResponseCallback<Schema$Operation>
5995
6529
  | BodyResponseCallback<Readable>
5996
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
6530
+ ):
6531
+ | void
6532
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
6533
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5997
6534
  let params = (paramsOrCallback ||
5998
6535
  {}) as Params$Resource$Projects$Locations$Operations$Get;
5999
6536
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6045,11 +6582,11 @@ export namespace alloydb_v1beta {
6045
6582
  list(
6046
6583
  params: Params$Resource$Projects$Locations$Operations$List,
6047
6584
  options: StreamMethodOptions
6048
- ): GaxiosPromise<Readable>;
6585
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6049
6586
  list(
6050
6587
  params?: Params$Resource$Projects$Locations$Operations$List,
6051
6588
  options?: MethodOptions
6052
- ): GaxiosPromise<Schema$ListOperationsResponse>;
6589
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
6053
6590
  list(
6054
6591
  params: Params$Resource$Projects$Locations$Operations$List,
6055
6592
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6082,8 +6619,8 @@ export namespace alloydb_v1beta {
6082
6619
  | BodyResponseCallback<Readable>
6083
6620
  ):
6084
6621
  | void
6085
- | GaxiosPromise<Schema$ListOperationsResponse>
6086
- | GaxiosPromise<Readable> {
6622
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>
6623
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6087
6624
  let params = (paramsOrCallback ||
6088
6625
  {}) as Params$Resource$Projects$Locations$Operations$List;
6089
6626
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6186,11 +6723,13 @@ export namespace alloydb_v1beta {
6186
6723
  list(
6187
6724
  params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List,
6188
6725
  options: StreamMethodOptions
6189
- ): GaxiosPromise<Readable>;
6726
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6190
6727
  list(
6191
6728
  params?: Params$Resource$Projects$Locations$Supporteddatabaseflags$List,
6192
6729
  options?: MethodOptions
6193
- ): GaxiosPromise<Schema$ListSupportedDatabaseFlagsResponse>;
6730
+ ): Promise<
6731
+ GaxiosResponseWithHTTP2<Schema$ListSupportedDatabaseFlagsResponse>
6732
+ >;
6194
6733
  list(
6195
6734
  params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List,
6196
6735
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6225,8 +6764,10 @@ export namespace alloydb_v1beta {
6225
6764
  | BodyResponseCallback<Readable>
6226
6765
  ):
6227
6766
  | void
6228
- | GaxiosPromise<Schema$ListSupportedDatabaseFlagsResponse>
6229
- | GaxiosPromise<Readable> {
6767
+ | Promise<
6768
+ GaxiosResponseWithHTTP2<Schema$ListSupportedDatabaseFlagsResponse>
6769
+ >
6770
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6230
6771
  let params = (paramsOrCallback ||
6231
6772
  {}) as Params$Resource$Projects$Locations$Supporteddatabaseflags$List;
6232
6773
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6288,5 +6829,9 @@ export namespace alloydb_v1beta {
6288
6829
  * 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.
6289
6830
  */
6290
6831
  parent?: string;
6832
+ /**
6833
+ * Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
6834
+ */
6835
+ scope?: string;
6291
6836
  }
6292
6837
  }