@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.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
3
  import { Readable } from 'stream';
4
4
  export declare namespace alloydb_v1alpha {
5
5
  export interface Options extends GlobalOptions {
@@ -93,7 +93,7 @@ export declare namespace alloydb_v1alpha {
93
93
  */
94
94
  enabled?: boolean | null;
95
95
  /**
96
- * Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
96
+ * Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
97
97
  */
98
98
  encryptionConfig?: Schema$EncryptionConfig;
99
99
  /**
@@ -137,6 +137,10 @@ export declare namespace alloydb_v1alpha {
137
137
  * Output only. The system-generated UID of the cluster which was used to create this resource.
138
138
  */
139
139
  clusterUid?: string | null;
140
+ /**
141
+ * Output only. Timestamp when the resource finished being created.
142
+ */
143
+ createCompletionTime?: string | null;
140
144
  /**
141
145
  * Output only. Create time stamp
142
146
  */
@@ -222,7 +226,7 @@ export declare namespace alloydb_v1alpha {
222
226
  */
223
227
  uid?: string | null;
224
228
  /**
225
- * Output only. Update time stamp
229
+ * Output only. Update time stamp Users should not infer any meaning from this field. Its value is generally unrelated to the timing of the backup creation operation.
226
230
  */
227
231
  updateTime?: string | null;
228
232
  }
@@ -350,7 +354,7 @@ export declare namespace alloydb_v1alpha {
350
354
  */
351
355
  etag?: string | null;
352
356
  /**
353
- * Optional. Configuration parameters related to the Gemini in Databases add-on.
357
+ * Optional. Deprecated and unused. This field will be removed in the near future.
354
358
  */
355
359
  geminiConfig?: Schema$GeminiClusterConfig;
356
360
  /**
@@ -497,6 +501,61 @@ export declare namespace alloydb_v1alpha {
497
501
  */
498
502
  publicIpAddress?: string | null;
499
503
  }
504
+ /**
505
+ * Configuration for Managed Connection Pool (MCP).
506
+ */
507
+ export interface Schema$ConnectionPoolConfig {
508
+ /**
509
+ * Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to 20.
510
+ */
511
+ defaultPoolSize?: string | null;
512
+ /**
513
+ * Optional. Deprecated; Prefer 'enabled' as this will be removed soon.
514
+ */
515
+ enable?: boolean | null;
516
+ /**
517
+ * Optional. Whether to enable Managed Connection Pool (MCP).
518
+ */
519
+ enabled?: boolean | null;
520
+ /**
521
+ * Optional. Connection Pool flags, as a list of "key": "value" pairs.
522
+ */
523
+ flags?: {
524
+ [key: string]: string;
525
+ } | null;
526
+ /**
527
+ * Optional. Deprecated. Use 'flags' instead. The list of startup parameters to ignore. Defaults to ["extra_float_digits"]
528
+ */
529
+ ignoreStartupParameters?: string[] | null;
530
+ /**
531
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of client connections allowed.
532
+ */
533
+ maxClientConn?: string | null;
534
+ /**
535
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of prepared statements allowed. MCP makes sure that any statement prepared by a client, up to this limit, is available on the backing server connection in transaction and statement pooling mode. Even if the statement was originally prepared on another server connection. Defaults to 0.
536
+ */
537
+ maxPreparedStatements?: string | null;
538
+ /**
539
+ * Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to 0.
540
+ */
541
+ minPoolSize?: string | null;
542
+ /**
543
+ * Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `POOL_MODE_TRANSACTION`.
544
+ */
545
+ poolMode?: string | null;
546
+ /**
547
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of seconds queries are allowed to spend waiting for execution. If the query is not assigned to a server during that time, the client is disconnected. 0 disables.
548
+ */
549
+ queryWaitTimeout?: string | null;
550
+ /**
551
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a server is allowed to be idle before it is disconnected. 0 disables.
552
+ */
553
+ serverIdleTimeout?: string | null;
554
+ /**
555
+ * Optional. Deprecated. Use 'flags' instead. The list of users that are allowed to connect to the MCP stats console. The users must exist in the database.
556
+ */
557
+ statsUsers?: string[] | null;
558
+ }
500
559
  /**
501
560
  * ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
502
561
  */
@@ -506,7 +565,7 @@ export declare namespace alloydb_v1alpha {
506
565
  */
507
566
  enabled?: boolean | null;
508
567
  /**
509
- * The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
568
+ * The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
510
569
  */
511
570
  encryptionConfig?: Schema$EncryptionConfig;
512
571
  /**
@@ -519,7 +578,7 @@ export declare namespace alloydb_v1alpha {
519
578
  */
520
579
  export interface Schema$ContinuousBackupInfo {
521
580
  /**
522
- * Output only. The earliest restorable time that can be restored to. Output only field.
581
+ * 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.
523
582
  */
524
583
  earliestRestorableTime?: string | null;
525
584
  /**
@@ -531,7 +590,7 @@ export declare namespace alloydb_v1alpha {
531
590
  */
532
591
  encryptionInfo?: Schema$EncryptionInfo;
533
592
  /**
534
- * Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
593
+ * Output only. Days of the week on which a continuous backup is taken.
535
594
  */
536
595
  schedule?: string[] | null;
537
596
  }
@@ -569,6 +628,48 @@ export declare namespace alloydb_v1alpha {
569
628
  */
570
629
  selectQuery?: string | null;
571
630
  }
631
+ /**
632
+ * Options for importing data in CSV format.
633
+ */
634
+ export interface Schema$CsvImportOptions {
635
+ /**
636
+ * Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
637
+ */
638
+ columns?: string[] | null;
639
+ /**
640
+ * Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.
641
+ */
642
+ escapeCharacter?: string | null;
643
+ /**
644
+ * Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
645
+ */
646
+ fieldDelimiter?: string | null;
647
+ /**
648
+ * Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
649
+ */
650
+ quoteCharacter?: string | null;
651
+ /**
652
+ * Required. The database table to import CSV file into.
653
+ */
654
+ table?: string | null;
655
+ }
656
+ /**
657
+ * DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not be scheduled to start within this deny period. The start_date must be less than the end_date.
658
+ */
659
+ export interface Schema$DenyMaintenancePeriod {
660
+ /**
661
+ * Deny period end date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring
662
+ */
663
+ endDate?: Schema$GoogleTypeDate;
664
+ /**
665
+ * Deny period start date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring
666
+ */
667
+ startDate?: Schema$GoogleTypeDate;
668
+ /**
669
+ * Time in UTC when the deny period starts on start_date and ends on end_date. This can be: * Full time OR * All zeros for 00:00:00 UTC
670
+ */
671
+ time?: Schema$GoogleTypeTimeOfDay;
672
+ }
572
673
  /**
573
674
  * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
574
675
  */
@@ -630,6 +731,15 @@ export declare namespace alloydb_v1alpha {
630
731
  */
631
732
  validateOnly?: boolean | null;
632
733
  }
734
+ /**
735
+ * Instance level configuration parameters related to the Gemini Cloud Assist product.
736
+ */
737
+ export interface Schema$GCAInstanceConfig {
738
+ /**
739
+ * Output only. Represents the GCA entitlement state of the instance.
740
+ */
741
+ gcaEntitlement?: string | null;
742
+ }
633
743
  /**
634
744
  * Destination for Export. Export will be done to cloud storage.
635
745
  */
@@ -640,20 +750,20 @@ export declare namespace alloydb_v1alpha {
640
750
  uri?: string | null;
641
751
  }
642
752
  /**
643
- * Cluster level configuration parameters related to the Gemini in Databases add-on.
753
+ * Deprecated and unused. This field will be removed in the near future.
644
754
  */
645
755
  export interface Schema$GeminiClusterConfig {
646
756
  /**
647
- * Output only. Whether the Gemini in Databases add-on is enabled for the cluster. It will be true only if the add-on has been enabled for the billing account corresponding to the cluster. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
757
+ * Output only. Deprecated and unused. This field will be removed in the near future.
648
758
  */
649
759
  entitled?: boolean | null;
650
760
  }
651
761
  /**
652
- * Instance level configuration parameters related to the Gemini in Databases add-on.
762
+ * Deprecated and unused. This field will be removed in the near future.
653
763
  */
654
764
  export interface Schema$GeminiInstanceConfig {
655
765
  /**
656
- * Output only. Whether the Gemini in Databases add-on is enabled for the instance. It will be true only if the add-on has been enabled for the billing account corresponding to the instance. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
766
+ * Output only. Deprecated and unused. This field will be removed in the near future.
657
767
  */
658
768
  entitled?: boolean | null;
659
769
  }
@@ -699,6 +809,23 @@ export declare namespace alloydb_v1alpha {
699
809
  */
700
810
  name?: string | null;
701
811
  }
812
+ /**
813
+ * Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
814
+ */
815
+ export interface Schema$GoogleTypeDate {
816
+ /**
817
+ * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
818
+ */
819
+ day?: number | null;
820
+ /**
821
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
822
+ */
823
+ month?: number | null;
824
+ /**
825
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
826
+ */
827
+ year?: number | null;
828
+ }
702
829
  /**
703
830
  * Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
704
831
  */
@@ -720,6 +847,31 @@ export declare namespace alloydb_v1alpha {
720
847
  */
721
848
  seconds?: number | null;
722
849
  }
850
+ /**
851
+ * Import cluster request.
852
+ */
853
+ export interface Schema$ImportClusterRequest {
854
+ /**
855
+ * Options for importing data in CSV format.
856
+ */
857
+ csvImportOptions?: Schema$CsvImportOptions;
858
+ /**
859
+ * Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
860
+ */
861
+ database?: string | null;
862
+ /**
863
+ * Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.
864
+ */
865
+ gcsUri?: string | null;
866
+ /**
867
+ * Options for importing data in SQL format.
868
+ */
869
+ sqlImportOptions?: Schema$SqlImportOptions;
870
+ /**
871
+ * Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.
872
+ */
873
+ user?: string | null;
874
+ }
723
875
  /**
724
876
  * Message for triggering fault injection on an instance
725
877
  */
@@ -741,6 +893,10 @@ export declare namespace alloydb_v1alpha {
741
893
  * An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.
742
894
  */
743
895
  export interface Schema$Instance {
896
+ /**
897
+ * 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.
898
+ */
899
+ activationPolicy?: string | null;
744
900
  /**
745
901
  * Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
746
902
  */
@@ -755,6 +911,10 @@ export declare namespace alloydb_v1alpha {
755
911
  * Optional. Client connection specific configurations
756
912
  */
757
913
  clientConnectionConfig?: Schema$ClientConnectionConfig;
914
+ /**
915
+ * Optional. The configuration for Managed Connection Pool (MCP).
916
+ */
917
+ connectionPoolConfig?: Schema$ConnectionPoolConfig;
758
918
  /**
759
919
  * Output only. Create time stamp
760
920
  */
@@ -777,12 +937,16 @@ export declare namespace alloydb_v1alpha {
777
937
  * For Resource freshness validation (https://google.aip.dev/154)
778
938
  */
779
939
  etag?: string | null;
940
+ /**
941
+ * Output only. Configuration parameters related to Gemini Cloud Assist.
942
+ */
943
+ gcaConfig?: Schema$GCAInstanceConfig;
780
944
  /**
781
945
  * The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
782
946
  */
783
947
  gceZone?: string | null;
784
948
  /**
785
- * Optional. Configuration parameters related to the Gemini in Databases add-on.
949
+ * Optional. Deprecated and unused. This field will be removed in the near future.
786
950
  */
787
951
  geminiConfig?: Schema$GeminiInstanceConfig;
788
952
  /**
@@ -876,6 +1040,10 @@ export declare namespace alloydb_v1alpha {
876
1040
  * Metadata related to instance-level network configuration.
877
1041
  */
878
1042
  export interface Schema$InstanceNetworkConfig {
1043
+ /**
1044
+ * 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])?.
1045
+ */
1046
+ allocatedIpRangeOverride?: string | null;
879
1047
  /**
880
1048
  * Optional. A list of external network authorized to access this instance.
881
1049
  */
@@ -888,6 +1056,10 @@ export declare namespace alloydb_v1alpha {
888
1056
  * Optional. Enabling public ip for the instance.
889
1057
  */
890
1058
  enablePublicIp?: boolean | null;
1059
+ /**
1060
+ * 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\}`.
1061
+ */
1062
+ network?: string | null;
891
1063
  }
892
1064
  /**
893
1065
  * Details regarding the upgrade of instaces associated with a cluster.
@@ -1021,6 +1193,10 @@ export declare namespace alloydb_v1alpha {
1021
1193
  * The number of CPU's in the VM instance.
1022
1194
  */
1023
1195
  cpuCount?: number | null;
1196
+ /**
1197
+ * 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.
1198
+ */
1199
+ machineType?: string | null;
1024
1200
  }
1025
1201
  /**
1026
1202
  * MaintenanceSchedule stores the maintenance schedule generated from the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The schedule is cleared once the update takes place. This field cannot be manually changed; modify the MaintenanceUpdatePolicy instead.
@@ -1035,6 +1211,10 @@ export declare namespace alloydb_v1alpha {
1035
1211
  * MaintenanceUpdatePolicy defines the policy for system updates.
1036
1212
  */
1037
1213
  export interface Schema$MaintenanceUpdatePolicy {
1214
+ /**
1215
+ * Periods to deny maintenance. Currently limited to 1.
1216
+ */
1217
+ denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
1038
1218
  /**
1039
1219
  * Preferred windows to perform maintenance. Currently limited to 1.
1040
1220
  */
@@ -1084,7 +1264,7 @@ export declare namespace alloydb_v1alpha {
1084
1264
  network?: string | null;
1085
1265
  }
1086
1266
  /**
1087
- * Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.
1267
+ * Details of a single node in the instance. Nodes in an AlloyDB instance are ephemeral, they can change during update, failover, autohealing and resize operations.
1088
1268
  */
1089
1269
  export interface Schema$Node {
1090
1270
  /**
@@ -1108,6 +1288,10 @@ export declare namespace alloydb_v1alpha {
1108
1288
  * Observability Instance specific configuration.
1109
1289
  */
1110
1290
  export interface Schema$ObservabilityInstanceConfig {
1291
+ /**
1292
+ * Whether assistive experiences are enabled for this AlloyDB instance.
1293
+ */
1294
+ assistiveExperiencesEnabled?: boolean | null;
1111
1295
  /**
1112
1296
  * Observability feature status for an instance. This flag is turned "off" by default.
1113
1297
  */
@@ -1132,16 +1316,12 @@ export declare namespace alloydb_v1alpha {
1132
1316
  * Track actively running queries on the instance. If not set, this flag is "off" by default.
1133
1317
  */
1134
1318
  trackActiveQueries?: boolean | null;
1135
- /**
1136
- * Track client address for an instance. If not set, default value is "off".
1137
- */
1138
- trackClientAddress?: boolean | null;
1139
1319
  /**
1140
1320
  * Track wait events during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on.
1141
1321
  */
1142
1322
  trackWaitEvents?: boolean | null;
1143
1323
  /**
1144
- * Output only. Track wait event types during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on. This is read-only flag and only modifiable by producer API.
1324
+ * Output only. Track wait event types during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on. This is read-only flag and only modifiable by internal API.
1145
1325
  */
1146
1326
  trackWaitEventTypes?: boolean | null;
1147
1327
  }
@@ -1202,6 +1382,10 @@ export declare namespace alloydb_v1alpha {
1202
1382
  * Output only. Server-defined resource path for the target of the operation.
1203
1383
  */
1204
1384
  target?: string | null;
1385
+ /**
1386
+ * Output only. UpgradeClusterStatus related metadata.
1387
+ */
1388
+ upgradeClusterStatus?: Schema$UpgradeClusterStatus;
1205
1389
  /**
1206
1390
  * Output only. Name of the verb executed by the operation.
1207
1391
  */
@@ -1233,6 +1417,31 @@ export declare namespace alloydb_v1alpha {
1233
1417
  */
1234
1418
  validateOnly?: boolean | null;
1235
1419
  }
1420
+ /**
1421
+ * Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.
1422
+ */
1423
+ export interface Schema$PscAutoConnectionConfig {
1424
+ /**
1425
+ * 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.
1426
+ */
1427
+ consumerNetwork?: string | null;
1428
+ /**
1429
+ * 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.
1430
+ */
1431
+ consumerNetworkStatus?: string | null;
1432
+ /**
1433
+ * The consumer project to which the PSC service automation endpoint will be created.
1434
+ */
1435
+ consumerProject?: string | null;
1436
+ /**
1437
+ * Output only. The IP address of the PSC service automation endpoint.
1438
+ */
1439
+ ipAddress?: string | null;
1440
+ /**
1441
+ * 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.
1442
+ */
1443
+ status?: string | null;
1444
+ }
1236
1445
  /**
1237
1446
  * PscConfig contains PSC related configuration at a cluster level.
1238
1447
  */
@@ -1254,6 +1463,10 @@ export declare namespace alloydb_v1alpha {
1254
1463
  * Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
1255
1464
  */
1256
1465
  allowedConsumerProjects?: string[] | null;
1466
+ /**
1467
+ * Optional. Configurations for setting up PSC service automation.
1468
+ */
1469
+ pscAutoConnections?: Schema$PscAutoConnectionConfig[];
1257
1470
  /**
1258
1471
  * Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
1259
1472
  */
@@ -1328,6 +1541,15 @@ export declare namespace alloydb_v1alpha {
1328
1541
  */
1329
1542
  nodeCount?: number | null;
1330
1543
  }
1544
+ /**
1545
+ * Read pool instances upgrade specific status.
1546
+ */
1547
+ export interface Schema$ReadPoolInstancesUpgradeStageStatus {
1548
+ /**
1549
+ * Read pool instances upgrade statistics.
1550
+ */
1551
+ upgradeStats?: Schema$Stats;
1552
+ }
1331
1553
  export interface Schema$RestartInstanceRequest {
1332
1554
  /**
1333
1555
  * Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
@@ -1343,7 +1565,7 @@ export declare namespace alloydb_v1alpha {
1343
1565
  validateOnly?: boolean | null;
1344
1566
  }
1345
1567
  /**
1346
- * Message for restoring a Cluster from a backup or another cluster at a given point in time.
1568
+ * Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
1347
1569
  */
1348
1570
  export interface Schema$RestoreClusterRequest {
1349
1571
  /**
@@ -1418,6 +1640,11 @@ export declare namespace alloydb_v1alpha {
1418
1640
  */
1419
1641
  tables?: string[] | null;
1420
1642
  }
1643
+ /**
1644
+ * Options for importing data in SQL format.
1645
+ */
1646
+ export interface Schema$SqlImportOptions {
1647
+ }
1421
1648
  /**
1422
1649
  * SSL configuration.
1423
1650
  */
@@ -1448,6 +1675,44 @@ export declare namespace alloydb_v1alpha {
1448
1675
  */
1449
1676
  status?: string | null;
1450
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
+ }
1451
1716
  /**
1452
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).
1453
1718
  */
@@ -1649,7 +1914,7 @@ export declare namespace alloydb_v1alpha {
1649
1914
  uniqueId?: string | null;
1650
1915
  }
1651
1916
  /**
1652
- * Common model for database resource instance metadata. Next ID: 23
1917
+ * Common model for database resource instance metadata. Next ID: 25
1653
1918
  */
1654
1919
  export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
1655
1920
  /**
@@ -1688,6 +1953,10 @@ export declare namespace alloydb_v1alpha {
1688
1953
  * The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.
1689
1954
  */
1690
1955
  expectedState?: string | null;
1956
+ /**
1957
+ * GCBDR configuration for the resource.
1958
+ */
1959
+ gcbdrConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration;
1691
1960
  /**
1692
1961
  * Required. Unique identifier for a Database resource
1693
1962
  */
@@ -1724,6 +1993,10 @@ export declare namespace alloydb_v1alpha {
1724
1993
  * Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
1725
1994
  */
1726
1995
  resourceName?: string | null;
1996
+ /**
1997
+ * Optional. Suspension reason for the resource.
1998
+ */
1999
+ suspensionReason?: string | null;
1727
2000
  /**
1728
2001
  * Optional. Tags associated with this resources.
1729
2002
  */
@@ -1789,6 +2062,15 @@ export declare namespace alloydb_v1alpha {
1789
2062
  */
1790
2063
  type?: string | null;
1791
2064
  }
2065
+ /**
2066
+ * GCBDR Configuration for the resource.
2067
+ */
2068
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration {
2069
+ /**
2070
+ * Whether the resource is managed by GCBDR.
2071
+ */
2072
+ gcbdrManaged?: boolean | null;
2073
+ }
1792
2074
  /**
1793
2075
  * Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration settings. Similarly bigtable can have multiple clusters within same bigtable instance.
1794
2076
  */
@@ -1801,6 +2083,10 @@ export declare namespace alloydb_v1alpha {
1801
2083
  * Information about the last backup attempt for this database
1802
2084
  */
1803
2085
  backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
2086
+ /**
2087
+ * Whether deletion protection is enabled for this internal resource.
2088
+ */
2089
+ isDeletionProtectionEnabled?: boolean | null;
1804
2090
  product?: Schema$StorageDatabasecenterProtoCommonProduct;
1805
2091
  resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
1806
2092
  /**
@@ -1813,11 +2099,11 @@ export declare namespace alloydb_v1alpha {
1813
2099
  */
1814
2100
  export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
1815
2101
  /**
1816
- * The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2102
+ * The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.
1817
2103
  */
1818
2104
  cpuCount?: number | null;
1819
2105
  /**
1820
- * Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2106
+ * Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
1821
2107
  */
1822
2108
  memorySizeInBytes?: string | null;
1823
2109
  /**
@@ -1825,7 +2111,7 @@ export declare namespace alloydb_v1alpha {
1825
2111
  */
1826
2112
  shardCount?: number | null;
1827
2113
  /**
1828
- * Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2114
+ * Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.
1829
2115
  */
1830
2116
  vcpuCount?: number | null;
1831
2117
  }
@@ -1967,10 +2253,22 @@ export declare namespace alloydb_v1alpha {
1967
2253
  * The name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project\}/locations/{location\}/flags/{flag\} This field currently has no semantic meaning.
1968
2254
  */
1969
2255
  name?: string | null;
2256
+ /**
2257
+ * The recommended value for an INTEGER flag.
2258
+ */
2259
+ recommendedIntegerValue?: string | null;
2260
+ /**
2261
+ * The recommended value for a STRING flag.
2262
+ */
2263
+ recommendedStringValue?: string | null;
1970
2264
  /**
1971
2265
  * Whether setting or updating this flag on an Instance requires a database restart. If a flag that requires database restart is set, the backend will automatically restart the database (making sure to satisfy any availability SLO's).
1972
2266
  */
1973
2267
  requiresDbRestart?: boolean | null;
2268
+ /**
2269
+ * The scope of the flag.
2270
+ */
2271
+ scope?: string | null;
1974
2272
  /**
1975
2273
  * Restriction on STRING type value.
1976
2274
  */
@@ -2071,6 +2369,31 @@ export declare namespace alloydb_v1alpha {
2071
2369
  */
2072
2370
  status?: string | null;
2073
2371
  }
2372
+ /**
2373
+ * Message for current status of the Major Version Upgrade operation.
2374
+ */
2375
+ export interface Schema$UpgradeClusterStatus {
2376
+ /**
2377
+ * Whether the operation is cancellable.
2378
+ */
2379
+ cancellable?: boolean | null;
2380
+ /**
2381
+ * Source database major version.
2382
+ */
2383
+ sourceVersion?: string | null;
2384
+ /**
2385
+ * Status of all upgrade stages.
2386
+ */
2387
+ stages?: Schema$StageStatus[];
2388
+ /**
2389
+ * Cluster Major Version Upgrade state.
2390
+ */
2391
+ state?: string | null;
2392
+ /**
2393
+ * Target database major version.
2394
+ */
2395
+ targetVersion?: string | null;
2396
+ }
2074
2397
  /**
2075
2398
  * Message describing User object.
2076
2399
  */
@@ -2142,8 +2465,8 @@ export declare namespace alloydb_v1alpha {
2142
2465
  * @param callback - Optional callback that handles the response.
2143
2466
  * @returns A promise if used with async/await, or void if used with a callback.
2144
2467
  */
2145
- get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2146
- get(params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudLocationLocation>;
2468
+ get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2469
+ get(params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationLocation>>;
2147
2470
  get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2148
2471
  get(params: Params$Resource$Projects$Locations$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudLocationLocation>, callback: BodyResponseCallback<Schema$GoogleCloudLocationLocation>): void;
2149
2472
  get(params: Params$Resource$Projects$Locations$Get, callback: BodyResponseCallback<Schema$GoogleCloudLocationLocation>): void;
@@ -2156,8 +2479,8 @@ export declare namespace alloydb_v1alpha {
2156
2479
  * @param callback - Optional callback that handles the response.
2157
2480
  * @returns A promise if used with async/await, or void if used with a callback.
2158
2481
  */
2159
- list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2160
- list(params?: Params$Resource$Projects$Locations$List, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudLocationListLocationsResponse>;
2482
+ list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2483
+ list(params?: Params$Resource$Projects$Locations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationListLocationsResponse>>;
2161
2484
  list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2162
2485
  list(params: Params$Resource$Projects$Locations$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudLocationListLocationsResponse>, callback: BodyResponseCallback<Schema$GoogleCloudLocationListLocationsResponse>): void;
2163
2486
  list(params: Params$Resource$Projects$Locations$List, callback: BodyResponseCallback<Schema$GoogleCloudLocationListLocationsResponse>): void;
@@ -2170,6 +2493,10 @@ export declare namespace alloydb_v1alpha {
2170
2493
  name?: string;
2171
2494
  }
2172
2495
  export interface Params$Resource$Projects$Locations$List extends StandardParameters {
2496
+ /**
2497
+ * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2498
+ */
2499
+ extraLocationTypes?: string[];
2173
2500
  /**
2174
2501
  * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
2175
2502
  */
@@ -2198,8 +2525,8 @@ export declare namespace alloydb_v1alpha {
2198
2525
  * @param callback - Optional callback that handles the response.
2199
2526
  * @returns A promise if used with async/await, or void if used with a callback.
2200
2527
  */
2201
- create(params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2202
- create(params?: Params$Resource$Projects$Locations$Backups$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2528
+ create(params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2529
+ create(params?: Params$Resource$Projects$Locations$Backups$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2203
2530
  create(params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2204
2531
  create(params: Params$Resource$Projects$Locations$Backups$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2205
2532
  create(params: Params$Resource$Projects$Locations$Backups$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2212,8 +2539,8 @@ export declare namespace alloydb_v1alpha {
2212
2539
  * @param callback - Optional callback that handles the response.
2213
2540
  * @returns A promise if used with async/await, or void if used with a callback.
2214
2541
  */
2215
- delete(params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2216
- delete(params?: Params$Resource$Projects$Locations$Backups$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2542
+ delete(params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2543
+ delete(params?: Params$Resource$Projects$Locations$Backups$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2217
2544
  delete(params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2218
2545
  delete(params: Params$Resource$Projects$Locations$Backups$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2219
2546
  delete(params: Params$Resource$Projects$Locations$Backups$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2226,8 +2553,8 @@ export declare namespace alloydb_v1alpha {
2226
2553
  * @param callback - Optional callback that handles the response.
2227
2554
  * @returns A promise if used with async/await, or void if used with a callback.
2228
2555
  */
2229
- get(params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2230
- get(params?: Params$Resource$Projects$Locations$Backups$Get, options?: MethodOptions): GaxiosPromise<Schema$Backup>;
2556
+ get(params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2557
+ get(params?: Params$Resource$Projects$Locations$Backups$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Backup>>;
2231
2558
  get(params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2232
2559
  get(params: Params$Resource$Projects$Locations$Backups$Get, options: MethodOptions | BodyResponseCallback<Schema$Backup>, callback: BodyResponseCallback<Schema$Backup>): void;
2233
2560
  get(params: Params$Resource$Projects$Locations$Backups$Get, callback: BodyResponseCallback<Schema$Backup>): void;
@@ -2240,8 +2567,8 @@ export declare namespace alloydb_v1alpha {
2240
2567
  * @param callback - Optional callback that handles the response.
2241
2568
  * @returns A promise if used with async/await, or void if used with a callback.
2242
2569
  */
2243
- list(params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2244
- list(params?: Params$Resource$Projects$Locations$Backups$List, options?: MethodOptions): GaxiosPromise<Schema$ListBackupsResponse>;
2570
+ list(params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2571
+ list(params?: Params$Resource$Projects$Locations$Backups$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupsResponse>>;
2245
2572
  list(params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2246
2573
  list(params: Params$Resource$Projects$Locations$Backups$List, options: MethodOptions | BodyResponseCallback<Schema$ListBackupsResponse>, callback: BodyResponseCallback<Schema$ListBackupsResponse>): void;
2247
2574
  list(params: Params$Resource$Projects$Locations$Backups$List, callback: BodyResponseCallback<Schema$ListBackupsResponse>): void;
@@ -2254,8 +2581,8 @@ export declare namespace alloydb_v1alpha {
2254
2581
  * @param callback - Optional callback that handles the response.
2255
2582
  * @returns A promise if used with async/await, or void if used with a callback.
2256
2583
  */
2257
- patch(params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2258
- patch(params?: Params$Resource$Projects$Locations$Backups$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2584
+ patch(params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2585
+ patch(params?: Params$Resource$Projects$Locations$Backups$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2259
2586
  patch(params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2260
2587
  patch(params: Params$Resource$Projects$Locations$Backups$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2261
2588
  patch(params: Params$Resource$Projects$Locations$Backups$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2368,8 +2695,8 @@ export declare namespace alloydb_v1alpha {
2368
2695
  * @param callback - Optional callback that handles the response.
2369
2696
  * @returns A promise if used with async/await, or void if used with a callback.
2370
2697
  */
2371
- create(params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2372
- create(params?: Params$Resource$Projects$Locations$Clusters$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2698
+ create(params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2699
+ create(params?: Params$Resource$Projects$Locations$Clusters$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2373
2700
  create(params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2374
2701
  create(params: Params$Resource$Projects$Locations$Clusters$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2375
2702
  create(params: Params$Resource$Projects$Locations$Clusters$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2382,8 +2709,8 @@ export declare namespace alloydb_v1alpha {
2382
2709
  * @param callback - Optional callback that handles the response.
2383
2710
  * @returns A promise if used with async/await, or void if used with a callback.
2384
2711
  */
2385
- createsecondary(params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: StreamMethodOptions): GaxiosPromise<Readable>;
2386
- createsecondary(params?: Params$Resource$Projects$Locations$Clusters$Createsecondary, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2712
+ createsecondary(params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2713
+ createsecondary(params?: Params$Resource$Projects$Locations$Clusters$Createsecondary, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2387
2714
  createsecondary(params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2388
2715
  createsecondary(params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2389
2716
  createsecondary(params: Params$Resource$Projects$Locations$Clusters$Createsecondary, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2396,8 +2723,8 @@ export declare namespace alloydb_v1alpha {
2396
2723
  * @param callback - Optional callback that handles the response.
2397
2724
  * @returns A promise if used with async/await, or void if used with a callback.
2398
2725
  */
2399
- delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2400
- delete(params?: Params$Resource$Projects$Locations$Clusters$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2726
+ delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2727
+ delete(params?: Params$Resource$Projects$Locations$Clusters$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2401
2728
  delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2402
2729
  delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2403
2730
  delete(params: Params$Resource$Projects$Locations$Clusters$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2410,8 +2737,8 @@ export declare namespace alloydb_v1alpha {
2410
2737
  * @param callback - Optional callback that handles the response.
2411
2738
  * @returns A promise if used with async/await, or void if used with a callback.
2412
2739
  */
2413
- export(params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions): GaxiosPromise<Readable>;
2414
- export(params?: Params$Resource$Projects$Locations$Clusters$Export, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2740
+ export(params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2741
+ export(params?: Params$Resource$Projects$Locations$Clusters$Export, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2415
2742
  export(params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2416
2743
  export(params: Params$Resource$Projects$Locations$Clusters$Export, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2417
2744
  export(params: Params$Resource$Projects$Locations$Clusters$Export, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2424,12 +2751,26 @@ export declare namespace alloydb_v1alpha {
2424
2751
  * @param callback - Optional callback that handles the response.
2425
2752
  * @returns A promise if used with async/await, or void if used with a callback.
2426
2753
  */
2427
- get(params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2428
- get(params?: Params$Resource$Projects$Locations$Clusters$Get, options?: MethodOptions): GaxiosPromise<Schema$Cluster>;
2754
+ get(params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2755
+ get(params?: Params$Resource$Projects$Locations$Clusters$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Cluster>>;
2429
2756
  get(params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2430
2757
  get(params: Params$Resource$Projects$Locations$Clusters$Get, options: MethodOptions | BodyResponseCallback<Schema$Cluster>, callback: BodyResponseCallback<Schema$Cluster>): void;
2431
2758
  get(params: Params$Resource$Projects$Locations$Clusters$Get, callback: BodyResponseCallback<Schema$Cluster>): void;
2432
2759
  get(callback: BodyResponseCallback<Schema$Cluster>): void;
2760
+ /**
2761
+ * Imports data to the cluster. Imperative only.
2762
+ *
2763
+ * @param params - Parameters for request
2764
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2765
+ * @param callback - Optional callback that handles the response.
2766
+ * @returns A promise if used with async/await, or void if used with a callback.
2767
+ */
2768
+ import(params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2769
+ import(params?: Params$Resource$Projects$Locations$Clusters$Import, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2770
+ import(params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2771
+ import(params: Params$Resource$Projects$Locations$Clusters$Import, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2772
+ import(params: Params$Resource$Projects$Locations$Clusters$Import, callback: BodyResponseCallback<Schema$Operation>): void;
2773
+ import(callback: BodyResponseCallback<Schema$Operation>): void;
2433
2774
  /**
2434
2775
  * Lists Clusters in a given project and location.
2435
2776
  *
@@ -2438,8 +2779,8 @@ export declare namespace alloydb_v1alpha {
2438
2779
  * @param callback - Optional callback that handles the response.
2439
2780
  * @returns A promise if used with async/await, or void if used with a callback.
2440
2781
  */
2441
- list(params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2442
- list(params?: Params$Resource$Projects$Locations$Clusters$List, options?: MethodOptions): GaxiosPromise<Schema$ListClustersResponse>;
2782
+ list(params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2783
+ list(params?: Params$Resource$Projects$Locations$Clusters$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListClustersResponse>>;
2443
2784
  list(params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2444
2785
  list(params: Params$Resource$Projects$Locations$Clusters$List, options: MethodOptions | BodyResponseCallback<Schema$ListClustersResponse>, callback: BodyResponseCallback<Schema$ListClustersResponse>): void;
2445
2786
  list(params: Params$Resource$Projects$Locations$Clusters$List, callback: BodyResponseCallback<Schema$ListClustersResponse>): void;
@@ -2452,8 +2793,8 @@ export declare namespace alloydb_v1alpha {
2452
2793
  * @param callback - Optional callback that handles the response.
2453
2794
  * @returns A promise if used with async/await, or void if used with a callback.
2454
2795
  */
2455
- patch(params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2456
- patch(params?: Params$Resource$Projects$Locations$Clusters$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2796
+ patch(params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2797
+ patch(params?: Params$Resource$Projects$Locations$Clusters$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2457
2798
  patch(params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2458
2799
  patch(params: Params$Resource$Projects$Locations$Clusters$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2459
2800
  patch(params: Params$Resource$Projects$Locations$Clusters$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2466,8 +2807,8 @@ export declare namespace alloydb_v1alpha {
2466
2807
  * @param callback - Optional callback that handles the response.
2467
2808
  * @returns A promise if used with async/await, or void if used with a callback.
2468
2809
  */
2469
- promote(params: Params$Resource$Projects$Locations$Clusters$Promote, options: StreamMethodOptions): GaxiosPromise<Readable>;
2470
- promote(params?: Params$Resource$Projects$Locations$Clusters$Promote, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2810
+ promote(params: Params$Resource$Projects$Locations$Clusters$Promote, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2811
+ promote(params?: Params$Resource$Projects$Locations$Clusters$Promote, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2471
2812
  promote(params: Params$Resource$Projects$Locations$Clusters$Promote, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2472
2813
  promote(params: Params$Resource$Projects$Locations$Clusters$Promote, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2473
2814
  promote(params: Params$Resource$Projects$Locations$Clusters$Promote, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2480,8 +2821,8 @@ export declare namespace alloydb_v1alpha {
2480
2821
  * @param callback - Optional callback that handles the response.
2481
2822
  * @returns A promise if used with async/await, or void if used with a callback.
2482
2823
  */
2483
- restore(params: Params$Resource$Projects$Locations$Clusters$Restore, options: StreamMethodOptions): GaxiosPromise<Readable>;
2484
- restore(params?: Params$Resource$Projects$Locations$Clusters$Restore, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2824
+ restore(params: Params$Resource$Projects$Locations$Clusters$Restore, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2825
+ restore(params?: Params$Resource$Projects$Locations$Clusters$Restore, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2485
2826
  restore(params: Params$Resource$Projects$Locations$Clusters$Restore, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2486
2827
  restore(params: Params$Resource$Projects$Locations$Clusters$Restore, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2487
2828
  restore(params: Params$Resource$Projects$Locations$Clusters$Restore, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2494,8 +2835,8 @@ export declare namespace alloydb_v1alpha {
2494
2835
  * @param callback - Optional callback that handles the response.
2495
2836
  * @returns A promise if used with async/await, or void if used with a callback.
2496
2837
  */
2497
- restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions): GaxiosPromise<Readable>;
2498
- restoreFromCloudSQL(params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2838
+ restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2839
+ restoreFromCloudSQL(params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2499
2840
  restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2500
2841
  restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2501
2842
  restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2508,8 +2849,8 @@ export declare namespace alloydb_v1alpha {
2508
2849
  * @param callback - Optional callback that handles the response.
2509
2850
  * @returns A promise if used with async/await, or void if used with a callback.
2510
2851
  */
2511
- switchover(params: Params$Resource$Projects$Locations$Clusters$Switchover, options: StreamMethodOptions): GaxiosPromise<Readable>;
2512
- switchover(params?: Params$Resource$Projects$Locations$Clusters$Switchover, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2852
+ switchover(params: Params$Resource$Projects$Locations$Clusters$Switchover, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2853
+ switchover(params?: Params$Resource$Projects$Locations$Clusters$Switchover, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2513
2854
  switchover(params: Params$Resource$Projects$Locations$Clusters$Switchover, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2514
2855
  switchover(params: Params$Resource$Projects$Locations$Clusters$Switchover, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2515
2856
  switchover(params: Params$Resource$Projects$Locations$Clusters$Switchover, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2522,8 +2863,8 @@ export declare namespace alloydb_v1alpha {
2522
2863
  * @param callback - Optional callback that handles the response.
2523
2864
  * @returns A promise if used with async/await, or void if used with a callback.
2524
2865
  */
2525
- upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions): GaxiosPromise<Readable>;
2526
- upgrade(params?: Params$Resource$Projects$Locations$Clusters$Upgrade, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2866
+ upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2867
+ upgrade(params?: Params$Resource$Projects$Locations$Clusters$Upgrade, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2527
2868
  upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2528
2869
  upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2529
2870
  upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2615,6 +2956,16 @@ export declare namespace alloydb_v1alpha {
2615
2956
  */
2616
2957
  view?: string;
2617
2958
  }
2959
+ export interface Params$Resource$Projects$Locations$Clusters$Import extends StandardParameters {
2960
+ /**
2961
+ * Required. The resource name of the cluster.
2962
+ */
2963
+ name?: string;
2964
+ /**
2965
+ * Request body metadata
2966
+ */
2967
+ requestBody?: Schema$ImportClusterRequest;
2968
+ }
2618
2969
  export interface Params$Resource$Projects$Locations$Clusters$List extends StandardParameters {
2619
2970
  /**
2620
2971
  * Optional. Filtering results
@@ -2724,8 +3075,8 @@ export declare namespace alloydb_v1alpha {
2724
3075
  * @param callback - Optional callback that handles the response.
2725
3076
  * @returns A promise if used with async/await, or void if used with a callback.
2726
3077
  */
2727
- create(params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2728
- create(params?: Params$Resource$Projects$Locations$Clusters$Instances$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3078
+ create(params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3079
+ create(params?: Params$Resource$Projects$Locations$Clusters$Instances$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2729
3080
  create(params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2730
3081
  create(params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2731
3082
  create(params: Params$Resource$Projects$Locations$Clusters$Instances$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2738,8 +3089,8 @@ export declare namespace alloydb_v1alpha {
2738
3089
  * @param callback - Optional callback that handles the response.
2739
3090
  * @returns A promise if used with async/await, or void if used with a callback.
2740
3091
  */
2741
- createsecondary(params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: StreamMethodOptions): GaxiosPromise<Readable>;
2742
- createsecondary(params?: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3092
+ createsecondary(params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3093
+ createsecondary(params?: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2743
3094
  createsecondary(params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2744
3095
  createsecondary(params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2745
3096
  createsecondary(params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2752,8 +3103,8 @@ export declare namespace alloydb_v1alpha {
2752
3103
  * @param callback - Optional callback that handles the response.
2753
3104
  * @returns A promise if used with async/await, or void if used with a callback.
2754
3105
  */
2755
- delete(params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2756
- delete(params?: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3106
+ delete(params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3107
+ delete(params?: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2757
3108
  delete(params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2758
3109
  delete(params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2759
3110
  delete(params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2766,8 +3117,8 @@ export declare namespace alloydb_v1alpha {
2766
3117
  * @param callback - Optional callback that handles the response.
2767
3118
  * @returns A promise if used with async/await, or void if used with a callback.
2768
3119
  */
2769
- failover(params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: StreamMethodOptions): GaxiosPromise<Readable>;
2770
- failover(params?: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3120
+ failover(params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3121
+ failover(params?: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2771
3122
  failover(params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2772
3123
  failover(params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2773
3124
  failover(params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2780,8 +3131,8 @@ export declare namespace alloydb_v1alpha {
2780
3131
  * @param callback - Optional callback that handles the response.
2781
3132
  * @returns A promise if used with async/await, or void if used with a callback.
2782
3133
  */
2783
- get(params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2784
- get(params?: Params$Resource$Projects$Locations$Clusters$Instances$Get, options?: MethodOptions): GaxiosPromise<Schema$Instance>;
3134
+ get(params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3135
+ get(params?: Params$Resource$Projects$Locations$Clusters$Instances$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Instance>>;
2785
3136
  get(params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2786
3137
  get(params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: MethodOptions | BodyResponseCallback<Schema$Instance>, callback: BodyResponseCallback<Schema$Instance>): void;
2787
3138
  get(params: Params$Resource$Projects$Locations$Clusters$Instances$Get, callback: BodyResponseCallback<Schema$Instance>): void;
@@ -2794,8 +3145,8 @@ export declare namespace alloydb_v1alpha {
2794
3145
  * @param callback - Optional callback that handles the response.
2795
3146
  * @returns A promise if used with async/await, or void if used with a callback.
2796
3147
  */
2797
- getConnectionInfo(params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: StreamMethodOptions): GaxiosPromise<Readable>;
2798
- getConnectionInfo(params?: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options?: MethodOptions): GaxiosPromise<Schema$ConnectionInfo>;
3148
+ getConnectionInfo(params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3149
+ getConnectionInfo(params?: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ConnectionInfo>>;
2799
3150
  getConnectionInfo(params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2800
3151
  getConnectionInfo(params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: MethodOptions | BodyResponseCallback<Schema$ConnectionInfo>, callback: BodyResponseCallback<Schema$ConnectionInfo>): void;
2801
3152
  getConnectionInfo(params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, callback: BodyResponseCallback<Schema$ConnectionInfo>): void;
@@ -2808,8 +3159,8 @@ export declare namespace alloydb_v1alpha {
2808
3159
  * @param callback - Optional callback that handles the response.
2809
3160
  * @returns A promise if used with async/await, or void if used with a callback.
2810
3161
  */
2811
- injectFault(params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: StreamMethodOptions): GaxiosPromise<Readable>;
2812
- injectFault(params?: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3162
+ injectFault(params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3163
+ injectFault(params?: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2813
3164
  injectFault(params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2814
3165
  injectFault(params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2815
3166
  injectFault(params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2822,8 +3173,8 @@ export declare namespace alloydb_v1alpha {
2822
3173
  * @param callback - Optional callback that handles the response.
2823
3174
  * @returns A promise if used with async/await, or void if used with a callback.
2824
3175
  */
2825
- list(params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2826
- list(params?: Params$Resource$Projects$Locations$Clusters$Instances$List, options?: MethodOptions): GaxiosPromise<Schema$ListInstancesResponse>;
3176
+ list(params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3177
+ list(params?: Params$Resource$Projects$Locations$Clusters$Instances$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancesResponse>>;
2827
3178
  list(params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2828
3179
  list(params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstancesResponse>, callback: BodyResponseCallback<Schema$ListInstancesResponse>): void;
2829
3180
  list(params: Params$Resource$Projects$Locations$Clusters$Instances$List, callback: BodyResponseCallback<Schema$ListInstancesResponse>): void;
@@ -2836,8 +3187,8 @@ export declare namespace alloydb_v1alpha {
2836
3187
  * @param callback - Optional callback that handles the response.
2837
3188
  * @returns A promise if used with async/await, or void if used with a callback.
2838
3189
  */
2839
- patch(params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2840
- patch(params?: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3190
+ patch(params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3191
+ patch(params?: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2841
3192
  patch(params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2842
3193
  patch(params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2843
3194
  patch(params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2850,8 +3201,8 @@ export declare namespace alloydb_v1alpha {
2850
3201
  * @param callback - Optional callback that handles the response.
2851
3202
  * @returns A promise if used with async/await, or void if used with a callback.
2852
3203
  */
2853
- restart(params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: StreamMethodOptions): GaxiosPromise<Readable>;
2854
- restart(params?: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3204
+ restart(params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3205
+ restart(params?: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2855
3206
  restart(params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2856
3207
  restart(params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2857
3208
  restart(params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3028,8 +3379,8 @@ export declare namespace alloydb_v1alpha {
3028
3379
  * @param callback - Optional callback that handles the response.
3029
3380
  * @returns A promise if used with async/await, or void if used with a callback.
3030
3381
  */
3031
- create(params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
3032
- create(params?: Params$Resource$Projects$Locations$Clusters$Users$Create, options?: MethodOptions): GaxiosPromise<Schema$User>;
3382
+ create(params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3383
+ create(params?: Params$Resource$Projects$Locations$Clusters$Users$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
3033
3384
  create(params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3034
3385
  create(params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: MethodOptions | BodyResponseCallback<Schema$User>, callback: BodyResponseCallback<Schema$User>): void;
3035
3386
  create(params: Params$Resource$Projects$Locations$Clusters$Users$Create, callback: BodyResponseCallback<Schema$User>): void;
@@ -3042,8 +3393,8 @@ export declare namespace alloydb_v1alpha {
3042
3393
  * @param callback - Optional callback that handles the response.
3043
3394
  * @returns A promise if used with async/await, or void if used with a callback.
3044
3395
  */
3045
- delete(params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
3046
- delete(params?: Params$Resource$Projects$Locations$Clusters$Users$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
3396
+ delete(params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3397
+ delete(params?: Params$Resource$Projects$Locations$Clusters$Users$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3047
3398
  delete(params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3048
3399
  delete(params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3049
3400
  delete(params: Params$Resource$Projects$Locations$Clusters$Users$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -3056,8 +3407,8 @@ export declare namespace alloydb_v1alpha {
3056
3407
  * @param callback - Optional callback that handles the response.
3057
3408
  * @returns A promise if used with async/await, or void if used with a callback.
3058
3409
  */
3059
- get(params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3060
- get(params?: Params$Resource$Projects$Locations$Clusters$Users$Get, options?: MethodOptions): GaxiosPromise<Schema$User>;
3410
+ get(params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3411
+ get(params?: Params$Resource$Projects$Locations$Clusters$Users$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
3061
3412
  get(params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3062
3413
  get(params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: MethodOptions | BodyResponseCallback<Schema$User>, callback: BodyResponseCallback<Schema$User>): void;
3063
3414
  get(params: Params$Resource$Projects$Locations$Clusters$Users$Get, callback: BodyResponseCallback<Schema$User>): void;
@@ -3070,8 +3421,8 @@ export declare namespace alloydb_v1alpha {
3070
3421
  * @param callback - Optional callback that handles the response.
3071
3422
  * @returns A promise if used with async/await, or void if used with a callback.
3072
3423
  */
3073
- list(params: Params$Resource$Projects$Locations$Clusters$Users$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3074
- list(params?: Params$Resource$Projects$Locations$Clusters$Users$List, options?: MethodOptions): GaxiosPromise<Schema$ListUsersResponse>;
3424
+ list(params: Params$Resource$Projects$Locations$Clusters$Users$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3425
+ list(params?: Params$Resource$Projects$Locations$Clusters$Users$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListUsersResponse>>;
3075
3426
  list(params: Params$Resource$Projects$Locations$Clusters$Users$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3076
3427
  list(params: Params$Resource$Projects$Locations$Clusters$Users$List, options: MethodOptions | BodyResponseCallback<Schema$ListUsersResponse>, callback: BodyResponseCallback<Schema$ListUsersResponse>): void;
3077
3428
  list(params: Params$Resource$Projects$Locations$Clusters$Users$List, callback: BodyResponseCallback<Schema$ListUsersResponse>): void;
@@ -3084,8 +3435,8 @@ export declare namespace alloydb_v1alpha {
3084
3435
  * @param callback - Optional callback that handles the response.
3085
3436
  * @returns A promise if used with async/await, or void if used with a callback.
3086
3437
  */
3087
- patch(params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
3088
- patch(params?: Params$Resource$Projects$Locations$Clusters$Users$Patch, options?: MethodOptions): GaxiosPromise<Schema$User>;
3438
+ patch(params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3439
+ patch(params?: Params$Resource$Projects$Locations$Clusters$Users$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
3089
3440
  patch(params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3090
3441
  patch(params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: MethodOptions | BodyResponseCallback<Schema$User>, callback: BodyResponseCallback<Schema$User>): void;
3091
3442
  patch(params: Params$Resource$Projects$Locations$Clusters$Users$Patch, callback: BodyResponseCallback<Schema$User>): void;
@@ -3192,8 +3543,8 @@ export declare namespace alloydb_v1alpha {
3192
3543
  * @param callback - Optional callback that handles the response.
3193
3544
  * @returns A promise if used with async/await, or void if used with a callback.
3194
3545
  */
3195
- cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
3196
- cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
3546
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3547
+ cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3197
3548
  cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3198
3549
  cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3199
3550
  cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -3206,8 +3557,8 @@ export declare namespace alloydb_v1alpha {
3206
3557
  * @param callback - Optional callback that handles the response.
3207
3558
  * @returns A promise if used with async/await, or void if used with a callback.
3208
3559
  */
3209
- delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
3210
- delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
3560
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3561
+ delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3211
3562
  delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3212
3563
  delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3213
3564
  delete(params: Params$Resource$Projects$Locations$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -3220,8 +3571,8 @@ export declare namespace alloydb_v1alpha {
3220
3571
  * @param callback - Optional callback that handles the response.
3221
3572
  * @returns A promise if used with async/await, or void if used with a callback.
3222
3573
  */
3223
- get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3224
- get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3574
+ get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3575
+ get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3225
3576
  get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3226
3577
  get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3227
3578
  get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3234,8 +3585,8 @@ export declare namespace alloydb_v1alpha {
3234
3585
  * @param callback - Optional callback that handles the response.
3235
3586
  * @returns A promise if used with async/await, or void if used with a callback.
3236
3587
  */
3237
- list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3238
- list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): GaxiosPromise<Schema$ListOperationsResponse>;
3588
+ list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3589
+ list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
3239
3590
  list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3240
3591
  list(params: Params$Resource$Projects$Locations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
3241
3592
  list(params: Params$Resource$Projects$Locations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
@@ -3292,8 +3643,8 @@ export declare namespace alloydb_v1alpha {
3292
3643
  * @param callback - Optional callback that handles the response.
3293
3644
  * @returns A promise if used with async/await, or void if used with a callback.
3294
3645
  */
3295
- list(params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3296
- list(params?: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options?: MethodOptions): GaxiosPromise<Schema$ListSupportedDatabaseFlagsResponse>;
3646
+ list(params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3647
+ list(params?: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListSupportedDatabaseFlagsResponse>>;
3297
3648
  list(params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3298
3649
  list(params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: MethodOptions | BodyResponseCallback<Schema$ListSupportedDatabaseFlagsResponse>, callback: BodyResponseCallback<Schema$ListSupportedDatabaseFlagsResponse>): void;
3299
3650
  list(params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, callback: BodyResponseCallback<Schema$ListSupportedDatabaseFlagsResponse>): void;
@@ -3312,6 +3663,10 @@ export declare namespace alloydb_v1alpha {
3312
3663
  * Required. The name of the parent resource. The required format is: * projects/{project\}/locations/{location\} Regardless of the parent specified here, as long it is contains a valid project and location, the service will return a static list of supported flags resources. Note that we do not yet support region-specific flags.
3313
3664
  */
3314
3665
  parent?: string;
3666
+ /**
3667
+ * Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
3668
+ */
3669
+ scope?: string;
3315
3670
  }
3316
3671
  export {};
3317
3672
  }