@googleapis/alloydb 11.1.0 → 12.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v1beta.ts CHANGED
@@ -146,7 +146,7 @@ export namespace alloydb_v1beta {
146
146
  */
147
147
  enabled?: boolean | null;
148
148
  /**
149
- * Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
149
+ * Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
150
150
  */
151
151
  encryptionConfig?: Schema$EncryptionConfig;
152
152
  /**
@@ -186,6 +186,10 @@ export namespace alloydb_v1beta {
186
186
  * Output only. The system-generated UID of the cluster which was used to create this resource.
187
187
  */
188
188
  clusterUid?: string | null;
189
+ /**
190
+ * Output only. Timestamp when the resource finished being created.
191
+ */
192
+ createCompletionTime?: string | null;
189
193
  /**
190
194
  * Output only. Create time stamp
191
195
  */
@@ -250,6 +254,10 @@ export namespace alloydb_v1beta {
250
254
  * Output only. The current state of the backup.
251
255
  */
252
256
  state?: string | null;
257
+ /**
258
+ * Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
259
+ */
260
+ tags?: {[key: string]: string} | null;
253
261
  /**
254
262
  * The backup type, which suggests the trigger for the backup.
255
263
  */
@@ -259,7 +267,7 @@ export namespace alloydb_v1beta {
259
267
  */
260
268
  uid?: string | null;
261
269
  /**
262
- * Output only. Update time stamp
270
+ * Output only. Update time stamp Users should not infer any meaning from this field. Its value is generally unrelated to the timing of the backup creation operation.
263
271
  */
264
272
  updateTime?: string | null;
265
273
  }
@@ -285,7 +293,7 @@ export namespace alloydb_v1beta {
285
293
  */
286
294
  requireConnectors?: boolean | null;
287
295
  /**
288
- * Optional. SSL config option for this instance.
296
+ * Optional. SSL configuration option for this instance.
289
297
  */
290
298
  sslConfig?: Schema$SslConfig;
291
299
  }
@@ -380,7 +388,7 @@ export namespace alloydb_v1beta {
380
388
  */
381
389
  etag?: string | null;
382
390
  /**
383
- * Optional. Configuration parameters related to the Gemini in Databases add-on.
391
+ * Optional. Deprecated and unused. This field will be removed in the near future.
384
392
  */
385
393
  geminiConfig?: Schema$GeminiClusterConfig;
386
394
  /**
@@ -444,6 +452,10 @@ export namespace alloydb_v1beta {
444
452
  * Optional. Subscription type of the cluster.
445
453
  */
446
454
  subscriptionType?: string | null;
455
+ /**
456
+ * Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
457
+ */
458
+ tags?: {[key: string]: string} | null;
447
459
  /**
448
460
  * Output only. Metadata for free trial clusters
449
461
  */
@@ -515,6 +527,59 @@ export namespace alloydb_v1beta {
515
527
  */
516
528
  publicIpAddress?: string | null;
517
529
  }
530
+ /**
531
+ * Configuration for Managed Connection Pool (MCP).
532
+ */
533
+ export interface Schema$ConnectionPoolConfig {
534
+ /**
535
+ * Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to 20.
536
+ */
537
+ defaultPoolSize?: string | null;
538
+ /**
539
+ * Optional. Deprecated; Prefer 'enabled' as this will be removed soon.
540
+ */
541
+ enable?: boolean | null;
542
+ /**
543
+ * Optional. Whether to enable Managed Connection Pool (MCP).
544
+ */
545
+ enabled?: boolean | null;
546
+ /**
547
+ * Optional. Connection Pool flags, as a list of "key": "value" pairs.
548
+ */
549
+ flags?: {[key: string]: string} | null;
550
+ /**
551
+ * Optional. Deprecated. Use 'flags' instead. The list of startup parameters to ignore. Defaults to ["extra_float_digits"]
552
+ */
553
+ ignoreStartupParameters?: string[] | null;
554
+ /**
555
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of client connections allowed.
556
+ */
557
+ maxClientConn?: string | null;
558
+ /**
559
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of prepared statements allowed. MCP makes sure that any statement prepared by a client, up to this limit, is available on the backing server connection in transaction and statement pooling mode. Even if the statement was originally prepared on another server connection. Defaults to 0.
560
+ */
561
+ maxPreparedStatements?: string | null;
562
+ /**
563
+ * Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to 0.
564
+ */
565
+ minPoolSize?: string | null;
566
+ /**
567
+ * Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `POOL_MODE_TRANSACTION`.
568
+ */
569
+ poolMode?: string | null;
570
+ /**
571
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of seconds queries are allowed to spend waiting for execution. If the query is not assigned to a server during that time, the client is disconnected. 0 disables.
572
+ */
573
+ queryWaitTimeout?: string | null;
574
+ /**
575
+ * Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a server is allowed to be idle before it is disconnected. 0 disables.
576
+ */
577
+ serverIdleTimeout?: string | null;
578
+ /**
579
+ * Optional. Deprecated. Use 'flags' instead. The list of users that are allowed to connect to the MCP stats console. The users must exist in the database.
580
+ */
581
+ statsUsers?: string[] | null;
582
+ }
518
583
  /**
519
584
  * ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
520
585
  */
@@ -524,7 +589,7 @@ export namespace alloydb_v1beta {
524
589
  */
525
590
  enabled?: boolean | null;
526
591
  /**
527
- * The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
592
+ * The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
528
593
  */
529
594
  encryptionConfig?: Schema$EncryptionConfig;
530
595
  /**
@@ -566,6 +631,69 @@ export namespace alloydb_v1beta {
566
631
  */
567
632
  pointInTime?: string | null;
568
633
  }
634
+ /**
635
+ * Options for exporting data in CSV format.
636
+ */
637
+ export interface Schema$CsvExportOptions {
638
+ /**
639
+ * Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.
640
+ */
641
+ escapeCharacter?: string | null;
642
+ /**
643
+ * 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.
644
+ */
645
+ fieldDelimiter?: string | null;
646
+ /**
647
+ * 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.
648
+ */
649
+ quoteCharacter?: string | null;
650
+ /**
651
+ * Required. The SELECT query used to extract the data.
652
+ */
653
+ selectQuery?: string | null;
654
+ }
655
+ /**
656
+ * Options for importing data in CSV format.
657
+ */
658
+ export interface Schema$CsvImportOptions {
659
+ /**
660
+ * Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
661
+ */
662
+ columns?: string[] | null;
663
+ /**
664
+ * Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.
665
+ */
666
+ escapeCharacter?: string | null;
667
+ /**
668
+ * Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
669
+ */
670
+ fieldDelimiter?: string | null;
671
+ /**
672
+ * Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
673
+ */
674
+ quoteCharacter?: string | null;
675
+ /**
676
+ * Required. The database table to import CSV file into.
677
+ */
678
+ table?: string | null;
679
+ }
680
+ /**
681
+ * DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not be scheduled to start within this deny period. The start_date must be less than the end_date.
682
+ */
683
+ export interface Schema$DenyMaintenancePeriod {
684
+ /**
685
+ * Deny period end date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring
686
+ */
687
+ endDate?: Schema$GoogleTypeDate;
688
+ /**
689
+ * Deny period start date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring
690
+ */
691
+ startDate?: Schema$GoogleTypeDate;
692
+ /**
693
+ * Time in UTC when the deny period starts on start_date and ends on end_date. This can be: * Full time OR * All zeros for 00:00:00 UTC
694
+ */
695
+ time?: Schema$GoogleTypeTimeOfDay;
696
+ }
569
697
  /**
570
698
  * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
571
699
  */
@@ -592,34 +720,73 @@ export namespace alloydb_v1beta {
592
720
  */
593
721
  kmsKeyVersions?: string[] | null;
594
722
  }
723
+ /**
724
+ * Export cluster request.
725
+ */
726
+ export interface Schema$ExportClusterRequest {
727
+ /**
728
+ * Options for exporting data in CSV format. Required field to be set for CSV file type.
729
+ */
730
+ csvExportOptions?: Schema$CsvExportOptions;
731
+ /**
732
+ * Required. Name of the database where the export command will be executed. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
733
+ */
734
+ database?: string | null;
735
+ /**
736
+ * Required. Option to export data to cloud storage.
737
+ */
738
+ gcsDestination?: Schema$GcsDestination;
739
+ /**
740
+ * Options for exporting data in SQL format. Required field to be set for SQL file type.
741
+ */
742
+ sqlExportOptions?: Schema$SqlExportOptions;
743
+ }
595
744
  /**
596
745
  * Message for triggering failover on an Instance
597
746
  */
598
747
  export interface Schema$FailoverInstanceRequest {
599
748
  /**
600
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
749
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
601
750
  */
602
751
  requestId?: string | null;
603
752
  /**
604
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the failover.
753
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
605
754
  */
606
755
  validateOnly?: boolean | null;
607
756
  }
608
757
  /**
609
- * Cluster level configuration parameters related to the Gemini in Databases add-on.
758
+ * Instance level configuration parameters related to the Gemini Cloud Assist product.
759
+ */
760
+ export interface Schema$GCAInstanceConfig {
761
+ /**
762
+ * Output only. Represents the GCA entitlement state of the instance.
763
+ */
764
+ gcaEntitlement?: string | null;
765
+ }
766
+ /**
767
+ * Destination for Export. Export will be done to cloud storage.
768
+ */
769
+ export interface Schema$GcsDestination {
770
+ /**
771
+ * Required. The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`.
772
+ */
773
+ uri?: string | null;
774
+ }
775
+ /**
776
+ * Deprecated and unused. This field will be removed in the near future.
610
777
  */
611
778
  export interface Schema$GeminiClusterConfig {
612
779
  /**
613
- * Output only. Whether the Gemini in Databases add-on is enabled for the cluster. It will be true only if the add-on has been enabled for the billing account corresponding to the cluster. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
780
+ * Output only. Deprecated and unused. This field will be removed in the near future.
614
781
  */
615
782
  entitled?: boolean | null;
616
783
  }
617
784
  /**
618
- * Instance level configuration parameters related to the Gemini in Databases add-on.
785
+ * Deprecated and unused. This field will be removed in the near future.
619
786
  */
620
787
  export interface Schema$GeminiInstanceConfig {
621
788
  /**
622
- * Output only. Whether the Gemini in Databases add-on is enabled for the instance. It will be true only if the add-on has been enabled for the billing account corresponding to the instance. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
789
+ * Output only. Deprecated and unused. This field will be removed in the near future.
623
790
  */
624
791
  entitled?: boolean | null;
625
792
  }
@@ -661,27 +828,69 @@ export namespace alloydb_v1beta {
661
828
  */
662
829
  name?: string | null;
663
830
  }
831
+ /**
832
+ * Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
833
+ */
834
+ export interface Schema$GoogleTypeDate {
835
+ /**
836
+ * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
837
+ */
838
+ day?: number | null;
839
+ /**
840
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
841
+ */
842
+ month?: number | null;
843
+ /**
844
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
845
+ */
846
+ year?: number | null;
847
+ }
664
848
  /**
665
849
  * Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
666
850
  */
667
851
  export interface Schema$GoogleTypeTimeOfDay {
668
852
  /**
669
- * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
853
+ * Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
670
854
  */
671
855
  hours?: number | null;
672
856
  /**
673
- * Minutes of hour of day. Must be from 0 to 59.
857
+ * Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
674
858
  */
675
859
  minutes?: number | null;
676
860
  /**
677
- * Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
861
+ * Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
678
862
  */
679
863
  nanos?: number | null;
680
864
  /**
681
- * Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
865
+ * Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
682
866
  */
683
867
  seconds?: number | null;
684
868
  }
869
+ /**
870
+ * Import cluster request.
871
+ */
872
+ export interface Schema$ImportClusterRequest {
873
+ /**
874
+ * Options for importing data in CSV format.
875
+ */
876
+ csvImportOptions?: Schema$CsvImportOptions;
877
+ /**
878
+ * Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
879
+ */
880
+ database?: string | null;
881
+ /**
882
+ * Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.
883
+ */
884
+ gcsUri?: string | null;
885
+ /**
886
+ * Options for importing data in SQL format.
887
+ */
888
+ sqlImportOptions?: Schema$SqlImportOptions;
889
+ /**
890
+ * Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.
891
+ */
892
+ user?: string | null;
893
+ }
685
894
  /**
686
895
  * Message for triggering fault injection on an instance
687
896
  */
@@ -691,11 +900,11 @@ export namespace alloydb_v1beta {
691
900
  */
692
901
  faultType?: string | null;
693
902
  /**
694
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
903
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
695
904
  */
696
905
  requestId?: string | null;
697
906
  /**
698
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the fault injection.
907
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
699
908
  */
700
909
  validateOnly?: boolean | null;
701
910
  }
@@ -715,12 +924,16 @@ export namespace alloydb_v1beta {
715
924
  * Optional. Client connection specific configurations
716
925
  */
717
926
  clientConnectionConfig?: Schema$ClientConnectionConfig;
927
+ /**
928
+ * Optional. The configuration for Managed Connection Pool (MCP).
929
+ */
930
+ connectionPoolConfig?: Schema$ConnectionPoolConfig;
718
931
  /**
719
932
  * Output only. Create time stamp
720
933
  */
721
934
  createTime?: string | null;
722
935
  /**
723
- * Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
936
+ * Database flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
724
937
  */
725
938
  databaseFlags?: {[key: string]: string} | null;
726
939
  /**
@@ -735,12 +948,16 @@ export namespace alloydb_v1beta {
735
948
  * For Resource freshness validation (https://google.aip.dev/154)
736
949
  */
737
950
  etag?: string | null;
951
+ /**
952
+ * Output only. Configuration parameters related to Gemini Cloud Assist.
953
+ */
954
+ gcaConfig?: Schema$GCAInstanceConfig;
738
955
  /**
739
956
  * 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.
740
957
  */
741
958
  gceZone?: string | null;
742
959
  /**
743
- * Optional. Configuration parameters related to the Gemini in Databases add-on.
960
+ * Optional. Deprecated and unused. This field will be removed in the near future.
744
961
  */
745
962
  geminiConfig?: Schema$GeminiInstanceConfig;
746
963
  /**
@@ -764,7 +981,7 @@ export namespace alloydb_v1beta {
764
981
  */
765
982
  name?: string | null;
766
983
  /**
767
- * Optional. Instance level network configuration.
984
+ * Optional. Instance-level network configuration.
768
985
  */
769
986
  networkConfig?: Schema$InstanceNetworkConfig;
770
987
  /**
@@ -825,7 +1042,7 @@ export namespace alloydb_v1beta {
825
1042
  writableNode?: Schema$Node;
826
1043
  }
827
1044
  /**
828
- * Metadata related to instance level network configuration.
1045
+ * Metadata related to instance-level network configuration.
829
1046
  */
830
1047
  export interface Schema$InstanceNetworkConfig {
831
1048
  /**
@@ -840,6 +1057,10 @@ export namespace alloydb_v1beta {
840
1057
  * Optional. Enabling public ip for the instance.
841
1058
  */
842
1059
  enablePublicIp?: boolean | null;
1060
+ /**
1061
+ * 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\}`.
1062
+ */
1063
+ network?: string | null;
843
1064
  }
844
1065
  /**
845
1066
  * Details regarding the upgrade of instaces associated with a cluster.
@@ -973,6 +1194,10 @@ export namespace alloydb_v1beta {
973
1194
  * The number of CPU's in the VM instance.
974
1195
  */
975
1196
  cpuCount?: number | null;
1197
+ /**
1198
+ * 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.
1199
+ */
1200
+ machineType?: string | null;
976
1201
  }
977
1202
  /**
978
1203
  * 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.
@@ -987,6 +1212,10 @@ export namespace alloydb_v1beta {
987
1212
  * MaintenanceUpdatePolicy defines the policy for system updates.
988
1213
  */
989
1214
  export interface Schema$MaintenanceUpdatePolicy {
1215
+ /**
1216
+ * Periods to deny maintenance. Currently limited to 1.
1217
+ */
1218
+ denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
990
1219
  /**
991
1220
  * Preferred windows to perform maintenance. Currently limited to 1.
992
1221
  */
@@ -1036,23 +1265,23 @@ export namespace alloydb_v1beta {
1036
1265
  network?: string | null;
1037
1266
  }
1038
1267
  /**
1039
- * 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.
1268
+ * 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.
1040
1269
  */
1041
1270
  export interface Schema$Node {
1042
1271
  /**
1043
- * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
1272
+ * Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
1044
1273
  */
1045
1274
  id?: string | null;
1046
1275
  /**
1047
- * The private IP address of the VM e.g. "10.57.0.34".
1276
+ * Output only. The private IP address of the VM e.g. "10.57.0.34".
1048
1277
  */
1049
1278
  ip?: string | null;
1050
1279
  /**
1051
- * Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
1280
+ * Output only. Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
1052
1281
  */
1053
1282
  state?: string | null;
1054
1283
  /**
1055
- * The Compute Engine zone of the VM e.g. "us-central1-b".
1284
+ * Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
1056
1285
  */
1057
1286
  zoneId?: string | null;
1058
1287
  }
@@ -1060,6 +1289,10 @@ export namespace alloydb_v1beta {
1060
1289
  * Observability Instance specific configuration.
1061
1290
  */
1062
1291
  export interface Schema$ObservabilityInstanceConfig {
1292
+ /**
1293
+ * Whether assistive experiences are enabled for this AlloyDB instance.
1294
+ */
1295
+ assistiveExperiencesEnabled?: boolean | null;
1063
1296
  /**
1064
1297
  * Observability feature status for an instance. This flag is turned "off" by default.
1065
1298
  */
@@ -1084,16 +1317,12 @@ export namespace alloydb_v1beta {
1084
1317
  * Track actively running queries on the instance. If not set, this flag is "off" by default.
1085
1318
  */
1086
1319
  trackActiveQueries?: boolean | null;
1087
- /**
1088
- * Track client address for an instance. If not set, default value is "off".
1089
- */
1090
- trackClientAddress?: boolean | null;
1091
1320
  /**
1092
1321
  * 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.
1093
1322
  */
1094
1323
  trackWaitEvents?: boolean | null;
1095
1324
  /**
1096
- * 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.
1325
+ * 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.
1097
1326
  */
1098
1327
  trackWaitEventTypes?: boolean | null;
1099
1328
  }
@@ -1139,7 +1368,7 @@ export namespace alloydb_v1beta {
1139
1368
  */
1140
1369
  endTime?: string | null;
1141
1370
  /**
1142
- * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
1371
+ * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
1143
1372
  */
1144
1373
  requestedCancellation?: boolean | null;
1145
1374
  /**
@@ -1150,6 +1379,10 @@ export namespace alloydb_v1beta {
1150
1379
  * Output only. Server-defined resource path for the target of the operation.
1151
1380
  */
1152
1381
  target?: string | null;
1382
+ /**
1383
+ * Output only. UpgradeClusterStatus related metadata.
1384
+ */
1385
+ upgradeClusterStatus?: Schema$UpgradeClusterStatus;
1153
1386
  /**
1154
1387
  * Output only. Name of the verb executed by the operation.
1155
1388
  */
@@ -1173,14 +1406,39 @@ export namespace alloydb_v1beta {
1173
1406
  */
1174
1407
  etag?: string | null;
1175
1408
  /**
1176
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1409
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1177
1410
  */
1178
1411
  requestId?: string | null;
1179
1412
  /**
1180
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the delete.
1413
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
1181
1414
  */
1182
1415
  validateOnly?: boolean | null;
1183
1416
  }
1417
+ /**
1418
+ * Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.
1419
+ */
1420
+ export interface Schema$PscAutoConnectionConfig {
1421
+ /**
1422
+ * 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.
1423
+ */
1424
+ consumerNetwork?: string | null;
1425
+ /**
1426
+ * 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.
1427
+ */
1428
+ consumerNetworkStatus?: string | null;
1429
+ /**
1430
+ * The consumer project to which the PSC service automation endpoint will be created.
1431
+ */
1432
+ consumerProject?: string | null;
1433
+ /**
1434
+ * Output only. The IP address of the PSC service automation endpoint.
1435
+ */
1436
+ ipAddress?: string | null;
1437
+ /**
1438
+ * 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.
1439
+ */
1440
+ status?: string | null;
1441
+ }
1184
1442
  /**
1185
1443
  * PscConfig contains PSC related configuration at a cluster level.
1186
1444
  */
@@ -1189,6 +1447,10 @@ export namespace alloydb_v1beta {
1189
1447
  * Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
1190
1448
  */
1191
1449
  pscEnabled?: boolean | null;
1450
+ /**
1451
+ * Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.
1452
+ */
1453
+ serviceOwnedProjectNumber?: string | null;
1192
1454
  }
1193
1455
  /**
1194
1456
  * PscInstanceConfig contains PSC related configuration at an instance level.
@@ -1198,15 +1460,32 @@ export namespace alloydb_v1beta {
1198
1460
  * Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
1199
1461
  */
1200
1462
  allowedConsumerProjects?: string[] | null;
1463
+ /**
1464
+ * Optional. Configurations for setting up PSC service automation.
1465
+ */
1466
+ pscAutoConnections?: Schema$PscAutoConnectionConfig[];
1201
1467
  /**
1202
1468
  * Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
1203
1469
  */
1204
1470
  pscDnsName?: string | null;
1471
+ /**
1472
+ * Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.
1473
+ */
1474
+ pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
1205
1475
  /**
1206
1476
  * Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of `projects//regions//serviceAttachments/`
1207
1477
  */
1208
1478
  serviceAttachmentLink?: string | null;
1209
1479
  }
1480
+ /**
1481
+ * Configuration for setting up a PSC interface to enable outbound connectivity.
1482
+ */
1483
+ export interface Schema$PscInterfaceConfig {
1484
+ /**
1485
+ * The network attachment resource created in the consumer network to which the PSC interface will be linked. This is of the format: "projects/${CONSUMER_PROJECT\}/regions/${REGION\}/networkAttachments/${NETWORK_ATTACHMENT_NAME\}". The network attachment must be in the same region as the instance.
1486
+ */
1487
+ networkAttachmentResource?: string | null;
1488
+ }
1210
1489
  /**
1211
1490
  * A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)
1212
1491
  */
@@ -1259,22 +1538,31 @@ export namespace alloydb_v1beta {
1259
1538
  */
1260
1539
  nodeCount?: number | null;
1261
1540
  }
1541
+ /**
1542
+ * Read pool instances upgrade specific status.
1543
+ */
1544
+ export interface Schema$ReadPoolInstancesUpgradeStageStatus {
1545
+ /**
1546
+ * Read pool instances upgrade statistics.
1547
+ */
1548
+ upgradeStats?: Schema$Stats;
1549
+ }
1262
1550
  export interface Schema$RestartInstanceRequest {
1263
1551
  /**
1264
- * Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Only applicable for read instances.
1552
+ * Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
1265
1553
  */
1266
1554
  nodeIds?: string[] | null;
1267
1555
  /**
1268
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1556
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1269
1557
  */
1270
1558
  requestId?: string | null;
1271
1559
  /**
1272
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the restart.
1560
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
1273
1561
  */
1274
1562
  validateOnly?: boolean | null;
1275
1563
  }
1276
1564
  /**
1277
- * Message for restoring a Cluster from a backup or another cluster at a given point in time.
1565
+ * Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
1278
1566
  */
1279
1567
  export interface Schema$RestoreClusterRequest {
1280
1568
  /**
@@ -1294,14 +1582,31 @@ export namespace alloydb_v1beta {
1294
1582
  */
1295
1583
  continuousBackupSource?: Schema$ContinuousBackupSource;
1296
1584
  /**
1297
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1585
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1298
1586
  */
1299
1587
  requestId?: string | null;
1300
1588
  /**
1301
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the import request.
1589
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
1302
1590
  */
1303
1591
  validateOnly?: boolean | null;
1304
1592
  }
1593
+ /**
1594
+ * Message for registering Restoring from CloudSQL resource.
1595
+ */
1596
+ export interface Schema$RestoreFromCloudSQLRequest {
1597
+ /**
1598
+ * Cluster created from CloudSQL backup run.
1599
+ */
1600
+ cloudsqlBackupRunSource?: Schema$CloudSQLBackupRunSource;
1601
+ /**
1602
+ * Required. The resource being created
1603
+ */
1604
+ cluster?: Schema$Cluster;
1605
+ /**
1606
+ * Required. ID of the requesting object.
1607
+ */
1608
+ clusterId?: string | null;
1609
+ }
1305
1610
  /**
1306
1611
  * Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.
1307
1612
  */
@@ -1311,6 +1616,31 @@ export namespace alloydb_v1beta {
1311
1616
  */
1312
1617
  primaryClusterName?: string | null;
1313
1618
  }
1619
+ /**
1620
+ * Options for exporting data in SQL format.
1621
+ */
1622
+ export interface Schema$SqlExportOptions {
1623
+ /**
1624
+ * Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.
1625
+ */
1626
+ cleanTargetObjects?: boolean | null;
1627
+ /**
1628
+ * Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode.
1629
+ */
1630
+ ifExistTargetObjects?: boolean | null;
1631
+ /**
1632
+ * Optional. If true, only export the schema.
1633
+ */
1634
+ schemaOnly?: boolean | null;
1635
+ /**
1636
+ * Optional. Tables to export from.
1637
+ */
1638
+ tables?: string[] | null;
1639
+ }
1640
+ /**
1641
+ * Options for importing data in SQL format.
1642
+ */
1643
+ export interface Schema$SqlImportOptions {}
1314
1644
  /**
1315
1645
  * SSL configuration.
1316
1646
  */
@@ -1341,6 +1671,44 @@ export namespace alloydb_v1beta {
1341
1671
  */
1342
1672
  status?: string | null;
1343
1673
  }
1674
+ /**
1675
+ * Status of an upgrade stage.
1676
+ */
1677
+ export interface Schema$StageStatus {
1678
+ /**
1679
+ * Read pool instances upgrade metadata.
1680
+ */
1681
+ readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
1682
+ /**
1683
+ * Upgrade stage.
1684
+ */
1685
+ stage?: string | null;
1686
+ /**
1687
+ * State of this stage.
1688
+ */
1689
+ state?: string | null;
1690
+ }
1691
+ /**
1692
+ * Upgrade stats for read pool instances.
1693
+ */
1694
+ export interface Schema$Stats {
1695
+ /**
1696
+ * Number of read pool instances which failed to upgrade.
1697
+ */
1698
+ failed?: number | null;
1699
+ /**
1700
+ * Number of read pool instances for which upgrade has not started.
1701
+ */
1702
+ notStarted?: number | null;
1703
+ /**
1704
+ * Number of read pool instances undergoing upgrade.
1705
+ */
1706
+ ongoing?: number | null;
1707
+ /**
1708
+ * Number of read pool instances successfully upgraded.
1709
+ */
1710
+ success?: number | null;
1711
+ }
1344
1712
  /**
1345
1713
  * 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).
1346
1714
  */
@@ -1362,6 +1730,10 @@ export namespace alloydb_v1beta {
1362
1730
  * Configuration for availability of database instance
1363
1731
  */
1364
1732
  export interface Schema$StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration {
1733
+ /**
1734
+ * Checks for existence of (multi-cluster) routing configuration that allows automatic failover to a different zone/region in case of an outage. Applicable to Bigtable resources.
1735
+ */
1736
+ automaticFailoverRoutingConfigured?: boolean | null;
1365
1737
  /**
1366
1738
  * Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).
1367
1739
  */
@@ -1534,7 +1906,7 @@ export namespace alloydb_v1beta {
1534
1906
  uniqueId?: string | null;
1535
1907
  }
1536
1908
  /**
1537
- * Common model for database resource instance metadata.
1909
+ * Common model for database resource instance metadata. Next ID: 25
1538
1910
  */
1539
1911
  export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
1540
1912
  /**
@@ -1561,6 +1933,10 @@ export namespace alloydb_v1beta {
1561
1933
  * Any custom metadata associated with the resource
1562
1934
  */
1563
1935
  customMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainCustomMetadataData;
1936
+ /**
1937
+ * Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to identify the edition of the instance.
1938
+ */
1939
+ edition?: string | null;
1564
1940
  /**
1565
1941
  * Entitlements associated with the resource
1566
1942
  */
@@ -1569,6 +1945,10 @@ export namespace alloydb_v1beta {
1569
1945
  * The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.
1570
1946
  */
1571
1947
  expectedState?: string | null;
1948
+ /**
1949
+ * GCBDR configuration for the resource.
1950
+ */
1951
+ gcbdrConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration;
1572
1952
  /**
1573
1953
  * Required. Unique identifier for a Database resource
1574
1954
  */
@@ -1589,6 +1969,10 @@ export namespace alloydb_v1beta {
1589
1969
  * Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.
1590
1970
  */
1591
1971
  primaryResourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
1972
+ /**
1973
+ * Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.
1974
+ */
1975
+ primaryResourceLocation?: string | null;
1592
1976
  /**
1593
1977
  * The product this resource represents.
1594
1978
  */
@@ -1601,6 +1985,14 @@ export namespace alloydb_v1beta {
1601
1985
  * Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
1602
1986
  */
1603
1987
  resourceName?: string | null;
1988
+ /**
1989
+ * Optional. Suspension reason for the resource.
1990
+ */
1991
+ suspensionReason?: string | null;
1992
+ /**
1993
+ * Optional. Tags associated with this resources.
1994
+ */
1995
+ tagsSet?: Schema$StorageDatabasecenterPartnerapiV1mainTags;
1604
1996
  /**
1605
1997
  * The time at which the resource was updated and recorded at partner service.
1606
1998
  */
@@ -1660,6 +2052,15 @@ export namespace alloydb_v1beta {
1660
2052
  */
1661
2053
  type?: string | null;
1662
2054
  }
2055
+ /**
2056
+ * GCBDR Configuration for the resource.
2057
+ */
2058
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration {
2059
+ /**
2060
+ * Whether the resource is managed by GCBDR.
2061
+ */
2062
+ gcbdrManaged?: boolean | null;
2063
+ }
1663
2064
  /**
1664
2065
  * 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.
1665
2066
  */
@@ -1672,6 +2073,10 @@ export namespace alloydb_v1beta {
1672
2073
  * Information about the last backup attempt for this database
1673
2074
  */
1674
2075
  backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
2076
+ /**
2077
+ * Whether deletion protection is enabled for this internal resource.
2078
+ */
2079
+ isDeletionProtectionEnabled?: boolean | null;
1675
2080
  product?: Schema$StorageDatabasecenterProtoCommonProduct;
1676
2081
  resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
1677
2082
  /**
@@ -1684,13 +2089,21 @@ export namespace alloydb_v1beta {
1684
2089
  */
1685
2090
  export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
1686
2091
  /**
1687
- * The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2092
+ * The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.
1688
2093
  */
1689
2094
  cpuCount?: number | null;
1690
2095
  /**
1691
- * Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2096
+ * Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
1692
2097
  */
1693
2098
  memorySizeInBytes?: string | null;
2099
+ /**
2100
+ * Optional. Number of shards (if applicable).
2101
+ */
2102
+ shardCount?: number | null;
2103
+ /**
2104
+ * Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.
2105
+ */
2106
+ vcpuCount?: number | null;
1694
2107
  }
1695
2108
  export interface Schema$StorageDatabasecenterPartnerapiV1mainObservabilityMetricData {
1696
2109
  /**
@@ -1729,12 +2142,29 @@ export namespace alloydb_v1beta {
1729
2142
  message?: string | null;
1730
2143
  }
1731
2144
  export interface Schema$StorageDatabasecenterPartnerapiV1mainRetentionSettings {
2145
+ /**
2146
+ * Duration based retention period i.e. 172800 seconds (2 days)
2147
+ */
2148
+ durationBasedRetention?: string | null;
1732
2149
  quantityBasedRetention?: number | null;
1733
2150
  /**
1734
2151
  * The unit that 'retained_backups' represents.
1735
2152
  */
1736
2153
  retentionUnit?: string | null;
1737
2154
  timeBasedRetention?: string | null;
2155
+ /**
2156
+ * Timestamp based retention period i.e. 2024-05-01T00:00:00Z
2157
+ */
2158
+ timestampBasedRetentionTime?: string | null;
2159
+ }
2160
+ /**
2161
+ * Message type for storing tags. Tags provide a way to create annotations for resources, and in some cases conditionally allow or deny policies based on whether a resource has a specific tag.
2162
+ */
2163
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainTags {
2164
+ /**
2165
+ * The Tag key/value mappings.
2166
+ */
2167
+ tags?: {[key: string]: string} | null;
1738
2168
  }
1739
2169
  /**
1740
2170
  * Message type for storing user labels. User labels are used to tag App Engine resources, allowing users to search for resources matching a set of labels and to aggregate usage data by labels.
@@ -1809,10 +2239,22 @@ export namespace alloydb_v1beta {
1809
2239
  * 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.
1810
2240
  */
1811
2241
  name?: string | null;
2242
+ /**
2243
+ * The recommended value for an INTEGER flag.
2244
+ */
2245
+ recommendedIntegerValue?: string | null;
2246
+ /**
2247
+ * The recommended value for a STRING flag.
2248
+ */
2249
+ recommendedStringValue?: string | null;
1812
2250
  /**
1813
2251
  * 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).
1814
2252
  */
1815
2253
  requiresDbRestart?: boolean | null;
2254
+ /**
2255
+ * The scope of the flag.
2256
+ */
2257
+ scope?: string | null;
1816
2258
  /**
1817
2259
  * Restriction on STRING type value.
1818
2260
  */
@@ -1828,11 +2270,11 @@ export namespace alloydb_v1beta {
1828
2270
  */
1829
2271
  export interface Schema$SwitchoverClusterRequest {
1830
2272
  /**
1831
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2273
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1832
2274
  */
1833
2275
  requestId?: string | null;
1834
2276
  /**
1835
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the delete.
2277
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
1836
2278
  */
1837
2279
  validateOnly?: boolean | null;
1838
2280
  }
@@ -1875,6 +2317,27 @@ export namespace alloydb_v1beta {
1875
2317
  */
1876
2318
  mode?: string | null;
1877
2319
  }
2320
+ /**
2321
+ * Upgrades a cluster.
2322
+ */
2323
+ export interface Schema$UpgradeClusterRequest {
2324
+ /**
2325
+ * Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, upgrade will be blocked and an ABORTED error will be returned.
2326
+ */
2327
+ etag?: string | null;
2328
+ /**
2329
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2330
+ */
2331
+ requestId?: string | null;
2332
+ /**
2333
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
2334
+ */
2335
+ validateOnly?: boolean | null;
2336
+ /**
2337
+ * Required. The version the cluster is going to be upgraded to.
2338
+ */
2339
+ version?: string | null;
2340
+ }
1878
2341
  /**
1879
2342
  * UpgradeClusterResponse contains the response for upgrade cluster operation.
1880
2343
  */
@@ -1892,6 +2355,31 @@ export namespace alloydb_v1beta {
1892
2355
  */
1893
2356
  status?: string | null;
1894
2357
  }
2358
+ /**
2359
+ * Message for current status of the Major Version Upgrade operation.
2360
+ */
2361
+ export interface Schema$UpgradeClusterStatus {
2362
+ /**
2363
+ * Whether the operation is cancellable.
2364
+ */
2365
+ cancellable?: boolean | null;
2366
+ /**
2367
+ * Source database major version.
2368
+ */
2369
+ sourceVersion?: string | null;
2370
+ /**
2371
+ * Status of all upgrade stages.
2372
+ */
2373
+ stages?: Schema$StageStatus[];
2374
+ /**
2375
+ * Cluster Major Version Upgrade state.
2376
+ */
2377
+ state?: string | null;
2378
+ /**
2379
+ * Target database major version.
2380
+ */
2381
+ targetVersion?: string | null;
2382
+ }
1895
2383
  /**
1896
2384
  * Message describing User object.
1897
2385
  */
@@ -1900,6 +2388,10 @@ export namespace alloydb_v1beta {
1900
2388
  * Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
1901
2389
  */
1902
2390
  databaseRoles?: string[] | null;
2391
+ /**
2392
+ * Input only. If the user already exists and it has additional roles, keep them granted.
2393
+ */
2394
+ keepExtraRoles?: boolean | null;
1903
2395
  /**
1904
2396
  * Output only. Name of the resource in the form of projects/{project\}/locations/{location\}/cluster/{cluster\}/users/{user\}.
1905
2397
  */
@@ -2165,6 +2657,10 @@ export namespace alloydb_v1beta {
2165
2657
  }
2166
2658
  export interface Params$Resource$Projects$Locations$List
2167
2659
  extends StandardParameters {
2660
+ /**
2661
+ * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2662
+ */
2663
+ extraLocationTypes?: string[];
2168
2664
  /**
2169
2665
  * 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).
2170
2666
  */
@@ -2635,7 +3131,7 @@ export namespace alloydb_v1beta {
2635
3131
  */
2636
3132
  parent?: string;
2637
3133
  /**
2638
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3134
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2639
3135
  */
2640
3136
  requestId?: string;
2641
3137
  /**
@@ -2659,7 +3155,7 @@ export namespace alloydb_v1beta {
2659
3155
  */
2660
3156
  name?: string;
2661
3157
  /**
2662
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3158
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2663
3159
  */
2664
3160
  requestId?: string;
2665
3161
  /**
@@ -2708,7 +3204,7 @@ export namespace alloydb_v1beta {
2708
3204
  */
2709
3205
  name?: string;
2710
3206
  /**
2711
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3207
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2712
3208
  */
2713
3209
  requestId?: string;
2714
3210
  /**
@@ -2999,6 +3495,94 @@ export namespace alloydb_v1beta {
2999
3495
  }
3000
3496
  }
3001
3497
 
3498
+ /**
3499
+ * Exports data from the cluster. Imperative only.
3500
+ *
3501
+ * @param params - Parameters for request
3502
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3503
+ * @param callback - Optional callback that handles the response.
3504
+ * @returns A promise if used with async/await, or void if used with a callback.
3505
+ */
3506
+ export(
3507
+ params: Params$Resource$Projects$Locations$Clusters$Export,
3508
+ options: StreamMethodOptions
3509
+ ): GaxiosPromise<Readable>;
3510
+ export(
3511
+ params?: Params$Resource$Projects$Locations$Clusters$Export,
3512
+ options?: MethodOptions
3513
+ ): GaxiosPromise<Schema$Operation>;
3514
+ export(
3515
+ params: Params$Resource$Projects$Locations$Clusters$Export,
3516
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3517
+ callback: BodyResponseCallback<Readable>
3518
+ ): void;
3519
+ export(
3520
+ params: Params$Resource$Projects$Locations$Clusters$Export,
3521
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
3522
+ callback: BodyResponseCallback<Schema$Operation>
3523
+ ): void;
3524
+ export(
3525
+ params: Params$Resource$Projects$Locations$Clusters$Export,
3526
+ callback: BodyResponseCallback<Schema$Operation>
3527
+ ): void;
3528
+ export(callback: BodyResponseCallback<Schema$Operation>): void;
3529
+ export(
3530
+ paramsOrCallback?:
3531
+ | Params$Resource$Projects$Locations$Clusters$Export
3532
+ | BodyResponseCallback<Schema$Operation>
3533
+ | BodyResponseCallback<Readable>,
3534
+ optionsOrCallback?:
3535
+ | MethodOptions
3536
+ | StreamMethodOptions
3537
+ | BodyResponseCallback<Schema$Operation>
3538
+ | BodyResponseCallback<Readable>,
3539
+ callback?:
3540
+ | BodyResponseCallback<Schema$Operation>
3541
+ | BodyResponseCallback<Readable>
3542
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3543
+ let params = (paramsOrCallback ||
3544
+ {}) as Params$Resource$Projects$Locations$Clusters$Export;
3545
+ let options = (optionsOrCallback || {}) as MethodOptions;
3546
+
3547
+ if (typeof paramsOrCallback === 'function') {
3548
+ callback = paramsOrCallback;
3549
+ params = {} as Params$Resource$Projects$Locations$Clusters$Export;
3550
+ options = {};
3551
+ }
3552
+
3553
+ if (typeof optionsOrCallback === 'function') {
3554
+ callback = optionsOrCallback;
3555
+ options = {};
3556
+ }
3557
+
3558
+ const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
3559
+ const parameters = {
3560
+ options: Object.assign(
3561
+ {
3562
+ url: (rootUrl + '/v1beta/{+name}:export').replace(
3563
+ /([^:]\/)\/+/g,
3564
+ '$1'
3565
+ ),
3566
+ method: 'POST',
3567
+ apiVersion: '',
3568
+ },
3569
+ options
3570
+ ),
3571
+ params,
3572
+ requiredParams: ['name'],
3573
+ pathParams: ['name'],
3574
+ context: this.context,
3575
+ };
3576
+ if (callback) {
3577
+ createAPIRequest<Schema$Operation>(
3578
+ parameters,
3579
+ callback as BodyResponseCallback<unknown>
3580
+ );
3581
+ } else {
3582
+ return createAPIRequest<Schema$Operation>(parameters);
3583
+ }
3584
+ }
3585
+
3002
3586
  /**
3003
3587
  * Gets details of a single Cluster.
3004
3588
  *
@@ -3084,6 +3668,94 @@ export namespace alloydb_v1beta {
3084
3668
  }
3085
3669
  }
3086
3670
 
3671
+ /**
3672
+ * Imports data to the cluster. Imperative only.
3673
+ *
3674
+ * @param params - Parameters for request
3675
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3676
+ * @param callback - Optional callback that handles the response.
3677
+ * @returns A promise if used with async/await, or void if used with a callback.
3678
+ */
3679
+ import(
3680
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3681
+ options: StreamMethodOptions
3682
+ ): GaxiosPromise<Readable>;
3683
+ import(
3684
+ params?: Params$Resource$Projects$Locations$Clusters$Import,
3685
+ options?: MethodOptions
3686
+ ): GaxiosPromise<Schema$Operation>;
3687
+ import(
3688
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3689
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3690
+ callback: BodyResponseCallback<Readable>
3691
+ ): void;
3692
+ import(
3693
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3694
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
3695
+ callback: BodyResponseCallback<Schema$Operation>
3696
+ ): void;
3697
+ import(
3698
+ params: Params$Resource$Projects$Locations$Clusters$Import,
3699
+ callback: BodyResponseCallback<Schema$Operation>
3700
+ ): void;
3701
+ import(callback: BodyResponseCallback<Schema$Operation>): void;
3702
+ import(
3703
+ paramsOrCallback?:
3704
+ | Params$Resource$Projects$Locations$Clusters$Import
3705
+ | BodyResponseCallback<Schema$Operation>
3706
+ | BodyResponseCallback<Readable>,
3707
+ optionsOrCallback?:
3708
+ | MethodOptions
3709
+ | StreamMethodOptions
3710
+ | BodyResponseCallback<Schema$Operation>
3711
+ | BodyResponseCallback<Readable>,
3712
+ callback?:
3713
+ | BodyResponseCallback<Schema$Operation>
3714
+ | BodyResponseCallback<Readable>
3715
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3716
+ let params = (paramsOrCallback ||
3717
+ {}) as Params$Resource$Projects$Locations$Clusters$Import;
3718
+ let options = (optionsOrCallback || {}) as MethodOptions;
3719
+
3720
+ if (typeof paramsOrCallback === 'function') {
3721
+ callback = paramsOrCallback;
3722
+ params = {} as Params$Resource$Projects$Locations$Clusters$Import;
3723
+ options = {};
3724
+ }
3725
+
3726
+ if (typeof optionsOrCallback === 'function') {
3727
+ callback = optionsOrCallback;
3728
+ options = {};
3729
+ }
3730
+
3731
+ const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
3732
+ const parameters = {
3733
+ options: Object.assign(
3734
+ {
3735
+ url: (rootUrl + '/v1beta/{+name}:import').replace(
3736
+ /([^:]\/)\/+/g,
3737
+ '$1'
3738
+ ),
3739
+ method: 'POST',
3740
+ apiVersion: '',
3741
+ },
3742
+ options
3743
+ ),
3744
+ params,
3745
+ requiredParams: ['name'],
3746
+ pathParams: ['name'],
3747
+ context: this.context,
3748
+ };
3749
+ if (callback) {
3750
+ createAPIRequest<Schema$Operation>(
3751
+ parameters,
3752
+ callback as BodyResponseCallback<unknown>
3753
+ );
3754
+ } else {
3755
+ return createAPIRequest<Schema$Operation>(parameters);
3756
+ }
3757
+ }
3758
+
3087
3759
  /**
3088
3760
  * Lists Clusters in a given project and location.
3089
3761
  *
@@ -3439,7 +4111,95 @@ export namespace alloydb_v1beta {
3439
4111
  }
3440
4112
 
3441
4113
  /**
3442
- * Switches the role of PRIMARY and SECONDARY cluster without any data loss. This promotes the SECONDARY cluster to PRIMARY and sets up original PRIMARY cluster to replicate from this newly promoted cluster.
4114
+ * Restores an AlloyDB cluster from a CloudSQL resource.
4115
+ *
4116
+ * @param params - Parameters for request
4117
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4118
+ * @param callback - Optional callback that handles the response.
4119
+ * @returns A promise if used with async/await, or void if used with a callback.
4120
+ */
4121
+ restoreFromCloudSQL(
4122
+ params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
4123
+ options: StreamMethodOptions
4124
+ ): GaxiosPromise<Readable>;
4125
+ restoreFromCloudSQL(
4126
+ params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
4127
+ options?: MethodOptions
4128
+ ): GaxiosPromise<Schema$Operation>;
4129
+ restoreFromCloudSQL(
4130
+ params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
4131
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
4132
+ callback: BodyResponseCallback<Readable>
4133
+ ): void;
4134
+ restoreFromCloudSQL(
4135
+ params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
4136
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
4137
+ callback: BodyResponseCallback<Schema$Operation>
4138
+ ): void;
4139
+ restoreFromCloudSQL(
4140
+ params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
4141
+ callback: BodyResponseCallback<Schema$Operation>
4142
+ ): void;
4143
+ restoreFromCloudSQL(callback: BodyResponseCallback<Schema$Operation>): void;
4144
+ restoreFromCloudSQL(
4145
+ paramsOrCallback?:
4146
+ | Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql
4147
+ | BodyResponseCallback<Schema$Operation>
4148
+ | BodyResponseCallback<Readable>,
4149
+ optionsOrCallback?:
4150
+ | MethodOptions
4151
+ | StreamMethodOptions
4152
+ | BodyResponseCallback<Schema$Operation>
4153
+ | BodyResponseCallback<Readable>,
4154
+ callback?:
4155
+ | BodyResponseCallback<Schema$Operation>
4156
+ | BodyResponseCallback<Readable>
4157
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4158
+ let params = (paramsOrCallback ||
4159
+ {}) as Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql;
4160
+ let options = (optionsOrCallback || {}) as MethodOptions;
4161
+
4162
+ if (typeof paramsOrCallback === 'function') {
4163
+ callback = paramsOrCallback;
4164
+ params =
4165
+ {} as Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql;
4166
+ options = {};
4167
+ }
4168
+
4169
+ if (typeof optionsOrCallback === 'function') {
4170
+ callback = optionsOrCallback;
4171
+ options = {};
4172
+ }
4173
+
4174
+ const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
4175
+ const parameters = {
4176
+ options: Object.assign(
4177
+ {
4178
+ url: (
4179
+ rootUrl + '/v1beta/{+parent}/clusters:restoreFromCloudSQL'
4180
+ ).replace(/([^:]\/)\/+/g, '$1'),
4181
+ method: 'POST',
4182
+ apiVersion: '',
4183
+ },
4184
+ options
4185
+ ),
4186
+ params,
4187
+ requiredParams: ['parent'],
4188
+ pathParams: ['parent'],
4189
+ context: this.context,
4190
+ };
4191
+ if (callback) {
4192
+ createAPIRequest<Schema$Operation>(
4193
+ parameters,
4194
+ callback as BodyResponseCallback<unknown>
4195
+ );
4196
+ } else {
4197
+ return createAPIRequest<Schema$Operation>(parameters);
4198
+ }
4199
+ }
4200
+
4201
+ /**
4202
+ * Switches the roles of PRIMARY and SECONDARY clusters without any data loss. This promotes the SECONDARY cluster to PRIMARY and sets up the original PRIMARY cluster to replicate from this newly promoted cluster.
3443
4203
  *
3444
4204
  * @param params - Parameters for request
3445
4205
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3525,6 +4285,94 @@ export namespace alloydb_v1beta {
3525
4285
  return createAPIRequest<Schema$Operation>(parameters);
3526
4286
  }
3527
4287
  }
4288
+
4289
+ /**
4290
+ * Upgrades a single Cluster. Imperative only.
4291
+ *
4292
+ * @param params - Parameters for request
4293
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4294
+ * @param callback - Optional callback that handles the response.
4295
+ * @returns A promise if used with async/await, or void if used with a callback.
4296
+ */
4297
+ upgrade(
4298
+ params: Params$Resource$Projects$Locations$Clusters$Upgrade,
4299
+ options: StreamMethodOptions
4300
+ ): GaxiosPromise<Readable>;
4301
+ upgrade(
4302
+ params?: Params$Resource$Projects$Locations$Clusters$Upgrade,
4303
+ options?: MethodOptions
4304
+ ): GaxiosPromise<Schema$Operation>;
4305
+ upgrade(
4306
+ params: Params$Resource$Projects$Locations$Clusters$Upgrade,
4307
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
4308
+ callback: BodyResponseCallback<Readable>
4309
+ ): void;
4310
+ upgrade(
4311
+ params: Params$Resource$Projects$Locations$Clusters$Upgrade,
4312
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
4313
+ callback: BodyResponseCallback<Schema$Operation>
4314
+ ): void;
4315
+ upgrade(
4316
+ params: Params$Resource$Projects$Locations$Clusters$Upgrade,
4317
+ callback: BodyResponseCallback<Schema$Operation>
4318
+ ): void;
4319
+ upgrade(callback: BodyResponseCallback<Schema$Operation>): void;
4320
+ upgrade(
4321
+ paramsOrCallback?:
4322
+ | Params$Resource$Projects$Locations$Clusters$Upgrade
4323
+ | BodyResponseCallback<Schema$Operation>
4324
+ | BodyResponseCallback<Readable>,
4325
+ optionsOrCallback?:
4326
+ | MethodOptions
4327
+ | StreamMethodOptions
4328
+ | BodyResponseCallback<Schema$Operation>
4329
+ | BodyResponseCallback<Readable>,
4330
+ callback?:
4331
+ | BodyResponseCallback<Schema$Operation>
4332
+ | BodyResponseCallback<Readable>
4333
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4334
+ let params = (paramsOrCallback ||
4335
+ {}) as Params$Resource$Projects$Locations$Clusters$Upgrade;
4336
+ let options = (optionsOrCallback || {}) as MethodOptions;
4337
+
4338
+ if (typeof paramsOrCallback === 'function') {
4339
+ callback = paramsOrCallback;
4340
+ params = {} as Params$Resource$Projects$Locations$Clusters$Upgrade;
4341
+ options = {};
4342
+ }
4343
+
4344
+ if (typeof optionsOrCallback === 'function') {
4345
+ callback = optionsOrCallback;
4346
+ options = {};
4347
+ }
4348
+
4349
+ const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
4350
+ const parameters = {
4351
+ options: Object.assign(
4352
+ {
4353
+ url: (rootUrl + '/v1beta/{+name}:upgrade').replace(
4354
+ /([^:]\/)\/+/g,
4355
+ '$1'
4356
+ ),
4357
+ method: 'PATCH',
4358
+ apiVersion: '',
4359
+ },
4360
+ options
4361
+ ),
4362
+ params,
4363
+ requiredParams: ['name'],
4364
+ pathParams: ['name'],
4365
+ context: this.context,
4366
+ };
4367
+ if (callback) {
4368
+ createAPIRequest<Schema$Operation>(
4369
+ parameters,
4370
+ callback as BodyResponseCallback<unknown>
4371
+ );
4372
+ } else {
4373
+ return createAPIRequest<Schema$Operation>(parameters);
4374
+ }
4375
+ }
3528
4376
  }
3529
4377
 
3530
4378
  export interface Params$Resource$Projects$Locations$Clusters$Create
@@ -3538,11 +4386,11 @@ export namespace alloydb_v1beta {
3538
4386
  */
3539
4387
  parent?: string;
3540
4388
  /**
3541
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4389
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3542
4390
  */
3543
4391
  requestId?: string;
3544
4392
  /**
3545
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the create request.
4393
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
3546
4394
  */
3547
4395
  validateOnly?: boolean;
3548
4396
 
@@ -3562,11 +4410,11 @@ export namespace alloydb_v1beta {
3562
4410
  */
3563
4411
  parent?: string;
3564
4412
  /**
3565
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4413
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3566
4414
  */
3567
4415
  requestId?: string;
3568
4416
  /**
3569
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the create request.
4417
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
3570
4418
  */
3571
4419
  validateOnly?: boolean;
3572
4420
 
@@ -3590,14 +4438,26 @@ export namespace alloydb_v1beta {
3590
4438
  */
3591
4439
  name?: string;
3592
4440
  /**
3593
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4441
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3594
4442
  */
3595
4443
  requestId?: string;
3596
4444
  /**
3597
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the delete.
4445
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
3598
4446
  */
3599
4447
  validateOnly?: boolean;
3600
4448
  }
4449
+ export interface Params$Resource$Projects$Locations$Clusters$Export
4450
+ extends StandardParameters {
4451
+ /**
4452
+ * Required. The resource name of the cluster.
4453
+ */
4454
+ name?: string;
4455
+
4456
+ /**
4457
+ * Request body metadata
4458
+ */
4459
+ requestBody?: Schema$ExportClusterRequest;
4460
+ }
3601
4461
  export interface Params$Resource$Projects$Locations$Clusters$Get
3602
4462
  extends StandardParameters {
3603
4463
  /**
@@ -3609,6 +4469,18 @@ export namespace alloydb_v1beta {
3609
4469
  */
3610
4470
  view?: string;
3611
4471
  }
4472
+ export interface Params$Resource$Projects$Locations$Clusters$Import
4473
+ extends StandardParameters {
4474
+ /**
4475
+ * Required. The resource name of the cluster.
4476
+ */
4477
+ name?: string;
4478
+
4479
+ /**
4480
+ * Request body metadata
4481
+ */
4482
+ requestBody?: Schema$ImportClusterRequest;
4483
+ }
3612
4484
  export interface Params$Resource$Projects$Locations$Clusters$List
3613
4485
  extends StandardParameters {
3614
4486
  /**
@@ -3643,7 +4515,7 @@ export namespace alloydb_v1beta {
3643
4515
  */
3644
4516
  name?: string;
3645
4517
  /**
3646
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4518
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3647
4519
  */
3648
4520
  requestId?: string;
3649
4521
  /**
@@ -3651,7 +4523,7 @@ export namespace alloydb_v1beta {
3651
4523
  */
3652
4524
  updateMask?: string;
3653
4525
  /**
3654
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the update request.
4526
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
3655
4527
  */
3656
4528
  validateOnly?: boolean;
3657
4529
 
@@ -3684,6 +4556,18 @@ export namespace alloydb_v1beta {
3684
4556
  */
3685
4557
  requestBody?: Schema$RestoreClusterRequest;
3686
4558
  }
4559
+ export interface Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql
4560
+ extends StandardParameters {
4561
+ /**
4562
+ * Required. The location of the new cluster. For the required format, see the comment on Cluster.name field.
4563
+ */
4564
+ parent?: string;
4565
+
4566
+ /**
4567
+ * Request body metadata
4568
+ */
4569
+ requestBody?: Schema$RestoreFromCloudSQLRequest;
4570
+ }
3687
4571
  export interface Params$Resource$Projects$Locations$Clusters$Switchover
3688
4572
  extends StandardParameters {
3689
4573
  /**
@@ -3696,6 +4580,18 @@ export namespace alloydb_v1beta {
3696
4580
  */
3697
4581
  requestBody?: Schema$SwitchoverClusterRequest;
3698
4582
  }
4583
+ export interface Params$Resource$Projects$Locations$Clusters$Upgrade
4584
+ extends StandardParameters {
4585
+ /**
4586
+ * Required. The resource name of the cluster.
4587
+ */
4588
+ name?: string;
4589
+
4590
+ /**
4591
+ * Request body metadata
4592
+ */
4593
+ requestBody?: Schema$UpgradeClusterRequest;
4594
+ }
3699
4595
 
3700
4596
  export class Resource$Projects$Locations$Clusters$Instances {
3701
4597
  context: APIRequestContext;
@@ -4602,11 +5498,11 @@ export namespace alloydb_v1beta {
4602
5498
  */
4603
5499
  parent?: string;
4604
5500
  /**
4605
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5501
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4606
5502
  */
4607
5503
  requestId?: string;
4608
5504
  /**
4609
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the create request.
5505
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
4610
5506
  */
4611
5507
  validateOnly?: boolean;
4612
5508
 
@@ -4626,11 +5522,11 @@ export namespace alloydb_v1beta {
4626
5522
  */
4627
5523
  parent?: string;
4628
5524
  /**
4629
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5525
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4630
5526
  */
4631
5527
  requestId?: string;
4632
5528
  /**
4633
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the create request.
5529
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
4634
5530
  */
4635
5531
  validateOnly?: boolean;
4636
5532
 
@@ -4650,11 +5546,11 @@ export namespace alloydb_v1beta {
4650
5546
  */
4651
5547
  name?: string;
4652
5548
  /**
4653
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5549
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4654
5550
  */
4655
5551
  requestId?: string;
4656
5552
  /**
4657
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the delete.
5553
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
4658
5554
  */
4659
5555
  validateOnly?: boolean;
4660
5556
  }
@@ -4688,7 +5584,7 @@ export namespace alloydb_v1beta {
4688
5584
  */
4689
5585
  parent?: string;
4690
5586
  /**
4691
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5587
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4692
5588
  */
4693
5589
  requestId?: string;
4694
5590
  }
@@ -4738,7 +5634,7 @@ export namespace alloydb_v1beta {
4738
5634
  */
4739
5635
  name?: string;
4740
5636
  /**
4741
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5637
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4742
5638
  */
4743
5639
  requestId?: string;
4744
5640
  /**
@@ -4746,7 +5642,7 @@ export namespace alloydb_v1beta {
4746
5642
  */
4747
5643
  updateMask?: string;
4748
5644
  /**
4749
- * Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the update request.
5645
+ * Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
4750
5646
  */
4751
5647
  validateOnly?: boolean;
4752
5648
 
@@ -5216,7 +6112,7 @@ export namespace alloydb_v1beta {
5216
6112
  */
5217
6113
  parent?: string;
5218
6114
  /**
5219
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6115
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5220
6116
  */
5221
6117
  requestId?: string;
5222
6118
  /**
@@ -5240,7 +6136,7 @@ export namespace alloydb_v1beta {
5240
6136
  */
5241
6137
  name?: string;
5242
6138
  /**
5243
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6139
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5244
6140
  */
5245
6141
  requestId?: string;
5246
6142
  /**
@@ -5289,7 +6185,7 @@ export namespace alloydb_v1beta {
5289
6185
  */
5290
6186
  name?: string;
5291
6187
  /**
5292
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6188
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5293
6189
  */
5294
6190
  requestId?: string;
5295
6191
  /**
@@ -5314,7 +6210,7 @@ export namespace alloydb_v1beta {
5314
6210
  }
5315
6211
 
5316
6212
  /**
5317
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
6213
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
5318
6214
  *
5319
6215
  * @param params - Parameters for request
5320
6216
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -5825,5 +6721,9 @@ export namespace alloydb_v1beta {
5825
6721
  * 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.
5826
6722
  */
5827
6723
  parent?: string;
6724
+ /**
6725
+ * Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
6726
+ */
6727
+ scope?: string;
5828
6728
  }
5829
6729
  }