@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/CHANGELOG.md +33 -0
- package/build/v1.d.ts +672 -59
- package/build/v1.js +129 -0
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +624 -72
- package/build/v1alpha.js +97 -0
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +675 -70
- package/build/v1beta.js +129 -0
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +972 -68
- package/v1alpha.ts +843 -72
- package/v1beta.ts +970 -70
package/build/v1alpha.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
93
93
|
*/
|
|
94
94
|
enabled?: boolean | null;
|
|
95
95
|
/**
|
|
96
|
-
* Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will
|
|
96
|
+
* Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
|
|
97
97
|
*/
|
|
98
98
|
encryptionConfig?: Schema$EncryptionConfig;
|
|
99
99
|
/**
|
|
@@ -137,6 +137,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
137
137
|
* Output only. The system-generated UID of the cluster which was used to create this resource.
|
|
138
138
|
*/
|
|
139
139
|
clusterUid?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* Output only. Timestamp when the resource finished being created.
|
|
142
|
+
*/
|
|
143
|
+
createCompletionTime?: string | null;
|
|
140
144
|
/**
|
|
141
145
|
* Output only. Create time stamp
|
|
142
146
|
*/
|
|
@@ -207,6 +211,12 @@ export declare namespace alloydb_v1alpha {
|
|
|
207
211
|
* Output only. The current state of the backup.
|
|
208
212
|
*/
|
|
209
213
|
state?: string | null;
|
|
214
|
+
/**
|
|
215
|
+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
|
|
216
|
+
*/
|
|
217
|
+
tags?: {
|
|
218
|
+
[key: string]: string;
|
|
219
|
+
} | null;
|
|
210
220
|
/**
|
|
211
221
|
* The backup type, which suggests the trigger for the backup.
|
|
212
222
|
*/
|
|
@@ -216,7 +226,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
216
226
|
*/
|
|
217
227
|
uid?: string | null;
|
|
218
228
|
/**
|
|
219
|
-
* Output only. Update time stamp
|
|
229
|
+
* Output only. Update time stamp Users should not infer any meaning from this field. Its value is generally unrelated to the timing of the backup creation operation.
|
|
220
230
|
*/
|
|
221
231
|
updateTime?: string | null;
|
|
222
232
|
}
|
|
@@ -247,7 +257,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
247
257
|
*/
|
|
248
258
|
requireConnectors?: boolean | null;
|
|
249
259
|
/**
|
|
250
|
-
* Optional. SSL
|
|
260
|
+
* Optional. SSL configuration option for this instance.
|
|
251
261
|
*/
|
|
252
262
|
sslConfig?: Schema$SslConfig;
|
|
253
263
|
}
|
|
@@ -344,7 +354,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
344
354
|
*/
|
|
345
355
|
etag?: string | null;
|
|
346
356
|
/**
|
|
347
|
-
* Optional.
|
|
357
|
+
* Optional. Deprecated and unused. This field will be removed in the near future.
|
|
348
358
|
*/
|
|
349
359
|
geminiConfig?: Schema$GeminiClusterConfig;
|
|
350
360
|
/**
|
|
@@ -414,6 +424,12 @@ export declare namespace alloydb_v1alpha {
|
|
|
414
424
|
* Optional. Subscription type of the cluster.
|
|
415
425
|
*/
|
|
416
426
|
subscriptionType?: string | null;
|
|
427
|
+
/**
|
|
428
|
+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
|
|
429
|
+
*/
|
|
430
|
+
tags?: {
|
|
431
|
+
[key: string]: string;
|
|
432
|
+
} | null;
|
|
417
433
|
/**
|
|
418
434
|
* Output only. Metadata for free trial clusters
|
|
419
435
|
*/
|
|
@@ -485,6 +501,61 @@ export declare namespace alloydb_v1alpha {
|
|
|
485
501
|
*/
|
|
486
502
|
publicIpAddress?: string | null;
|
|
487
503
|
}
|
|
504
|
+
/**
|
|
505
|
+
* Configuration for Managed Connection Pool (MCP).
|
|
506
|
+
*/
|
|
507
|
+
export interface Schema$ConnectionPoolConfig {
|
|
508
|
+
/**
|
|
509
|
+
* Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to 20.
|
|
510
|
+
*/
|
|
511
|
+
defaultPoolSize?: string | null;
|
|
512
|
+
/**
|
|
513
|
+
* Optional. Deprecated; Prefer 'enabled' as this will be removed soon.
|
|
514
|
+
*/
|
|
515
|
+
enable?: boolean | null;
|
|
516
|
+
/**
|
|
517
|
+
* Optional. Whether to enable Managed Connection Pool (MCP).
|
|
518
|
+
*/
|
|
519
|
+
enabled?: boolean | null;
|
|
520
|
+
/**
|
|
521
|
+
* Optional. Connection Pool flags, as a list of "key": "value" pairs.
|
|
522
|
+
*/
|
|
523
|
+
flags?: {
|
|
524
|
+
[key: string]: string;
|
|
525
|
+
} | null;
|
|
526
|
+
/**
|
|
527
|
+
* Optional. Deprecated. Use 'flags' instead. The list of startup parameters to ignore. Defaults to ["extra_float_digits"]
|
|
528
|
+
*/
|
|
529
|
+
ignoreStartupParameters?: string[] | null;
|
|
530
|
+
/**
|
|
531
|
+
* Optional. Deprecated. Use 'flags' instead. The maximum number of client connections allowed.
|
|
532
|
+
*/
|
|
533
|
+
maxClientConn?: string | null;
|
|
534
|
+
/**
|
|
535
|
+
* Optional. Deprecated. Use 'flags' instead. The maximum number of prepared statements allowed. MCP makes sure that any statement prepared by a client, up to this limit, is available on the backing server connection in transaction and statement pooling mode. Even if the statement was originally prepared on another server connection. Defaults to 0.
|
|
536
|
+
*/
|
|
537
|
+
maxPreparedStatements?: string | null;
|
|
538
|
+
/**
|
|
539
|
+
* Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to 0.
|
|
540
|
+
*/
|
|
541
|
+
minPoolSize?: string | null;
|
|
542
|
+
/**
|
|
543
|
+
* Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `POOL_MODE_TRANSACTION`.
|
|
544
|
+
*/
|
|
545
|
+
poolMode?: string | null;
|
|
546
|
+
/**
|
|
547
|
+
* Optional. Deprecated. Use 'flags' instead. The maximum number of seconds queries are allowed to spend waiting for execution. If the query is not assigned to a server during that time, the client is disconnected. 0 disables.
|
|
548
|
+
*/
|
|
549
|
+
queryWaitTimeout?: string | null;
|
|
550
|
+
/**
|
|
551
|
+
* Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a server is allowed to be idle before it is disconnected. 0 disables.
|
|
552
|
+
*/
|
|
553
|
+
serverIdleTimeout?: string | null;
|
|
554
|
+
/**
|
|
555
|
+
* Optional. Deprecated. Use 'flags' instead. The list of users that are allowed to connect to the MCP stats console. The users must exist in the database.
|
|
556
|
+
*/
|
|
557
|
+
statsUsers?: string[] | null;
|
|
558
|
+
}
|
|
488
559
|
/**
|
|
489
560
|
* ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
|
|
490
561
|
*/
|
|
@@ -494,7 +565,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
494
565
|
*/
|
|
495
566
|
enabled?: boolean | null;
|
|
496
567
|
/**
|
|
497
|
-
* 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
|
|
568
|
+
* The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
|
|
498
569
|
*/
|
|
499
570
|
encryptionConfig?: Schema$EncryptionConfig;
|
|
500
571
|
/**
|
|
@@ -536,6 +607,69 @@ export declare namespace alloydb_v1alpha {
|
|
|
536
607
|
*/
|
|
537
608
|
pointInTime?: string | null;
|
|
538
609
|
}
|
|
610
|
+
/**
|
|
611
|
+
* Options for exporting data in CSV format.
|
|
612
|
+
*/
|
|
613
|
+
export interface Schema$CsvExportOptions {
|
|
614
|
+
/**
|
|
615
|
+
* 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.
|
|
616
|
+
*/
|
|
617
|
+
escapeCharacter?: string | null;
|
|
618
|
+
/**
|
|
619
|
+
* 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.
|
|
620
|
+
*/
|
|
621
|
+
fieldDelimiter?: string | null;
|
|
622
|
+
/**
|
|
623
|
+
* 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.
|
|
624
|
+
*/
|
|
625
|
+
quoteCharacter?: string | null;
|
|
626
|
+
/**
|
|
627
|
+
* Required. The SELECT query used to extract the data.
|
|
628
|
+
*/
|
|
629
|
+
selectQuery?: string | null;
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* Options for importing data in CSV format.
|
|
633
|
+
*/
|
|
634
|
+
export interface Schema$CsvImportOptions {
|
|
635
|
+
/**
|
|
636
|
+
* Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
|
|
637
|
+
*/
|
|
638
|
+
columns?: string[] | null;
|
|
639
|
+
/**
|
|
640
|
+
* Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.
|
|
641
|
+
*/
|
|
642
|
+
escapeCharacter?: string | null;
|
|
643
|
+
/**
|
|
644
|
+
* Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
|
|
645
|
+
*/
|
|
646
|
+
fieldDelimiter?: string | null;
|
|
647
|
+
/**
|
|
648
|
+
* Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
|
|
649
|
+
*/
|
|
650
|
+
quoteCharacter?: string | null;
|
|
651
|
+
/**
|
|
652
|
+
* Required. The database table to import CSV file into.
|
|
653
|
+
*/
|
|
654
|
+
table?: string | null;
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not be scheduled to start within this deny period. The start_date must be less than the end_date.
|
|
658
|
+
*/
|
|
659
|
+
export interface Schema$DenyMaintenancePeriod {
|
|
660
|
+
/**
|
|
661
|
+
* Deny period end date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring
|
|
662
|
+
*/
|
|
663
|
+
endDate?: Schema$GoogleTypeDate;
|
|
664
|
+
/**
|
|
665
|
+
* Deny period start date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring
|
|
666
|
+
*/
|
|
667
|
+
startDate?: Schema$GoogleTypeDate;
|
|
668
|
+
/**
|
|
669
|
+
* Time in UTC when the deny period starts on start_date and ends on end_date. This can be: * Full time OR * All zeros for 00:00:00 UTC
|
|
670
|
+
*/
|
|
671
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
672
|
+
}
|
|
539
673
|
/**
|
|
540
674
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
541
675
|
*/
|
|
@@ -563,34 +697,73 @@ export declare namespace alloydb_v1alpha {
|
|
|
563
697
|
*/
|
|
564
698
|
kmsKeyVersions?: string[] | null;
|
|
565
699
|
}
|
|
700
|
+
/**
|
|
701
|
+
* Export cluster request.
|
|
702
|
+
*/
|
|
703
|
+
export interface Schema$ExportClusterRequest {
|
|
704
|
+
/**
|
|
705
|
+
* Options for exporting data in CSV format. Required field to be set for CSV file type.
|
|
706
|
+
*/
|
|
707
|
+
csvExportOptions?: Schema$CsvExportOptions;
|
|
708
|
+
/**
|
|
709
|
+
* 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.
|
|
710
|
+
*/
|
|
711
|
+
database?: string | null;
|
|
712
|
+
/**
|
|
713
|
+
* Required. Option to export data to cloud storage.
|
|
714
|
+
*/
|
|
715
|
+
gcsDestination?: Schema$GcsDestination;
|
|
716
|
+
/**
|
|
717
|
+
* Options for exporting data in SQL format. Required field to be set for SQL file type.
|
|
718
|
+
*/
|
|
719
|
+
sqlExportOptions?: Schema$SqlExportOptions;
|
|
720
|
+
}
|
|
566
721
|
/**
|
|
567
722
|
* Message for triggering failover on an Instance
|
|
568
723
|
*/
|
|
569
724
|
export interface Schema$FailoverInstanceRequest {
|
|
570
725
|
/**
|
|
571
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
726
|
+
* 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).
|
|
572
727
|
*/
|
|
573
728
|
requestId?: string | null;
|
|
574
729
|
/**
|
|
575
|
-
* Optional. If set, performs request validation
|
|
730
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
576
731
|
*/
|
|
577
732
|
validateOnly?: boolean | null;
|
|
578
733
|
}
|
|
579
734
|
/**
|
|
580
|
-
*
|
|
735
|
+
* Instance level configuration parameters related to the Gemini Cloud Assist product.
|
|
736
|
+
*/
|
|
737
|
+
export interface Schema$GCAInstanceConfig {
|
|
738
|
+
/**
|
|
739
|
+
* Output only. Represents the GCA entitlement state of the instance.
|
|
740
|
+
*/
|
|
741
|
+
gcaEntitlement?: string | null;
|
|
742
|
+
}
|
|
743
|
+
/**
|
|
744
|
+
* Destination for Export. Export will be done to cloud storage.
|
|
745
|
+
*/
|
|
746
|
+
export interface Schema$GcsDestination {
|
|
747
|
+
/**
|
|
748
|
+
* 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`.
|
|
749
|
+
*/
|
|
750
|
+
uri?: string | null;
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* Deprecated and unused. This field will be removed in the near future.
|
|
581
754
|
*/
|
|
582
755
|
export interface Schema$GeminiClusterConfig {
|
|
583
756
|
/**
|
|
584
|
-
* Output only.
|
|
757
|
+
* Output only. Deprecated and unused. This field will be removed in the near future.
|
|
585
758
|
*/
|
|
586
759
|
entitled?: boolean | null;
|
|
587
760
|
}
|
|
588
761
|
/**
|
|
589
|
-
*
|
|
762
|
+
* Deprecated and unused. This field will be removed in the near future.
|
|
590
763
|
*/
|
|
591
764
|
export interface Schema$GeminiInstanceConfig {
|
|
592
765
|
/**
|
|
593
|
-
* Output only.
|
|
766
|
+
* Output only. Deprecated and unused. This field will be removed in the near future.
|
|
594
767
|
*/
|
|
595
768
|
entitled?: boolean | null;
|
|
596
769
|
}
|
|
@@ -636,27 +809,69 @@ export declare namespace alloydb_v1alpha {
|
|
|
636
809
|
*/
|
|
637
810
|
name?: string | null;
|
|
638
811
|
}
|
|
812
|
+
/**
|
|
813
|
+
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
814
|
+
*/
|
|
815
|
+
export interface Schema$GoogleTypeDate {
|
|
816
|
+
/**
|
|
817
|
+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
|
|
818
|
+
*/
|
|
819
|
+
day?: number | null;
|
|
820
|
+
/**
|
|
821
|
+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
|
|
822
|
+
*/
|
|
823
|
+
month?: number | null;
|
|
824
|
+
/**
|
|
825
|
+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
|
|
826
|
+
*/
|
|
827
|
+
year?: number | null;
|
|
828
|
+
}
|
|
639
829
|
/**
|
|
640
830
|
* Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
|
|
641
831
|
*/
|
|
642
832
|
export interface Schema$GoogleTypeTimeOfDay {
|
|
643
833
|
/**
|
|
644
|
-
* Hours of day in 24 hour format.
|
|
834
|
+
* 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.
|
|
645
835
|
*/
|
|
646
836
|
hours?: number | null;
|
|
647
837
|
/**
|
|
648
|
-
* Minutes of hour
|
|
838
|
+
* Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
|
|
649
839
|
*/
|
|
650
840
|
minutes?: number | null;
|
|
651
841
|
/**
|
|
652
|
-
* Fractions of seconds in nanoseconds. Must be
|
|
842
|
+
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
|
|
653
843
|
*/
|
|
654
844
|
nanos?: number | null;
|
|
655
845
|
/**
|
|
656
|
-
* Seconds of
|
|
846
|
+
* 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.
|
|
657
847
|
*/
|
|
658
848
|
seconds?: number | null;
|
|
659
849
|
}
|
|
850
|
+
/**
|
|
851
|
+
* Import cluster request.
|
|
852
|
+
*/
|
|
853
|
+
export interface Schema$ImportClusterRequest {
|
|
854
|
+
/**
|
|
855
|
+
* Options for importing data in CSV format.
|
|
856
|
+
*/
|
|
857
|
+
csvImportOptions?: Schema$CsvImportOptions;
|
|
858
|
+
/**
|
|
859
|
+
* Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
|
|
860
|
+
*/
|
|
861
|
+
database?: string | null;
|
|
862
|
+
/**
|
|
863
|
+
* Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.
|
|
864
|
+
*/
|
|
865
|
+
gcsUri?: string | null;
|
|
866
|
+
/**
|
|
867
|
+
* Options for importing data in SQL format.
|
|
868
|
+
*/
|
|
869
|
+
sqlImportOptions?: Schema$SqlImportOptions;
|
|
870
|
+
/**
|
|
871
|
+
* Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.
|
|
872
|
+
*/
|
|
873
|
+
user?: string | null;
|
|
874
|
+
}
|
|
660
875
|
/**
|
|
661
876
|
* Message for triggering fault injection on an instance
|
|
662
877
|
*/
|
|
@@ -666,11 +881,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
666
881
|
*/
|
|
667
882
|
faultType?: string | null;
|
|
668
883
|
/**
|
|
669
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
884
|
+
* 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).
|
|
670
885
|
*/
|
|
671
886
|
requestId?: string | null;
|
|
672
887
|
/**
|
|
673
|
-
* Optional. If set, performs request validation
|
|
888
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
674
889
|
*/
|
|
675
890
|
validateOnly?: boolean | null;
|
|
676
891
|
}
|
|
@@ -692,12 +907,16 @@ export declare namespace alloydb_v1alpha {
|
|
|
692
907
|
* Optional. Client connection specific configurations
|
|
693
908
|
*/
|
|
694
909
|
clientConnectionConfig?: Schema$ClientConnectionConfig;
|
|
910
|
+
/**
|
|
911
|
+
* Optional. The configuration for Managed Connection Pool (MCP).
|
|
912
|
+
*/
|
|
913
|
+
connectionPoolConfig?: Schema$ConnectionPoolConfig;
|
|
695
914
|
/**
|
|
696
915
|
* Output only. Create time stamp
|
|
697
916
|
*/
|
|
698
917
|
createTime?: string | null;
|
|
699
918
|
/**
|
|
700
|
-
* Database flags. Set at instance level.
|
|
919
|
+
* 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.
|
|
701
920
|
*/
|
|
702
921
|
databaseFlags?: {
|
|
703
922
|
[key: string]: string;
|
|
@@ -714,12 +933,16 @@ export declare namespace alloydb_v1alpha {
|
|
|
714
933
|
* For Resource freshness validation (https://google.aip.dev/154)
|
|
715
934
|
*/
|
|
716
935
|
etag?: string | null;
|
|
936
|
+
/**
|
|
937
|
+
* Output only. Configuration parameters related to Gemini Cloud Assist.
|
|
938
|
+
*/
|
|
939
|
+
gcaConfig?: Schema$GCAInstanceConfig;
|
|
717
940
|
/**
|
|
718
941
|
* 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.
|
|
719
942
|
*/
|
|
720
943
|
gceZone?: string | null;
|
|
721
944
|
/**
|
|
722
|
-
* Optional.
|
|
945
|
+
* Optional. Deprecated and unused. This field will be removed in the near future.
|
|
723
946
|
*/
|
|
724
947
|
geminiConfig?: Schema$GeminiInstanceConfig;
|
|
725
948
|
/**
|
|
@@ -745,7 +968,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
745
968
|
*/
|
|
746
969
|
name?: string | null;
|
|
747
970
|
/**
|
|
748
|
-
* Optional. Instance
|
|
971
|
+
* Optional. Instance-level network configuration.
|
|
749
972
|
*/
|
|
750
973
|
networkConfig?: Schema$InstanceNetworkConfig;
|
|
751
974
|
/**
|
|
@@ -810,7 +1033,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
810
1033
|
writableNode?: Schema$Node;
|
|
811
1034
|
}
|
|
812
1035
|
/**
|
|
813
|
-
* Metadata related to instance
|
|
1036
|
+
* Metadata related to instance-level network configuration.
|
|
814
1037
|
*/
|
|
815
1038
|
export interface Schema$InstanceNetworkConfig {
|
|
816
1039
|
/**
|
|
@@ -825,6 +1048,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
825
1048
|
* Optional. Enabling public ip for the instance.
|
|
826
1049
|
*/
|
|
827
1050
|
enablePublicIp?: boolean | null;
|
|
1051
|
+
/**
|
|
1052
|
+
* 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\}`.
|
|
1053
|
+
*/
|
|
1054
|
+
network?: string | null;
|
|
828
1055
|
}
|
|
829
1056
|
/**
|
|
830
1057
|
* Details regarding the upgrade of instaces associated with a cluster.
|
|
@@ -958,6 +1185,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
958
1185
|
* The number of CPU's in the VM instance.
|
|
959
1186
|
*/
|
|
960
1187
|
cpuCount?: number | null;
|
|
1188
|
+
/**
|
|
1189
|
+
* 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.
|
|
1190
|
+
*/
|
|
1191
|
+
machineType?: string | null;
|
|
961
1192
|
}
|
|
962
1193
|
/**
|
|
963
1194
|
* 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.
|
|
@@ -972,6 +1203,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
972
1203
|
* MaintenanceUpdatePolicy defines the policy for system updates.
|
|
973
1204
|
*/
|
|
974
1205
|
export interface Schema$MaintenanceUpdatePolicy {
|
|
1206
|
+
/**
|
|
1207
|
+
* Periods to deny maintenance. Currently limited to 1.
|
|
1208
|
+
*/
|
|
1209
|
+
denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
|
|
975
1210
|
/**
|
|
976
1211
|
* Preferred windows to perform maintenance. Currently limited to 1.
|
|
977
1212
|
*/
|
|
@@ -1021,23 +1256,23 @@ export declare namespace alloydb_v1alpha {
|
|
|
1021
1256
|
network?: string | null;
|
|
1022
1257
|
}
|
|
1023
1258
|
/**
|
|
1024
|
-
* Details of a single node in the instance. Nodes in an AlloyDB instance are
|
|
1259
|
+
* 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.
|
|
1025
1260
|
*/
|
|
1026
1261
|
export interface Schema$Node {
|
|
1027
1262
|
/**
|
|
1028
|
-
* The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
|
|
1263
|
+
* Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
|
|
1029
1264
|
*/
|
|
1030
1265
|
id?: string | null;
|
|
1031
1266
|
/**
|
|
1032
|
-
* The private IP address of the VM e.g. "10.57.0.34".
|
|
1267
|
+
* Output only. The private IP address of the VM e.g. "10.57.0.34".
|
|
1033
1268
|
*/
|
|
1034
1269
|
ip?: string | null;
|
|
1035
1270
|
/**
|
|
1036
|
-
* 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.
|
|
1271
|
+
* 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.
|
|
1037
1272
|
*/
|
|
1038
1273
|
state?: string | null;
|
|
1039
1274
|
/**
|
|
1040
|
-
* The Compute Engine zone of the VM e.g. "us-central1-b".
|
|
1275
|
+
* Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
|
|
1041
1276
|
*/
|
|
1042
1277
|
zoneId?: string | null;
|
|
1043
1278
|
}
|
|
@@ -1045,6 +1280,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1045
1280
|
* Observability Instance specific configuration.
|
|
1046
1281
|
*/
|
|
1047
1282
|
export interface Schema$ObservabilityInstanceConfig {
|
|
1283
|
+
/**
|
|
1284
|
+
* Whether assistive experiences are enabled for this AlloyDB instance.
|
|
1285
|
+
*/
|
|
1286
|
+
assistiveExperiencesEnabled?: boolean | null;
|
|
1048
1287
|
/**
|
|
1049
1288
|
* Observability feature status for an instance. This flag is turned "off" by default.
|
|
1050
1289
|
*/
|
|
@@ -1069,16 +1308,12 @@ export declare namespace alloydb_v1alpha {
|
|
|
1069
1308
|
* Track actively running queries on the instance. If not set, this flag is "off" by default.
|
|
1070
1309
|
*/
|
|
1071
1310
|
trackActiveQueries?: boolean | null;
|
|
1072
|
-
/**
|
|
1073
|
-
* Track client address for an instance. If not set, default value is "off".
|
|
1074
|
-
*/
|
|
1075
|
-
trackClientAddress?: boolean | null;
|
|
1076
1311
|
/**
|
|
1077
1312
|
* 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.
|
|
1078
1313
|
*/
|
|
1079
1314
|
trackWaitEvents?: boolean | null;
|
|
1080
1315
|
/**
|
|
1081
|
-
* 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
|
|
1316
|
+
* 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.
|
|
1082
1317
|
*/
|
|
1083
1318
|
trackWaitEventTypes?: boolean | null;
|
|
1084
1319
|
}
|
|
@@ -1128,7 +1363,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
1128
1363
|
*/
|
|
1129
1364
|
endTime?: string | null;
|
|
1130
1365
|
/**
|
|
1131
|
-
* 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`.
|
|
1366
|
+
* 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`.
|
|
1132
1367
|
*/
|
|
1133
1368
|
requestedCancellation?: boolean | null;
|
|
1134
1369
|
/**
|
|
@@ -1139,6 +1374,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1139
1374
|
* Output only. Server-defined resource path for the target of the operation.
|
|
1140
1375
|
*/
|
|
1141
1376
|
target?: string | null;
|
|
1377
|
+
/**
|
|
1378
|
+
* Output only. UpgradeClusterStatus related metadata.
|
|
1379
|
+
*/
|
|
1380
|
+
upgradeClusterStatus?: Schema$UpgradeClusterStatus;
|
|
1142
1381
|
/**
|
|
1143
1382
|
* Output only. Name of the verb executed by the operation.
|
|
1144
1383
|
*/
|
|
@@ -1162,14 +1401,39 @@ export declare namespace alloydb_v1alpha {
|
|
|
1162
1401
|
*/
|
|
1163
1402
|
etag?: string | null;
|
|
1164
1403
|
/**
|
|
1165
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1404
|
+
* 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).
|
|
1166
1405
|
*/
|
|
1167
1406
|
requestId?: string | null;
|
|
1168
1407
|
/**
|
|
1169
|
-
* Optional. If set, performs request validation
|
|
1408
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1170
1409
|
*/
|
|
1171
1410
|
validateOnly?: boolean | null;
|
|
1172
1411
|
}
|
|
1412
|
+
/**
|
|
1413
|
+
* Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.
|
|
1414
|
+
*/
|
|
1415
|
+
export interface Schema$PscAutoConnectionConfig {
|
|
1416
|
+
/**
|
|
1417
|
+
* 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.
|
|
1418
|
+
*/
|
|
1419
|
+
consumerNetwork?: string | null;
|
|
1420
|
+
/**
|
|
1421
|
+
* 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.
|
|
1422
|
+
*/
|
|
1423
|
+
consumerNetworkStatus?: string | null;
|
|
1424
|
+
/**
|
|
1425
|
+
* The consumer project to which the PSC service automation endpoint will be created.
|
|
1426
|
+
*/
|
|
1427
|
+
consumerProject?: string | null;
|
|
1428
|
+
/**
|
|
1429
|
+
* Output only. The IP address of the PSC service automation endpoint.
|
|
1430
|
+
*/
|
|
1431
|
+
ipAddress?: string | null;
|
|
1432
|
+
/**
|
|
1433
|
+
* 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.
|
|
1434
|
+
*/
|
|
1435
|
+
status?: string | null;
|
|
1436
|
+
}
|
|
1173
1437
|
/**
|
|
1174
1438
|
* PscConfig contains PSC related configuration at a cluster level.
|
|
1175
1439
|
*/
|
|
@@ -1178,6 +1442,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1178
1442
|
* Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
|
|
1179
1443
|
*/
|
|
1180
1444
|
pscEnabled?: boolean | null;
|
|
1445
|
+
/**
|
|
1446
|
+
* Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.
|
|
1447
|
+
*/
|
|
1448
|
+
serviceOwnedProjectNumber?: string | null;
|
|
1181
1449
|
}
|
|
1182
1450
|
/**
|
|
1183
1451
|
* PscInstanceConfig contains PSC related configuration at an instance level.
|
|
@@ -1187,15 +1455,32 @@ export declare namespace alloydb_v1alpha {
|
|
|
1187
1455
|
* Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1188
1456
|
*/
|
|
1189
1457
|
allowedConsumerProjects?: string[] | null;
|
|
1458
|
+
/**
|
|
1459
|
+
* Optional. Configurations for setting up PSC service automation.
|
|
1460
|
+
*/
|
|
1461
|
+
pscAutoConnections?: Schema$PscAutoConnectionConfig[];
|
|
1190
1462
|
/**
|
|
1191
1463
|
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
|
|
1192
1464
|
*/
|
|
1193
1465
|
pscDnsName?: string | null;
|
|
1466
|
+
/**
|
|
1467
|
+
* 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.
|
|
1468
|
+
*/
|
|
1469
|
+
pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
|
|
1194
1470
|
/**
|
|
1195
1471
|
* 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/`
|
|
1196
1472
|
*/
|
|
1197
1473
|
serviceAttachmentLink?: string | null;
|
|
1198
1474
|
}
|
|
1475
|
+
/**
|
|
1476
|
+
* Configuration for setting up a PSC interface to enable outbound connectivity.
|
|
1477
|
+
*/
|
|
1478
|
+
export interface Schema$PscInterfaceConfig {
|
|
1479
|
+
/**
|
|
1480
|
+
* 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.
|
|
1481
|
+
*/
|
|
1482
|
+
networkAttachmentResource?: string | null;
|
|
1483
|
+
}
|
|
1199
1484
|
/**
|
|
1200
1485
|
* 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)
|
|
1201
1486
|
*/
|
|
@@ -1248,22 +1533,31 @@ export declare namespace alloydb_v1alpha {
|
|
|
1248
1533
|
*/
|
|
1249
1534
|
nodeCount?: number | null;
|
|
1250
1535
|
}
|
|
1536
|
+
/**
|
|
1537
|
+
* Read pool instances upgrade specific status.
|
|
1538
|
+
*/
|
|
1539
|
+
export interface Schema$ReadPoolInstancesUpgradeStageStatus {
|
|
1540
|
+
/**
|
|
1541
|
+
* Read pool instances upgrade statistics.
|
|
1542
|
+
*/
|
|
1543
|
+
upgradeStats?: Schema$Stats;
|
|
1544
|
+
}
|
|
1251
1545
|
export interface Schema$RestartInstanceRequest {
|
|
1252
1546
|
/**
|
|
1253
|
-
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon.
|
|
1547
|
+
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
|
|
1254
1548
|
*/
|
|
1255
1549
|
nodeIds?: string[] | null;
|
|
1256
1550
|
/**
|
|
1257
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1551
|
+
* 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).
|
|
1258
1552
|
*/
|
|
1259
1553
|
requestId?: string | null;
|
|
1260
1554
|
/**
|
|
1261
|
-
* Optional. If set, performs request validation
|
|
1555
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1262
1556
|
*/
|
|
1263
1557
|
validateOnly?: boolean | null;
|
|
1264
1558
|
}
|
|
1265
1559
|
/**
|
|
1266
|
-
* Message for restoring a Cluster from a backup or another cluster at a given point in time.
|
|
1560
|
+
* Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
|
|
1267
1561
|
*/
|
|
1268
1562
|
export interface Schema$RestoreClusterRequest {
|
|
1269
1563
|
/**
|
|
@@ -1283,14 +1577,31 @@ export declare namespace alloydb_v1alpha {
|
|
|
1283
1577
|
*/
|
|
1284
1578
|
continuousBackupSource?: Schema$ContinuousBackupSource;
|
|
1285
1579
|
/**
|
|
1286
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1580
|
+
* 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).
|
|
1287
1581
|
*/
|
|
1288
1582
|
requestId?: string | null;
|
|
1289
1583
|
/**
|
|
1290
|
-
* Optional. If set, performs request validation
|
|
1584
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1291
1585
|
*/
|
|
1292
1586
|
validateOnly?: boolean | null;
|
|
1293
1587
|
}
|
|
1588
|
+
/**
|
|
1589
|
+
* Message for registering Restoring from CloudSQL resource.
|
|
1590
|
+
*/
|
|
1591
|
+
export interface Schema$RestoreFromCloudSQLRequest {
|
|
1592
|
+
/**
|
|
1593
|
+
* Cluster created from CloudSQL backup run.
|
|
1594
|
+
*/
|
|
1595
|
+
cloudsqlBackupRunSource?: Schema$CloudSQLBackupRunSource;
|
|
1596
|
+
/**
|
|
1597
|
+
* Required. The resource being created
|
|
1598
|
+
*/
|
|
1599
|
+
cluster?: Schema$Cluster;
|
|
1600
|
+
/**
|
|
1601
|
+
* Required. ID of the requesting object.
|
|
1602
|
+
*/
|
|
1603
|
+
clusterId?: string | null;
|
|
1604
|
+
}
|
|
1294
1605
|
/**
|
|
1295
1606
|
* Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.
|
|
1296
1607
|
*/
|
|
@@ -1300,6 +1611,32 @@ export declare namespace alloydb_v1alpha {
|
|
|
1300
1611
|
*/
|
|
1301
1612
|
primaryClusterName?: string | null;
|
|
1302
1613
|
}
|
|
1614
|
+
/**
|
|
1615
|
+
* Options for exporting data in SQL format.
|
|
1616
|
+
*/
|
|
1617
|
+
export interface Schema$SqlExportOptions {
|
|
1618
|
+
/**
|
|
1619
|
+
* Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.
|
|
1620
|
+
*/
|
|
1621
|
+
cleanTargetObjects?: boolean | null;
|
|
1622
|
+
/**
|
|
1623
|
+
* Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode.
|
|
1624
|
+
*/
|
|
1625
|
+
ifExistTargetObjects?: boolean | null;
|
|
1626
|
+
/**
|
|
1627
|
+
* Optional. If true, only export the schema.
|
|
1628
|
+
*/
|
|
1629
|
+
schemaOnly?: boolean | null;
|
|
1630
|
+
/**
|
|
1631
|
+
* Optional. Tables to export from.
|
|
1632
|
+
*/
|
|
1633
|
+
tables?: string[] | null;
|
|
1634
|
+
}
|
|
1635
|
+
/**
|
|
1636
|
+
* Options for importing data in SQL format.
|
|
1637
|
+
*/
|
|
1638
|
+
export interface Schema$SqlImportOptions {
|
|
1639
|
+
}
|
|
1303
1640
|
/**
|
|
1304
1641
|
* SSL configuration.
|
|
1305
1642
|
*/
|
|
@@ -1330,6 +1667,44 @@ export declare namespace alloydb_v1alpha {
|
|
|
1330
1667
|
*/
|
|
1331
1668
|
status?: string | null;
|
|
1332
1669
|
}
|
|
1670
|
+
/**
|
|
1671
|
+
* Status of an upgrade stage.
|
|
1672
|
+
*/
|
|
1673
|
+
export interface Schema$StageStatus {
|
|
1674
|
+
/**
|
|
1675
|
+
* Read pool instances upgrade metadata.
|
|
1676
|
+
*/
|
|
1677
|
+
readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
|
|
1678
|
+
/**
|
|
1679
|
+
* Upgrade stage.
|
|
1680
|
+
*/
|
|
1681
|
+
stage?: string | null;
|
|
1682
|
+
/**
|
|
1683
|
+
* State of this stage.
|
|
1684
|
+
*/
|
|
1685
|
+
state?: string | null;
|
|
1686
|
+
}
|
|
1687
|
+
/**
|
|
1688
|
+
* Upgrade stats for read pool instances.
|
|
1689
|
+
*/
|
|
1690
|
+
export interface Schema$Stats {
|
|
1691
|
+
/**
|
|
1692
|
+
* Number of read pool instances which failed to upgrade.
|
|
1693
|
+
*/
|
|
1694
|
+
failed?: number | null;
|
|
1695
|
+
/**
|
|
1696
|
+
* Number of read pool instances for which upgrade has not started.
|
|
1697
|
+
*/
|
|
1698
|
+
notStarted?: number | null;
|
|
1699
|
+
/**
|
|
1700
|
+
* Number of read pool instances undergoing upgrade.
|
|
1701
|
+
*/
|
|
1702
|
+
ongoing?: number | null;
|
|
1703
|
+
/**
|
|
1704
|
+
* Number of read pool instances successfully upgraded.
|
|
1705
|
+
*/
|
|
1706
|
+
success?: number | null;
|
|
1707
|
+
}
|
|
1333
1708
|
/**
|
|
1334
1709
|
* 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).
|
|
1335
1710
|
*/
|
|
@@ -1531,7 +1906,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
1531
1906
|
uniqueId?: string | null;
|
|
1532
1907
|
}
|
|
1533
1908
|
/**
|
|
1534
|
-
* Common model for database resource instance metadata.
|
|
1909
|
+
* Common model for database resource instance metadata. Next ID: 25
|
|
1535
1910
|
*/
|
|
1536
1911
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
|
|
1537
1912
|
/**
|
|
@@ -1558,6 +1933,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1558
1933
|
* Any custom metadata associated with the resource
|
|
1559
1934
|
*/
|
|
1560
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;
|
|
1561
1940
|
/**
|
|
1562
1941
|
* Entitlements associated with the resource
|
|
1563
1942
|
*/
|
|
@@ -1566,6 +1945,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1566
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.
|
|
1567
1946
|
*/
|
|
1568
1947
|
expectedState?: string | null;
|
|
1948
|
+
/**
|
|
1949
|
+
* GCBDR configuration for the resource.
|
|
1950
|
+
*/
|
|
1951
|
+
gcbdrConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration;
|
|
1569
1952
|
/**
|
|
1570
1953
|
* Required. Unique identifier for a Database resource
|
|
1571
1954
|
*/
|
|
@@ -1586,6 +1969,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1586
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.
|
|
1587
1970
|
*/
|
|
1588
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;
|
|
1589
1976
|
/**
|
|
1590
1977
|
* The product this resource represents.
|
|
1591
1978
|
*/
|
|
@@ -1598,6 +1985,14 @@ export declare namespace alloydb_v1alpha {
|
|
|
1598
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
|
|
1599
1986
|
*/
|
|
1600
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;
|
|
1601
1996
|
/**
|
|
1602
1997
|
* The time at which the resource was updated and recorded at partner service.
|
|
1603
1998
|
*/
|
|
@@ -1659,6 +2054,15 @@ export declare namespace alloydb_v1alpha {
|
|
|
1659
2054
|
*/
|
|
1660
2055
|
type?: string | null;
|
|
1661
2056
|
}
|
|
2057
|
+
/**
|
|
2058
|
+
* GCBDR Configuration for the resource.
|
|
2059
|
+
*/
|
|
2060
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration {
|
|
2061
|
+
/**
|
|
2062
|
+
* Whether the resource is managed by GCBDR.
|
|
2063
|
+
*/
|
|
2064
|
+
gcbdrManaged?: boolean | null;
|
|
2065
|
+
}
|
|
1662
2066
|
/**
|
|
1663
2067
|
* 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.
|
|
1664
2068
|
*/
|
|
@@ -1671,6 +2075,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1671
2075
|
* Information about the last backup attempt for this database
|
|
1672
2076
|
*/
|
|
1673
2077
|
backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
|
|
2078
|
+
/**
|
|
2079
|
+
* Whether deletion protection is enabled for this internal resource.
|
|
2080
|
+
*/
|
|
2081
|
+
isDeletionProtectionEnabled?: boolean | null;
|
|
1674
2082
|
product?: Schema$StorageDatabasecenterProtoCommonProduct;
|
|
1675
2083
|
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1676
2084
|
/**
|
|
@@ -1683,13 +2091,21 @@ export declare namespace alloydb_v1alpha {
|
|
|
1683
2091
|
*/
|
|
1684
2092
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
|
|
1685
2093
|
/**
|
|
1686
|
-
* The number of CPUs. TODO(b/342344482
|
|
2094
|
+
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.
|
|
1687
2095
|
*/
|
|
1688
2096
|
cpuCount?: number | null;
|
|
1689
2097
|
/**
|
|
1690
|
-
* Memory size in bytes. TODO(b/342344482
|
|
2098
|
+
* Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
|
|
1691
2099
|
*/
|
|
1692
2100
|
memorySizeInBytes?: string | null;
|
|
2101
|
+
/**
|
|
2102
|
+
* Optional. Number of shards (if applicable).
|
|
2103
|
+
*/
|
|
2104
|
+
shardCount?: number | null;
|
|
2105
|
+
/**
|
|
2106
|
+
* Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.
|
|
2107
|
+
*/
|
|
2108
|
+
vcpuCount?: number | null;
|
|
1693
2109
|
}
|
|
1694
2110
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainObservabilityMetricData {
|
|
1695
2111
|
/**
|
|
@@ -1728,12 +2144,31 @@ export declare namespace alloydb_v1alpha {
|
|
|
1728
2144
|
message?: string | null;
|
|
1729
2145
|
}
|
|
1730
2146
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainRetentionSettings {
|
|
2147
|
+
/**
|
|
2148
|
+
* Duration based retention period i.e. 172800 seconds (2 days)
|
|
2149
|
+
*/
|
|
2150
|
+
durationBasedRetention?: string | null;
|
|
1731
2151
|
quantityBasedRetention?: number | null;
|
|
1732
2152
|
/**
|
|
1733
2153
|
* The unit that 'retained_backups' represents.
|
|
1734
2154
|
*/
|
|
1735
2155
|
retentionUnit?: string | null;
|
|
1736
2156
|
timeBasedRetention?: string | null;
|
|
2157
|
+
/**
|
|
2158
|
+
* Timestamp based retention period i.e. 2024-05-01T00:00:00Z
|
|
2159
|
+
*/
|
|
2160
|
+
timestampBasedRetentionTime?: string | null;
|
|
2161
|
+
}
|
|
2162
|
+
/**
|
|
2163
|
+
* 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.
|
|
2164
|
+
*/
|
|
2165
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainTags {
|
|
2166
|
+
/**
|
|
2167
|
+
* The Tag key/value mappings.
|
|
2168
|
+
*/
|
|
2169
|
+
tags?: {
|
|
2170
|
+
[key: string]: string;
|
|
2171
|
+
} | null;
|
|
1737
2172
|
}
|
|
1738
2173
|
/**
|
|
1739
2174
|
* 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.
|
|
@@ -1810,10 +2245,22 @@ export declare namespace alloydb_v1alpha {
|
|
|
1810
2245
|
* 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.
|
|
1811
2246
|
*/
|
|
1812
2247
|
name?: string | null;
|
|
2248
|
+
/**
|
|
2249
|
+
* The recommended value for an INTEGER flag.
|
|
2250
|
+
*/
|
|
2251
|
+
recommendedIntegerValue?: string | null;
|
|
2252
|
+
/**
|
|
2253
|
+
* The recommended value for a STRING flag.
|
|
2254
|
+
*/
|
|
2255
|
+
recommendedStringValue?: string | null;
|
|
1813
2256
|
/**
|
|
1814
2257
|
* 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).
|
|
1815
2258
|
*/
|
|
1816
2259
|
requiresDbRestart?: boolean | null;
|
|
2260
|
+
/**
|
|
2261
|
+
* The scope of the flag.
|
|
2262
|
+
*/
|
|
2263
|
+
scope?: string | null;
|
|
1817
2264
|
/**
|
|
1818
2265
|
* Restriction on STRING type value.
|
|
1819
2266
|
*/
|
|
@@ -1829,11 +2276,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
1829
2276
|
*/
|
|
1830
2277
|
export interface Schema$SwitchoverClusterRequest {
|
|
1831
2278
|
/**
|
|
1832
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2279
|
+
* 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).
|
|
1833
2280
|
*/
|
|
1834
2281
|
requestId?: string | null;
|
|
1835
2282
|
/**
|
|
1836
|
-
* Optional. If set, performs request validation
|
|
2283
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1837
2284
|
*/
|
|
1838
2285
|
validateOnly?: boolean | null;
|
|
1839
2286
|
}
|
|
@@ -1885,11 +2332,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
1885
2332
|
*/
|
|
1886
2333
|
etag?: string | null;
|
|
1887
2334
|
/**
|
|
1888
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2335
|
+
* 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).
|
|
1889
2336
|
*/
|
|
1890
2337
|
requestId?: string | null;
|
|
1891
2338
|
/**
|
|
1892
|
-
* Optional. If set, performs request validation
|
|
2339
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1893
2340
|
*/
|
|
1894
2341
|
validateOnly?: boolean | null;
|
|
1895
2342
|
/**
|
|
@@ -1914,6 +2361,31 @@ export declare namespace alloydb_v1alpha {
|
|
|
1914
2361
|
*/
|
|
1915
2362
|
status?: string | null;
|
|
1916
2363
|
}
|
|
2364
|
+
/**
|
|
2365
|
+
* Message for current status of the Major Version Upgrade operation.
|
|
2366
|
+
*/
|
|
2367
|
+
export interface Schema$UpgradeClusterStatus {
|
|
2368
|
+
/**
|
|
2369
|
+
* Whether the operation is cancellable.
|
|
2370
|
+
*/
|
|
2371
|
+
cancellable?: boolean | null;
|
|
2372
|
+
/**
|
|
2373
|
+
* Source database major version.
|
|
2374
|
+
*/
|
|
2375
|
+
sourceVersion?: string | null;
|
|
2376
|
+
/**
|
|
2377
|
+
* Status of all upgrade stages.
|
|
2378
|
+
*/
|
|
2379
|
+
stages?: Schema$StageStatus[];
|
|
2380
|
+
/**
|
|
2381
|
+
* Cluster Major Version Upgrade state.
|
|
2382
|
+
*/
|
|
2383
|
+
state?: string | null;
|
|
2384
|
+
/**
|
|
2385
|
+
* Target database major version.
|
|
2386
|
+
*/
|
|
2387
|
+
targetVersion?: string | null;
|
|
2388
|
+
}
|
|
1917
2389
|
/**
|
|
1918
2390
|
* Message describing User object.
|
|
1919
2391
|
*/
|
|
@@ -2013,6 +2485,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
2013
2485
|
name?: string;
|
|
2014
2486
|
}
|
|
2015
2487
|
export interface Params$Resource$Projects$Locations$List extends StandardParameters {
|
|
2488
|
+
/**
|
|
2489
|
+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
|
|
2490
|
+
*/
|
|
2491
|
+
extraLocationTypes?: string[];
|
|
2016
2492
|
/**
|
|
2017
2493
|
* 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).
|
|
2018
2494
|
*/
|
|
@@ -2114,7 +2590,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2114
2590
|
*/
|
|
2115
2591
|
parent?: string;
|
|
2116
2592
|
/**
|
|
2117
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2593
|
+
* 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).
|
|
2118
2594
|
*/
|
|
2119
2595
|
requestId?: string;
|
|
2120
2596
|
/**
|
|
@@ -2136,7 +2612,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2136
2612
|
*/
|
|
2137
2613
|
name?: string;
|
|
2138
2614
|
/**
|
|
2139
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2615
|
+
* 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).
|
|
2140
2616
|
*/
|
|
2141
2617
|
requestId?: string;
|
|
2142
2618
|
/**
|
|
@@ -2182,7 +2658,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2182
2658
|
*/
|
|
2183
2659
|
name?: string;
|
|
2184
2660
|
/**
|
|
2185
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2661
|
+
* 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).
|
|
2186
2662
|
*/
|
|
2187
2663
|
requestId?: string;
|
|
2188
2664
|
/**
|
|
@@ -2245,6 +2721,20 @@ export declare namespace alloydb_v1alpha {
|
|
|
2245
2721
|
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2246
2722
|
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2247
2723
|
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2724
|
+
/**
|
|
2725
|
+
* Exports data from the cluster. Imperative only.
|
|
2726
|
+
*
|
|
2727
|
+
* @param params - Parameters for request
|
|
2728
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2729
|
+
* @param callback - Optional callback that handles the response.
|
|
2730
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2731
|
+
*/
|
|
2732
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2733
|
+
export(params?: Params$Resource$Projects$Locations$Clusters$Export, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2734
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2735
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2736
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2737
|
+
export(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2248
2738
|
/**
|
|
2249
2739
|
* Gets details of a single Cluster.
|
|
2250
2740
|
*
|
|
@@ -2259,6 +2749,20 @@ export declare namespace alloydb_v1alpha {
|
|
|
2259
2749
|
get(params: Params$Resource$Projects$Locations$Clusters$Get, options: MethodOptions | BodyResponseCallback<Schema$Cluster>, callback: BodyResponseCallback<Schema$Cluster>): void;
|
|
2260
2750
|
get(params: Params$Resource$Projects$Locations$Clusters$Get, callback: BodyResponseCallback<Schema$Cluster>): void;
|
|
2261
2751
|
get(callback: BodyResponseCallback<Schema$Cluster>): void;
|
|
2752
|
+
/**
|
|
2753
|
+
* Imports data to the cluster. Imperative only.
|
|
2754
|
+
*
|
|
2755
|
+
* @param params - Parameters for request
|
|
2756
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2757
|
+
* @param callback - Optional callback that handles the response.
|
|
2758
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2759
|
+
*/
|
|
2760
|
+
import(params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2761
|
+
import(params?: Params$Resource$Projects$Locations$Clusters$Import, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2762
|
+
import(params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2763
|
+
import(params: Params$Resource$Projects$Locations$Clusters$Import, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2764
|
+
import(params: Params$Resource$Projects$Locations$Clusters$Import, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2765
|
+
import(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2262
2766
|
/**
|
|
2263
2767
|
* Lists Clusters in a given project and location.
|
|
2264
2768
|
*
|
|
@@ -2316,7 +2820,21 @@ export declare namespace alloydb_v1alpha {
|
|
|
2316
2820
|
restore(params: Params$Resource$Projects$Locations$Clusters$Restore, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2317
2821
|
restore(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2318
2822
|
/**
|
|
2319
|
-
*
|
|
2823
|
+
* Restores an AlloyDB cluster from a CloudSQL resource.
|
|
2824
|
+
*
|
|
2825
|
+
* @param params - Parameters for request
|
|
2826
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2827
|
+
* @param callback - Optional callback that handles the response.
|
|
2828
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2829
|
+
*/
|
|
2830
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2831
|
+
restoreFromCloudSQL(params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2832
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2833
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2834
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2835
|
+
restoreFromCloudSQL(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2836
|
+
/**
|
|
2837
|
+
* 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.
|
|
2320
2838
|
*
|
|
2321
2839
|
* @param params - Parameters for request
|
|
2322
2840
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -2354,11 +2872,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
2354
2872
|
*/
|
|
2355
2873
|
parent?: string;
|
|
2356
2874
|
/**
|
|
2357
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2875
|
+
* 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).
|
|
2358
2876
|
*/
|
|
2359
2877
|
requestId?: string;
|
|
2360
2878
|
/**
|
|
2361
|
-
* Optional. If set, performs request validation
|
|
2879
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2362
2880
|
*/
|
|
2363
2881
|
validateOnly?: boolean;
|
|
2364
2882
|
/**
|
|
@@ -2376,11 +2894,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
2376
2894
|
*/
|
|
2377
2895
|
parent?: string;
|
|
2378
2896
|
/**
|
|
2379
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2897
|
+
* 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).
|
|
2380
2898
|
*/
|
|
2381
2899
|
requestId?: string;
|
|
2382
2900
|
/**
|
|
2383
|
-
* Optional. If set, performs request validation
|
|
2901
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2384
2902
|
*/
|
|
2385
2903
|
validateOnly?: boolean;
|
|
2386
2904
|
/**
|
|
@@ -2402,14 +2920,24 @@ export declare namespace alloydb_v1alpha {
|
|
|
2402
2920
|
*/
|
|
2403
2921
|
name?: string;
|
|
2404
2922
|
/**
|
|
2405
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2923
|
+
* 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).
|
|
2406
2924
|
*/
|
|
2407
2925
|
requestId?: string;
|
|
2408
2926
|
/**
|
|
2409
|
-
* Optional. If set, performs request validation
|
|
2927
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2410
2928
|
*/
|
|
2411
2929
|
validateOnly?: boolean;
|
|
2412
2930
|
}
|
|
2931
|
+
export interface Params$Resource$Projects$Locations$Clusters$Export extends StandardParameters {
|
|
2932
|
+
/**
|
|
2933
|
+
* Required. The resource name of the cluster.
|
|
2934
|
+
*/
|
|
2935
|
+
name?: string;
|
|
2936
|
+
/**
|
|
2937
|
+
* Request body metadata
|
|
2938
|
+
*/
|
|
2939
|
+
requestBody?: Schema$ExportClusterRequest;
|
|
2940
|
+
}
|
|
2413
2941
|
export interface Params$Resource$Projects$Locations$Clusters$Get extends StandardParameters {
|
|
2414
2942
|
/**
|
|
2415
2943
|
* Required. The name of the resource. For the required format, see the comment on the Cluster.name field.
|
|
@@ -2420,6 +2948,16 @@ export declare namespace alloydb_v1alpha {
|
|
|
2420
2948
|
*/
|
|
2421
2949
|
view?: string;
|
|
2422
2950
|
}
|
|
2951
|
+
export interface Params$Resource$Projects$Locations$Clusters$Import extends StandardParameters {
|
|
2952
|
+
/**
|
|
2953
|
+
* Required. The resource name of the cluster.
|
|
2954
|
+
*/
|
|
2955
|
+
name?: string;
|
|
2956
|
+
/**
|
|
2957
|
+
* Request body metadata
|
|
2958
|
+
*/
|
|
2959
|
+
requestBody?: Schema$ImportClusterRequest;
|
|
2960
|
+
}
|
|
2423
2961
|
export interface Params$Resource$Projects$Locations$Clusters$List extends StandardParameters {
|
|
2424
2962
|
/**
|
|
2425
2963
|
* Optional. Filtering results
|
|
@@ -2452,7 +2990,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2452
2990
|
*/
|
|
2453
2991
|
name?: string;
|
|
2454
2992
|
/**
|
|
2455
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2993
|
+
* 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).
|
|
2456
2994
|
*/
|
|
2457
2995
|
requestId?: string;
|
|
2458
2996
|
/**
|
|
@@ -2460,7 +2998,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2460
2998
|
*/
|
|
2461
2999
|
updateMask?: string;
|
|
2462
3000
|
/**
|
|
2463
|
-
* Optional. If set, performs request validation
|
|
3001
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2464
3002
|
*/
|
|
2465
3003
|
validateOnly?: boolean;
|
|
2466
3004
|
/**
|
|
@@ -2488,6 +3026,16 @@ export declare namespace alloydb_v1alpha {
|
|
|
2488
3026
|
*/
|
|
2489
3027
|
requestBody?: Schema$RestoreClusterRequest;
|
|
2490
3028
|
}
|
|
3029
|
+
export interface Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql extends StandardParameters {
|
|
3030
|
+
/**
|
|
3031
|
+
* Required. The location of the new cluster. For the required format, see the comment on Cluster.name field.
|
|
3032
|
+
*/
|
|
3033
|
+
parent?: string;
|
|
3034
|
+
/**
|
|
3035
|
+
* Request body metadata
|
|
3036
|
+
*/
|
|
3037
|
+
requestBody?: Schema$RestoreFromCloudSQLRequest;
|
|
3038
|
+
}
|
|
2491
3039
|
export interface Params$Resource$Projects$Locations$Clusters$Switchover extends StandardParameters {
|
|
2492
3040
|
/**
|
|
2493
3041
|
* Required. The name of the resource. For the required format, see the comment on the Cluster.name field
|
|
@@ -2662,11 +3210,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
2662
3210
|
*/
|
|
2663
3211
|
parent?: string;
|
|
2664
3212
|
/**
|
|
2665
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3213
|
+
* 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).
|
|
2666
3214
|
*/
|
|
2667
3215
|
requestId?: string;
|
|
2668
3216
|
/**
|
|
2669
|
-
* Optional. If set, performs request validation
|
|
3217
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2670
3218
|
*/
|
|
2671
3219
|
validateOnly?: boolean;
|
|
2672
3220
|
/**
|
|
@@ -2684,11 +3232,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
2684
3232
|
*/
|
|
2685
3233
|
parent?: string;
|
|
2686
3234
|
/**
|
|
2687
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3235
|
+
* 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).
|
|
2688
3236
|
*/
|
|
2689
3237
|
requestId?: string;
|
|
2690
3238
|
/**
|
|
2691
|
-
* Optional. If set, performs request validation
|
|
3239
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2692
3240
|
*/
|
|
2693
3241
|
validateOnly?: boolean;
|
|
2694
3242
|
/**
|
|
@@ -2706,11 +3254,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
2706
3254
|
*/
|
|
2707
3255
|
name?: string;
|
|
2708
3256
|
/**
|
|
2709
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3257
|
+
* 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).
|
|
2710
3258
|
*/
|
|
2711
3259
|
requestId?: string;
|
|
2712
3260
|
/**
|
|
2713
|
-
* Optional. If set, performs request validation
|
|
3261
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2714
3262
|
*/
|
|
2715
3263
|
validateOnly?: boolean;
|
|
2716
3264
|
}
|
|
@@ -2740,7 +3288,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2740
3288
|
*/
|
|
2741
3289
|
parent?: string;
|
|
2742
3290
|
/**
|
|
2743
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3291
|
+
* 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).
|
|
2744
3292
|
*/
|
|
2745
3293
|
requestId?: string;
|
|
2746
3294
|
}
|
|
@@ -2786,7 +3334,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2786
3334
|
*/
|
|
2787
3335
|
name?: string;
|
|
2788
3336
|
/**
|
|
2789
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3337
|
+
* 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).
|
|
2790
3338
|
*/
|
|
2791
3339
|
requestId?: string;
|
|
2792
3340
|
/**
|
|
@@ -2794,7 +3342,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2794
3342
|
*/
|
|
2795
3343
|
updateMask?: string;
|
|
2796
3344
|
/**
|
|
2797
|
-
* Optional. If set, performs request validation
|
|
3345
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2798
3346
|
*/
|
|
2799
3347
|
validateOnly?: boolean;
|
|
2800
3348
|
/**
|
|
@@ -2892,7 +3440,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2892
3440
|
*/
|
|
2893
3441
|
parent?: string;
|
|
2894
3442
|
/**
|
|
2895
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3443
|
+
* 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).
|
|
2896
3444
|
*/
|
|
2897
3445
|
requestId?: string;
|
|
2898
3446
|
/**
|
|
@@ -2914,7 +3462,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2914
3462
|
*/
|
|
2915
3463
|
name?: string;
|
|
2916
3464
|
/**
|
|
2917
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3465
|
+
* 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).
|
|
2918
3466
|
*/
|
|
2919
3467
|
requestId?: string;
|
|
2920
3468
|
/**
|
|
@@ -2960,7 +3508,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2960
3508
|
*/
|
|
2961
3509
|
name?: string;
|
|
2962
3510
|
/**
|
|
2963
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3511
|
+
* 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).
|
|
2964
3512
|
*/
|
|
2965
3513
|
requestId?: string;
|
|
2966
3514
|
/**
|
|
@@ -2980,7 +3528,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2980
3528
|
context: APIRequestContext;
|
|
2981
3529
|
constructor(context: APIRequestContext);
|
|
2982
3530
|
/**
|
|
2983
|
-
* 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
|
|
3531
|
+
* 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`.
|
|
2984
3532
|
*
|
|
2985
3533
|
* @param params - Parameters for request
|
|
2986
3534
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -3107,6 +3655,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
3107
3655
|
* 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.
|
|
3108
3656
|
*/
|
|
3109
3657
|
parent?: string;
|
|
3658
|
+
/**
|
|
3659
|
+
* Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
|
|
3660
|
+
*/
|
|
3661
|
+
scope?: string;
|
|
3110
3662
|
}
|
|
3111
3663
|
export {};
|
|
3112
3664
|
}
|