@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/v1alpha.ts
CHANGED
|
@@ -146,7 +146,7 @@ export namespace alloydb_v1alpha {
|
|
|
146
146
|
*/
|
|
147
147
|
enabled?: boolean | null;
|
|
148
148
|
/**
|
|
149
|
-
* Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will
|
|
149
|
+
* Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
|
|
150
150
|
*/
|
|
151
151
|
encryptionConfig?: Schema$EncryptionConfig;
|
|
152
152
|
/**
|
|
@@ -186,6 +186,10 @@ export namespace alloydb_v1alpha {
|
|
|
186
186
|
* Output only. The system-generated UID of the cluster which was used to create this resource.
|
|
187
187
|
*/
|
|
188
188
|
clusterUid?: string | null;
|
|
189
|
+
/**
|
|
190
|
+
* Output only. Timestamp when the resource finished being created.
|
|
191
|
+
*/
|
|
192
|
+
createCompletionTime?: string | null;
|
|
189
193
|
/**
|
|
190
194
|
* Output only. Create time stamp
|
|
191
195
|
*/
|
|
@@ -254,6 +258,10 @@ export namespace alloydb_v1alpha {
|
|
|
254
258
|
* Output only. The current state of the backup.
|
|
255
259
|
*/
|
|
256
260
|
state?: string | null;
|
|
261
|
+
/**
|
|
262
|
+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
|
|
263
|
+
*/
|
|
264
|
+
tags?: {[key: string]: string} | null;
|
|
257
265
|
/**
|
|
258
266
|
* The backup type, which suggests the trigger for the backup.
|
|
259
267
|
*/
|
|
@@ -263,7 +271,7 @@ export namespace alloydb_v1alpha {
|
|
|
263
271
|
*/
|
|
264
272
|
uid?: string | null;
|
|
265
273
|
/**
|
|
266
|
-
* Output only. Update time stamp
|
|
274
|
+
* Output only. Update time stamp Users should not infer any meaning from this field. Its value is generally unrelated to the timing of the backup creation operation.
|
|
267
275
|
*/
|
|
268
276
|
updateTime?: string | null;
|
|
269
277
|
}
|
|
@@ -293,7 +301,7 @@ export namespace alloydb_v1alpha {
|
|
|
293
301
|
*/
|
|
294
302
|
requireConnectors?: boolean | null;
|
|
295
303
|
/**
|
|
296
|
-
* Optional. SSL
|
|
304
|
+
* Optional. SSL configuration option for this instance.
|
|
297
305
|
*/
|
|
298
306
|
sslConfig?: Schema$SslConfig;
|
|
299
307
|
}
|
|
@@ -388,7 +396,7 @@ export namespace alloydb_v1alpha {
|
|
|
388
396
|
*/
|
|
389
397
|
etag?: string | null;
|
|
390
398
|
/**
|
|
391
|
-
* Optional.
|
|
399
|
+
* Optional. Deprecated and unused. This field will be removed in the near future.
|
|
392
400
|
*/
|
|
393
401
|
geminiConfig?: Schema$GeminiClusterConfig;
|
|
394
402
|
/**
|
|
@@ -456,6 +464,10 @@ export namespace alloydb_v1alpha {
|
|
|
456
464
|
* Optional. Subscription type of the cluster.
|
|
457
465
|
*/
|
|
458
466
|
subscriptionType?: string | null;
|
|
467
|
+
/**
|
|
468
|
+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
|
|
469
|
+
*/
|
|
470
|
+
tags?: {[key: string]: string} | null;
|
|
459
471
|
/**
|
|
460
472
|
* Output only. Metadata for free trial clusters
|
|
461
473
|
*/
|
|
@@ -527,6 +539,59 @@ export namespace alloydb_v1alpha {
|
|
|
527
539
|
*/
|
|
528
540
|
publicIpAddress?: string | null;
|
|
529
541
|
}
|
|
542
|
+
/**
|
|
543
|
+
* Configuration for Managed Connection Pool (MCP).
|
|
544
|
+
*/
|
|
545
|
+
export interface Schema$ConnectionPoolConfig {
|
|
546
|
+
/**
|
|
547
|
+
* Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to 20.
|
|
548
|
+
*/
|
|
549
|
+
defaultPoolSize?: string | null;
|
|
550
|
+
/**
|
|
551
|
+
* Optional. Deprecated; Prefer 'enabled' as this will be removed soon.
|
|
552
|
+
*/
|
|
553
|
+
enable?: boolean | null;
|
|
554
|
+
/**
|
|
555
|
+
* Optional. Whether to enable Managed Connection Pool (MCP).
|
|
556
|
+
*/
|
|
557
|
+
enabled?: boolean | null;
|
|
558
|
+
/**
|
|
559
|
+
* Optional. Connection Pool flags, as a list of "key": "value" pairs.
|
|
560
|
+
*/
|
|
561
|
+
flags?: {[key: string]: string} | null;
|
|
562
|
+
/**
|
|
563
|
+
* Optional. Deprecated. Use 'flags' instead. The list of startup parameters to ignore. Defaults to ["extra_float_digits"]
|
|
564
|
+
*/
|
|
565
|
+
ignoreStartupParameters?: string[] | null;
|
|
566
|
+
/**
|
|
567
|
+
* Optional. Deprecated. Use 'flags' instead. The maximum number of client connections allowed.
|
|
568
|
+
*/
|
|
569
|
+
maxClientConn?: string | null;
|
|
570
|
+
/**
|
|
571
|
+
* Optional. Deprecated. Use 'flags' instead. The maximum number of prepared statements allowed. MCP makes sure that any statement prepared by a client, up to this limit, is available on the backing server connection in transaction and statement pooling mode. Even if the statement was originally prepared on another server connection. Defaults to 0.
|
|
572
|
+
*/
|
|
573
|
+
maxPreparedStatements?: string | null;
|
|
574
|
+
/**
|
|
575
|
+
* Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to 0.
|
|
576
|
+
*/
|
|
577
|
+
minPoolSize?: string | null;
|
|
578
|
+
/**
|
|
579
|
+
* Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `POOL_MODE_TRANSACTION`.
|
|
580
|
+
*/
|
|
581
|
+
poolMode?: string | null;
|
|
582
|
+
/**
|
|
583
|
+
* Optional. Deprecated. Use 'flags' instead. The maximum number of seconds queries are allowed to spend waiting for execution. If the query is not assigned to a server during that time, the client is disconnected. 0 disables.
|
|
584
|
+
*/
|
|
585
|
+
queryWaitTimeout?: string | null;
|
|
586
|
+
/**
|
|
587
|
+
* Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a server is allowed to be idle before it is disconnected. 0 disables.
|
|
588
|
+
*/
|
|
589
|
+
serverIdleTimeout?: string | null;
|
|
590
|
+
/**
|
|
591
|
+
* Optional. Deprecated. Use 'flags' instead. The list of users that are allowed to connect to the MCP stats console. The users must exist in the database.
|
|
592
|
+
*/
|
|
593
|
+
statsUsers?: string[] | null;
|
|
594
|
+
}
|
|
530
595
|
/**
|
|
531
596
|
* ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
|
|
532
597
|
*/
|
|
@@ -536,7 +601,7 @@ export namespace alloydb_v1alpha {
|
|
|
536
601
|
*/
|
|
537
602
|
enabled?: boolean | null;
|
|
538
603
|
/**
|
|
539
|
-
* 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
|
|
604
|
+
* The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
|
|
540
605
|
*/
|
|
541
606
|
encryptionConfig?: Schema$EncryptionConfig;
|
|
542
607
|
/**
|
|
@@ -578,6 +643,69 @@ export namespace alloydb_v1alpha {
|
|
|
578
643
|
*/
|
|
579
644
|
pointInTime?: string | null;
|
|
580
645
|
}
|
|
646
|
+
/**
|
|
647
|
+
* Options for exporting data in CSV format.
|
|
648
|
+
*/
|
|
649
|
+
export interface Schema$CsvExportOptions {
|
|
650
|
+
/**
|
|
651
|
+
* 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.
|
|
652
|
+
*/
|
|
653
|
+
escapeCharacter?: string | null;
|
|
654
|
+
/**
|
|
655
|
+
* 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.
|
|
656
|
+
*/
|
|
657
|
+
fieldDelimiter?: string | null;
|
|
658
|
+
/**
|
|
659
|
+
* 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.
|
|
660
|
+
*/
|
|
661
|
+
quoteCharacter?: string | null;
|
|
662
|
+
/**
|
|
663
|
+
* Required. The SELECT query used to extract the data.
|
|
664
|
+
*/
|
|
665
|
+
selectQuery?: string | null;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* Options for importing data in CSV format.
|
|
669
|
+
*/
|
|
670
|
+
export interface Schema$CsvImportOptions {
|
|
671
|
+
/**
|
|
672
|
+
* Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
|
|
673
|
+
*/
|
|
674
|
+
columns?: string[] | null;
|
|
675
|
+
/**
|
|
676
|
+
* Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.
|
|
677
|
+
*/
|
|
678
|
+
escapeCharacter?: string | null;
|
|
679
|
+
/**
|
|
680
|
+
* Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
|
|
681
|
+
*/
|
|
682
|
+
fieldDelimiter?: string | null;
|
|
683
|
+
/**
|
|
684
|
+
* Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
|
|
685
|
+
*/
|
|
686
|
+
quoteCharacter?: string | null;
|
|
687
|
+
/**
|
|
688
|
+
* Required. The database table to import CSV file into.
|
|
689
|
+
*/
|
|
690
|
+
table?: string | null;
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not be scheduled to start within this deny period. The start_date must be less than the end_date.
|
|
694
|
+
*/
|
|
695
|
+
export interface Schema$DenyMaintenancePeriod {
|
|
696
|
+
/**
|
|
697
|
+
* Deny period end date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring
|
|
698
|
+
*/
|
|
699
|
+
endDate?: Schema$GoogleTypeDate;
|
|
700
|
+
/**
|
|
701
|
+
* Deny period start date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring
|
|
702
|
+
*/
|
|
703
|
+
startDate?: Schema$GoogleTypeDate;
|
|
704
|
+
/**
|
|
705
|
+
* Time in UTC when the deny period starts on start_date and ends on end_date. This can be: * Full time OR * All zeros for 00:00:00 UTC
|
|
706
|
+
*/
|
|
707
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
708
|
+
}
|
|
581
709
|
/**
|
|
582
710
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
583
711
|
*/
|
|
@@ -604,34 +732,73 @@ export namespace alloydb_v1alpha {
|
|
|
604
732
|
*/
|
|
605
733
|
kmsKeyVersions?: string[] | null;
|
|
606
734
|
}
|
|
735
|
+
/**
|
|
736
|
+
* Export cluster request.
|
|
737
|
+
*/
|
|
738
|
+
export interface Schema$ExportClusterRequest {
|
|
739
|
+
/**
|
|
740
|
+
* Options for exporting data in CSV format. Required field to be set for CSV file type.
|
|
741
|
+
*/
|
|
742
|
+
csvExportOptions?: Schema$CsvExportOptions;
|
|
743
|
+
/**
|
|
744
|
+
* 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.
|
|
745
|
+
*/
|
|
746
|
+
database?: string | null;
|
|
747
|
+
/**
|
|
748
|
+
* Required. Option to export data to cloud storage.
|
|
749
|
+
*/
|
|
750
|
+
gcsDestination?: Schema$GcsDestination;
|
|
751
|
+
/**
|
|
752
|
+
* Options for exporting data in SQL format. Required field to be set for SQL file type.
|
|
753
|
+
*/
|
|
754
|
+
sqlExportOptions?: Schema$SqlExportOptions;
|
|
755
|
+
}
|
|
607
756
|
/**
|
|
608
757
|
* Message for triggering failover on an Instance
|
|
609
758
|
*/
|
|
610
759
|
export interface Schema$FailoverInstanceRequest {
|
|
611
760
|
/**
|
|
612
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
761
|
+
* 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).
|
|
613
762
|
*/
|
|
614
763
|
requestId?: string | null;
|
|
615
764
|
/**
|
|
616
|
-
* Optional. If set, performs request validation
|
|
765
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
617
766
|
*/
|
|
618
767
|
validateOnly?: boolean | null;
|
|
619
768
|
}
|
|
620
769
|
/**
|
|
621
|
-
*
|
|
770
|
+
* Instance level configuration parameters related to the Gemini Cloud Assist product.
|
|
771
|
+
*/
|
|
772
|
+
export interface Schema$GCAInstanceConfig {
|
|
773
|
+
/**
|
|
774
|
+
* Output only. Represents the GCA entitlement state of the instance.
|
|
775
|
+
*/
|
|
776
|
+
gcaEntitlement?: string | null;
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* Destination for Export. Export will be done to cloud storage.
|
|
780
|
+
*/
|
|
781
|
+
export interface Schema$GcsDestination {
|
|
782
|
+
/**
|
|
783
|
+
* 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`.
|
|
784
|
+
*/
|
|
785
|
+
uri?: string | null;
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* Deprecated and unused. This field will be removed in the near future.
|
|
622
789
|
*/
|
|
623
790
|
export interface Schema$GeminiClusterConfig {
|
|
624
791
|
/**
|
|
625
|
-
* Output only.
|
|
792
|
+
* Output only. Deprecated and unused. This field will be removed in the near future.
|
|
626
793
|
*/
|
|
627
794
|
entitled?: boolean | null;
|
|
628
795
|
}
|
|
629
796
|
/**
|
|
630
|
-
*
|
|
797
|
+
* Deprecated and unused. This field will be removed in the near future.
|
|
631
798
|
*/
|
|
632
799
|
export interface Schema$GeminiInstanceConfig {
|
|
633
800
|
/**
|
|
634
|
-
* Output only.
|
|
801
|
+
* Output only. Deprecated and unused. This field will be removed in the near future.
|
|
635
802
|
*/
|
|
636
803
|
entitled?: boolean | null;
|
|
637
804
|
}
|
|
@@ -673,27 +840,69 @@ export namespace alloydb_v1alpha {
|
|
|
673
840
|
*/
|
|
674
841
|
name?: string | null;
|
|
675
842
|
}
|
|
843
|
+
/**
|
|
844
|
+
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
845
|
+
*/
|
|
846
|
+
export interface Schema$GoogleTypeDate {
|
|
847
|
+
/**
|
|
848
|
+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
|
|
849
|
+
*/
|
|
850
|
+
day?: number | null;
|
|
851
|
+
/**
|
|
852
|
+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
|
|
853
|
+
*/
|
|
854
|
+
month?: number | null;
|
|
855
|
+
/**
|
|
856
|
+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
|
|
857
|
+
*/
|
|
858
|
+
year?: number | null;
|
|
859
|
+
}
|
|
676
860
|
/**
|
|
677
861
|
* Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
|
|
678
862
|
*/
|
|
679
863
|
export interface Schema$GoogleTypeTimeOfDay {
|
|
680
864
|
/**
|
|
681
|
-
* Hours of day in 24 hour format.
|
|
865
|
+
* 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.
|
|
682
866
|
*/
|
|
683
867
|
hours?: number | null;
|
|
684
868
|
/**
|
|
685
|
-
* Minutes of hour
|
|
869
|
+
* Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
|
|
686
870
|
*/
|
|
687
871
|
minutes?: number | null;
|
|
688
872
|
/**
|
|
689
|
-
* Fractions of seconds in nanoseconds. Must be
|
|
873
|
+
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
|
|
690
874
|
*/
|
|
691
875
|
nanos?: number | null;
|
|
692
876
|
/**
|
|
693
|
-
* Seconds of
|
|
877
|
+
* 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.
|
|
694
878
|
*/
|
|
695
879
|
seconds?: number | null;
|
|
696
880
|
}
|
|
881
|
+
/**
|
|
882
|
+
* Import cluster request.
|
|
883
|
+
*/
|
|
884
|
+
export interface Schema$ImportClusterRequest {
|
|
885
|
+
/**
|
|
886
|
+
* Options for importing data in CSV format.
|
|
887
|
+
*/
|
|
888
|
+
csvImportOptions?: Schema$CsvImportOptions;
|
|
889
|
+
/**
|
|
890
|
+
* Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
|
|
891
|
+
*/
|
|
892
|
+
database?: string | null;
|
|
893
|
+
/**
|
|
894
|
+
* Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.
|
|
895
|
+
*/
|
|
896
|
+
gcsUri?: string | null;
|
|
897
|
+
/**
|
|
898
|
+
* Options for importing data in SQL format.
|
|
899
|
+
*/
|
|
900
|
+
sqlImportOptions?: Schema$SqlImportOptions;
|
|
901
|
+
/**
|
|
902
|
+
* Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.
|
|
903
|
+
*/
|
|
904
|
+
user?: string | null;
|
|
905
|
+
}
|
|
697
906
|
/**
|
|
698
907
|
* Message for triggering fault injection on an instance
|
|
699
908
|
*/
|
|
@@ -703,11 +912,11 @@ export namespace alloydb_v1alpha {
|
|
|
703
912
|
*/
|
|
704
913
|
faultType?: string | null;
|
|
705
914
|
/**
|
|
706
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
915
|
+
* 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).
|
|
707
916
|
*/
|
|
708
917
|
requestId?: string | null;
|
|
709
918
|
/**
|
|
710
|
-
* Optional. If set, performs request validation
|
|
919
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
711
920
|
*/
|
|
712
921
|
validateOnly?: boolean | null;
|
|
713
922
|
}
|
|
@@ -727,12 +936,16 @@ export namespace alloydb_v1alpha {
|
|
|
727
936
|
* Optional. Client connection specific configurations
|
|
728
937
|
*/
|
|
729
938
|
clientConnectionConfig?: Schema$ClientConnectionConfig;
|
|
939
|
+
/**
|
|
940
|
+
* Optional. The configuration for Managed Connection Pool (MCP).
|
|
941
|
+
*/
|
|
942
|
+
connectionPoolConfig?: Schema$ConnectionPoolConfig;
|
|
730
943
|
/**
|
|
731
944
|
* Output only. Create time stamp
|
|
732
945
|
*/
|
|
733
946
|
createTime?: string | null;
|
|
734
947
|
/**
|
|
735
|
-
* Database flags. Set at instance level.
|
|
948
|
+
* 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.
|
|
736
949
|
*/
|
|
737
950
|
databaseFlags?: {[key: string]: string} | null;
|
|
738
951
|
/**
|
|
@@ -747,12 +960,16 @@ export namespace alloydb_v1alpha {
|
|
|
747
960
|
* For Resource freshness validation (https://google.aip.dev/154)
|
|
748
961
|
*/
|
|
749
962
|
etag?: string | null;
|
|
963
|
+
/**
|
|
964
|
+
* Output only. Configuration parameters related to Gemini Cloud Assist.
|
|
965
|
+
*/
|
|
966
|
+
gcaConfig?: Schema$GCAInstanceConfig;
|
|
750
967
|
/**
|
|
751
968
|
* 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.
|
|
752
969
|
*/
|
|
753
970
|
gceZone?: string | null;
|
|
754
971
|
/**
|
|
755
|
-
* Optional.
|
|
972
|
+
* Optional. Deprecated and unused. This field will be removed in the near future.
|
|
756
973
|
*/
|
|
757
974
|
geminiConfig?: Schema$GeminiInstanceConfig;
|
|
758
975
|
/**
|
|
@@ -776,7 +993,7 @@ export namespace alloydb_v1alpha {
|
|
|
776
993
|
*/
|
|
777
994
|
name?: string | null;
|
|
778
995
|
/**
|
|
779
|
-
* Optional. Instance
|
|
996
|
+
* Optional. Instance-level network configuration.
|
|
780
997
|
*/
|
|
781
998
|
networkConfig?: Schema$InstanceNetworkConfig;
|
|
782
999
|
/**
|
|
@@ -841,7 +1058,7 @@ export namespace alloydb_v1alpha {
|
|
|
841
1058
|
writableNode?: Schema$Node;
|
|
842
1059
|
}
|
|
843
1060
|
/**
|
|
844
|
-
* Metadata related to instance
|
|
1061
|
+
* Metadata related to instance-level network configuration.
|
|
845
1062
|
*/
|
|
846
1063
|
export interface Schema$InstanceNetworkConfig {
|
|
847
1064
|
/**
|
|
@@ -856,6 +1073,10 @@ export namespace alloydb_v1alpha {
|
|
|
856
1073
|
* Optional. Enabling public ip for the instance.
|
|
857
1074
|
*/
|
|
858
1075
|
enablePublicIp?: boolean | null;
|
|
1076
|
+
/**
|
|
1077
|
+
* 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\}`.
|
|
1078
|
+
*/
|
|
1079
|
+
network?: string | null;
|
|
859
1080
|
}
|
|
860
1081
|
/**
|
|
861
1082
|
* Details regarding the upgrade of instaces associated with a cluster.
|
|
@@ -989,6 +1210,10 @@ export namespace alloydb_v1alpha {
|
|
|
989
1210
|
* The number of CPU's in the VM instance.
|
|
990
1211
|
*/
|
|
991
1212
|
cpuCount?: number | null;
|
|
1213
|
+
/**
|
|
1214
|
+
* 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.
|
|
1215
|
+
*/
|
|
1216
|
+
machineType?: string | null;
|
|
992
1217
|
}
|
|
993
1218
|
/**
|
|
994
1219
|
* 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.
|
|
@@ -1003,6 +1228,10 @@ export namespace alloydb_v1alpha {
|
|
|
1003
1228
|
* MaintenanceUpdatePolicy defines the policy for system updates.
|
|
1004
1229
|
*/
|
|
1005
1230
|
export interface Schema$MaintenanceUpdatePolicy {
|
|
1231
|
+
/**
|
|
1232
|
+
* Periods to deny maintenance. Currently limited to 1.
|
|
1233
|
+
*/
|
|
1234
|
+
denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
|
|
1006
1235
|
/**
|
|
1007
1236
|
* Preferred windows to perform maintenance. Currently limited to 1.
|
|
1008
1237
|
*/
|
|
@@ -1052,23 +1281,23 @@ export namespace alloydb_v1alpha {
|
|
|
1052
1281
|
network?: string | null;
|
|
1053
1282
|
}
|
|
1054
1283
|
/**
|
|
1055
|
-
* Details of a single node in the instance. Nodes in an AlloyDB instance are
|
|
1284
|
+
* 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.
|
|
1056
1285
|
*/
|
|
1057
1286
|
export interface Schema$Node {
|
|
1058
1287
|
/**
|
|
1059
|
-
* The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
|
|
1288
|
+
* Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
|
|
1060
1289
|
*/
|
|
1061
1290
|
id?: string | null;
|
|
1062
1291
|
/**
|
|
1063
|
-
* The private IP address of the VM e.g. "10.57.0.34".
|
|
1292
|
+
* Output only. The private IP address of the VM e.g. "10.57.0.34".
|
|
1064
1293
|
*/
|
|
1065
1294
|
ip?: string | null;
|
|
1066
1295
|
/**
|
|
1067
|
-
* 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.
|
|
1296
|
+
* 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.
|
|
1068
1297
|
*/
|
|
1069
1298
|
state?: string | null;
|
|
1070
1299
|
/**
|
|
1071
|
-
* The Compute Engine zone of the VM e.g. "us-central1-b".
|
|
1300
|
+
* Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
|
|
1072
1301
|
*/
|
|
1073
1302
|
zoneId?: string | null;
|
|
1074
1303
|
}
|
|
@@ -1076,6 +1305,10 @@ export namespace alloydb_v1alpha {
|
|
|
1076
1305
|
* Observability Instance specific configuration.
|
|
1077
1306
|
*/
|
|
1078
1307
|
export interface Schema$ObservabilityInstanceConfig {
|
|
1308
|
+
/**
|
|
1309
|
+
* Whether assistive experiences are enabled for this AlloyDB instance.
|
|
1310
|
+
*/
|
|
1311
|
+
assistiveExperiencesEnabled?: boolean | null;
|
|
1079
1312
|
/**
|
|
1080
1313
|
* Observability feature status for an instance. This flag is turned "off" by default.
|
|
1081
1314
|
*/
|
|
@@ -1100,16 +1333,12 @@ export namespace alloydb_v1alpha {
|
|
|
1100
1333
|
* Track actively running queries on the instance. If not set, this flag is "off" by default.
|
|
1101
1334
|
*/
|
|
1102
1335
|
trackActiveQueries?: boolean | null;
|
|
1103
|
-
/**
|
|
1104
|
-
* Track client address for an instance. If not set, default value is "off".
|
|
1105
|
-
*/
|
|
1106
|
-
trackClientAddress?: boolean | null;
|
|
1107
1336
|
/**
|
|
1108
1337
|
* 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.
|
|
1109
1338
|
*/
|
|
1110
1339
|
trackWaitEvents?: boolean | null;
|
|
1111
1340
|
/**
|
|
1112
|
-
* 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
|
|
1341
|
+
* 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.
|
|
1113
1342
|
*/
|
|
1114
1343
|
trackWaitEventTypes?: boolean | null;
|
|
1115
1344
|
}
|
|
@@ -1155,7 +1384,7 @@ export namespace alloydb_v1alpha {
|
|
|
1155
1384
|
*/
|
|
1156
1385
|
endTime?: string | null;
|
|
1157
1386
|
/**
|
|
1158
|
-
* 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`.
|
|
1387
|
+
* 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`.
|
|
1159
1388
|
*/
|
|
1160
1389
|
requestedCancellation?: boolean | null;
|
|
1161
1390
|
/**
|
|
@@ -1166,6 +1395,10 @@ export namespace alloydb_v1alpha {
|
|
|
1166
1395
|
* Output only. Server-defined resource path for the target of the operation.
|
|
1167
1396
|
*/
|
|
1168
1397
|
target?: string | null;
|
|
1398
|
+
/**
|
|
1399
|
+
* Output only. UpgradeClusterStatus related metadata.
|
|
1400
|
+
*/
|
|
1401
|
+
upgradeClusterStatus?: Schema$UpgradeClusterStatus;
|
|
1169
1402
|
/**
|
|
1170
1403
|
* Output only. Name of the verb executed by the operation.
|
|
1171
1404
|
*/
|
|
@@ -1189,14 +1422,39 @@ export namespace alloydb_v1alpha {
|
|
|
1189
1422
|
*/
|
|
1190
1423
|
etag?: string | null;
|
|
1191
1424
|
/**
|
|
1192
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1425
|
+
* 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).
|
|
1193
1426
|
*/
|
|
1194
1427
|
requestId?: string | null;
|
|
1195
1428
|
/**
|
|
1196
|
-
* Optional. If set, performs request validation
|
|
1429
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1197
1430
|
*/
|
|
1198
1431
|
validateOnly?: boolean | null;
|
|
1199
1432
|
}
|
|
1433
|
+
/**
|
|
1434
|
+
* Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.
|
|
1435
|
+
*/
|
|
1436
|
+
export interface Schema$PscAutoConnectionConfig {
|
|
1437
|
+
/**
|
|
1438
|
+
* 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.
|
|
1439
|
+
*/
|
|
1440
|
+
consumerNetwork?: string | null;
|
|
1441
|
+
/**
|
|
1442
|
+
* 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.
|
|
1443
|
+
*/
|
|
1444
|
+
consumerNetworkStatus?: string | null;
|
|
1445
|
+
/**
|
|
1446
|
+
* The consumer project to which the PSC service automation endpoint will be created.
|
|
1447
|
+
*/
|
|
1448
|
+
consumerProject?: string | null;
|
|
1449
|
+
/**
|
|
1450
|
+
* Output only. The IP address of the PSC service automation endpoint.
|
|
1451
|
+
*/
|
|
1452
|
+
ipAddress?: string | null;
|
|
1453
|
+
/**
|
|
1454
|
+
* 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.
|
|
1455
|
+
*/
|
|
1456
|
+
status?: string | null;
|
|
1457
|
+
}
|
|
1200
1458
|
/**
|
|
1201
1459
|
* PscConfig contains PSC related configuration at a cluster level.
|
|
1202
1460
|
*/
|
|
@@ -1205,6 +1463,10 @@ export namespace alloydb_v1alpha {
|
|
|
1205
1463
|
* Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
|
|
1206
1464
|
*/
|
|
1207
1465
|
pscEnabled?: boolean | null;
|
|
1466
|
+
/**
|
|
1467
|
+
* Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.
|
|
1468
|
+
*/
|
|
1469
|
+
serviceOwnedProjectNumber?: string | null;
|
|
1208
1470
|
}
|
|
1209
1471
|
/**
|
|
1210
1472
|
* PscInstanceConfig contains PSC related configuration at an instance level.
|
|
@@ -1214,15 +1476,32 @@ export namespace alloydb_v1alpha {
|
|
|
1214
1476
|
* Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1215
1477
|
*/
|
|
1216
1478
|
allowedConsumerProjects?: string[] | null;
|
|
1479
|
+
/**
|
|
1480
|
+
* Optional. Configurations for setting up PSC service automation.
|
|
1481
|
+
*/
|
|
1482
|
+
pscAutoConnections?: Schema$PscAutoConnectionConfig[];
|
|
1217
1483
|
/**
|
|
1218
1484
|
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
|
|
1219
1485
|
*/
|
|
1220
1486
|
pscDnsName?: string | null;
|
|
1487
|
+
/**
|
|
1488
|
+
* 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.
|
|
1489
|
+
*/
|
|
1490
|
+
pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
|
|
1221
1491
|
/**
|
|
1222
1492
|
* 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/`
|
|
1223
1493
|
*/
|
|
1224
1494
|
serviceAttachmentLink?: string | null;
|
|
1225
1495
|
}
|
|
1496
|
+
/**
|
|
1497
|
+
* Configuration for setting up a PSC interface to enable outbound connectivity.
|
|
1498
|
+
*/
|
|
1499
|
+
export interface Schema$PscInterfaceConfig {
|
|
1500
|
+
/**
|
|
1501
|
+
* 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.
|
|
1502
|
+
*/
|
|
1503
|
+
networkAttachmentResource?: string | null;
|
|
1504
|
+
}
|
|
1226
1505
|
/**
|
|
1227
1506
|
* 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)
|
|
1228
1507
|
*/
|
|
@@ -1275,22 +1554,31 @@ export namespace alloydb_v1alpha {
|
|
|
1275
1554
|
*/
|
|
1276
1555
|
nodeCount?: number | null;
|
|
1277
1556
|
}
|
|
1557
|
+
/**
|
|
1558
|
+
* Read pool instances upgrade specific status.
|
|
1559
|
+
*/
|
|
1560
|
+
export interface Schema$ReadPoolInstancesUpgradeStageStatus {
|
|
1561
|
+
/**
|
|
1562
|
+
* Read pool instances upgrade statistics.
|
|
1563
|
+
*/
|
|
1564
|
+
upgradeStats?: Schema$Stats;
|
|
1565
|
+
}
|
|
1278
1566
|
export interface Schema$RestartInstanceRequest {
|
|
1279
1567
|
/**
|
|
1280
|
-
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon.
|
|
1568
|
+
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
|
|
1281
1569
|
*/
|
|
1282
1570
|
nodeIds?: string[] | null;
|
|
1283
1571
|
/**
|
|
1284
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1572
|
+
* 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).
|
|
1285
1573
|
*/
|
|
1286
1574
|
requestId?: string | null;
|
|
1287
1575
|
/**
|
|
1288
|
-
* Optional. If set, performs request validation
|
|
1576
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1289
1577
|
*/
|
|
1290
1578
|
validateOnly?: boolean | null;
|
|
1291
1579
|
}
|
|
1292
1580
|
/**
|
|
1293
|
-
* Message for restoring a Cluster from a backup or another cluster at a given point in time.
|
|
1581
|
+
* Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
|
|
1294
1582
|
*/
|
|
1295
1583
|
export interface Schema$RestoreClusterRequest {
|
|
1296
1584
|
/**
|
|
@@ -1310,14 +1598,31 @@ export namespace alloydb_v1alpha {
|
|
|
1310
1598
|
*/
|
|
1311
1599
|
continuousBackupSource?: Schema$ContinuousBackupSource;
|
|
1312
1600
|
/**
|
|
1313
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1601
|
+
* 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).
|
|
1314
1602
|
*/
|
|
1315
1603
|
requestId?: string | null;
|
|
1316
1604
|
/**
|
|
1317
|
-
* Optional. If set, performs request validation
|
|
1605
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1318
1606
|
*/
|
|
1319
1607
|
validateOnly?: boolean | null;
|
|
1320
1608
|
}
|
|
1609
|
+
/**
|
|
1610
|
+
* Message for registering Restoring from CloudSQL resource.
|
|
1611
|
+
*/
|
|
1612
|
+
export interface Schema$RestoreFromCloudSQLRequest {
|
|
1613
|
+
/**
|
|
1614
|
+
* Cluster created from CloudSQL backup run.
|
|
1615
|
+
*/
|
|
1616
|
+
cloudsqlBackupRunSource?: Schema$CloudSQLBackupRunSource;
|
|
1617
|
+
/**
|
|
1618
|
+
* Required. The resource being created
|
|
1619
|
+
*/
|
|
1620
|
+
cluster?: Schema$Cluster;
|
|
1621
|
+
/**
|
|
1622
|
+
* Required. ID of the requesting object.
|
|
1623
|
+
*/
|
|
1624
|
+
clusterId?: string | null;
|
|
1625
|
+
}
|
|
1321
1626
|
/**
|
|
1322
1627
|
* Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.
|
|
1323
1628
|
*/
|
|
@@ -1327,6 +1632,31 @@ export namespace alloydb_v1alpha {
|
|
|
1327
1632
|
*/
|
|
1328
1633
|
primaryClusterName?: string | null;
|
|
1329
1634
|
}
|
|
1635
|
+
/**
|
|
1636
|
+
* Options for exporting data in SQL format.
|
|
1637
|
+
*/
|
|
1638
|
+
export interface Schema$SqlExportOptions {
|
|
1639
|
+
/**
|
|
1640
|
+
* Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.
|
|
1641
|
+
*/
|
|
1642
|
+
cleanTargetObjects?: boolean | null;
|
|
1643
|
+
/**
|
|
1644
|
+
* Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode.
|
|
1645
|
+
*/
|
|
1646
|
+
ifExistTargetObjects?: boolean | null;
|
|
1647
|
+
/**
|
|
1648
|
+
* Optional. If true, only export the schema.
|
|
1649
|
+
*/
|
|
1650
|
+
schemaOnly?: boolean | null;
|
|
1651
|
+
/**
|
|
1652
|
+
* Optional. Tables to export from.
|
|
1653
|
+
*/
|
|
1654
|
+
tables?: string[] | null;
|
|
1655
|
+
}
|
|
1656
|
+
/**
|
|
1657
|
+
* Options for importing data in SQL format.
|
|
1658
|
+
*/
|
|
1659
|
+
export interface Schema$SqlImportOptions {}
|
|
1330
1660
|
/**
|
|
1331
1661
|
* SSL configuration.
|
|
1332
1662
|
*/
|
|
@@ -1357,6 +1687,44 @@ export namespace alloydb_v1alpha {
|
|
|
1357
1687
|
*/
|
|
1358
1688
|
status?: string | null;
|
|
1359
1689
|
}
|
|
1690
|
+
/**
|
|
1691
|
+
* Status of an upgrade stage.
|
|
1692
|
+
*/
|
|
1693
|
+
export interface Schema$StageStatus {
|
|
1694
|
+
/**
|
|
1695
|
+
* Read pool instances upgrade metadata.
|
|
1696
|
+
*/
|
|
1697
|
+
readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
|
|
1698
|
+
/**
|
|
1699
|
+
* Upgrade stage.
|
|
1700
|
+
*/
|
|
1701
|
+
stage?: string | null;
|
|
1702
|
+
/**
|
|
1703
|
+
* State of this stage.
|
|
1704
|
+
*/
|
|
1705
|
+
state?: string | null;
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
* Upgrade stats for read pool instances.
|
|
1709
|
+
*/
|
|
1710
|
+
export interface Schema$Stats {
|
|
1711
|
+
/**
|
|
1712
|
+
* Number of read pool instances which failed to upgrade.
|
|
1713
|
+
*/
|
|
1714
|
+
failed?: number | null;
|
|
1715
|
+
/**
|
|
1716
|
+
* Number of read pool instances for which upgrade has not started.
|
|
1717
|
+
*/
|
|
1718
|
+
notStarted?: number | null;
|
|
1719
|
+
/**
|
|
1720
|
+
* Number of read pool instances undergoing upgrade.
|
|
1721
|
+
*/
|
|
1722
|
+
ongoing?: number | null;
|
|
1723
|
+
/**
|
|
1724
|
+
* Number of read pool instances successfully upgraded.
|
|
1725
|
+
*/
|
|
1726
|
+
success?: number | null;
|
|
1727
|
+
}
|
|
1360
1728
|
/**
|
|
1361
1729
|
* 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).
|
|
1362
1730
|
*/
|
|
@@ -1554,7 +1922,7 @@ export namespace alloydb_v1alpha {
|
|
|
1554
1922
|
uniqueId?: string | null;
|
|
1555
1923
|
}
|
|
1556
1924
|
/**
|
|
1557
|
-
* Common model for database resource instance metadata.
|
|
1925
|
+
* Common model for database resource instance metadata. Next ID: 25
|
|
1558
1926
|
*/
|
|
1559
1927
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
|
|
1560
1928
|
/**
|
|
@@ -1581,6 +1949,10 @@ export namespace alloydb_v1alpha {
|
|
|
1581
1949
|
* Any custom metadata associated with the resource
|
|
1582
1950
|
*/
|
|
1583
1951
|
customMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainCustomMetadataData;
|
|
1952
|
+
/**
|
|
1953
|
+
* 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.
|
|
1954
|
+
*/
|
|
1955
|
+
edition?: string | null;
|
|
1584
1956
|
/**
|
|
1585
1957
|
* Entitlements associated with the resource
|
|
1586
1958
|
*/
|
|
@@ -1589,6 +1961,10 @@ export namespace alloydb_v1alpha {
|
|
|
1589
1961
|
* 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.
|
|
1590
1962
|
*/
|
|
1591
1963
|
expectedState?: string | null;
|
|
1964
|
+
/**
|
|
1965
|
+
* GCBDR configuration for the resource.
|
|
1966
|
+
*/
|
|
1967
|
+
gcbdrConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration;
|
|
1592
1968
|
/**
|
|
1593
1969
|
* Required. Unique identifier for a Database resource
|
|
1594
1970
|
*/
|
|
@@ -1609,6 +1985,10 @@ export namespace alloydb_v1alpha {
|
|
|
1609
1985
|
* 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.
|
|
1610
1986
|
*/
|
|
1611
1987
|
primaryResourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1988
|
+
/**
|
|
1989
|
+
* Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.
|
|
1990
|
+
*/
|
|
1991
|
+
primaryResourceLocation?: string | null;
|
|
1612
1992
|
/**
|
|
1613
1993
|
* The product this resource represents.
|
|
1614
1994
|
*/
|
|
@@ -1621,6 +2001,14 @@ export namespace alloydb_v1alpha {
|
|
|
1621
2001
|
* 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
|
|
1622
2002
|
*/
|
|
1623
2003
|
resourceName?: string | null;
|
|
2004
|
+
/**
|
|
2005
|
+
* Optional. Suspension reason for the resource.
|
|
2006
|
+
*/
|
|
2007
|
+
suspensionReason?: string | null;
|
|
2008
|
+
/**
|
|
2009
|
+
* Optional. Tags associated with this resources.
|
|
2010
|
+
*/
|
|
2011
|
+
tagsSet?: Schema$StorageDatabasecenterPartnerapiV1mainTags;
|
|
1624
2012
|
/**
|
|
1625
2013
|
* The time at which the resource was updated and recorded at partner service.
|
|
1626
2014
|
*/
|
|
@@ -1680,6 +2068,15 @@ export namespace alloydb_v1alpha {
|
|
|
1680
2068
|
*/
|
|
1681
2069
|
type?: string | null;
|
|
1682
2070
|
}
|
|
2071
|
+
/**
|
|
2072
|
+
* GCBDR Configuration for the resource.
|
|
2073
|
+
*/
|
|
2074
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration {
|
|
2075
|
+
/**
|
|
2076
|
+
* Whether the resource is managed by GCBDR.
|
|
2077
|
+
*/
|
|
2078
|
+
gcbdrManaged?: boolean | null;
|
|
2079
|
+
}
|
|
1683
2080
|
/**
|
|
1684
2081
|
* 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.
|
|
1685
2082
|
*/
|
|
@@ -1692,6 +2089,10 @@ export namespace alloydb_v1alpha {
|
|
|
1692
2089
|
* Information about the last backup attempt for this database
|
|
1693
2090
|
*/
|
|
1694
2091
|
backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
|
|
2092
|
+
/**
|
|
2093
|
+
* Whether deletion protection is enabled for this internal resource.
|
|
2094
|
+
*/
|
|
2095
|
+
isDeletionProtectionEnabled?: boolean | null;
|
|
1695
2096
|
product?: Schema$StorageDatabasecenterProtoCommonProduct;
|
|
1696
2097
|
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1697
2098
|
/**
|
|
@@ -1704,13 +2105,21 @@ export namespace alloydb_v1alpha {
|
|
|
1704
2105
|
*/
|
|
1705
2106
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
|
|
1706
2107
|
/**
|
|
1707
|
-
* The number of CPUs. TODO(b/342344482
|
|
2108
|
+
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.
|
|
1708
2109
|
*/
|
|
1709
2110
|
cpuCount?: number | null;
|
|
1710
2111
|
/**
|
|
1711
|
-
* Memory size in bytes. TODO(b/342344482
|
|
2112
|
+
* Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
|
|
1712
2113
|
*/
|
|
1713
2114
|
memorySizeInBytes?: string | null;
|
|
2115
|
+
/**
|
|
2116
|
+
* Optional. Number of shards (if applicable).
|
|
2117
|
+
*/
|
|
2118
|
+
shardCount?: number | null;
|
|
2119
|
+
/**
|
|
2120
|
+
* Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.
|
|
2121
|
+
*/
|
|
2122
|
+
vcpuCount?: number | null;
|
|
1714
2123
|
}
|
|
1715
2124
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainObservabilityMetricData {
|
|
1716
2125
|
/**
|
|
@@ -1749,12 +2158,29 @@ export namespace alloydb_v1alpha {
|
|
|
1749
2158
|
message?: string | null;
|
|
1750
2159
|
}
|
|
1751
2160
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainRetentionSettings {
|
|
2161
|
+
/**
|
|
2162
|
+
* Duration based retention period i.e. 172800 seconds (2 days)
|
|
2163
|
+
*/
|
|
2164
|
+
durationBasedRetention?: string | null;
|
|
1752
2165
|
quantityBasedRetention?: number | null;
|
|
1753
2166
|
/**
|
|
1754
2167
|
* The unit that 'retained_backups' represents.
|
|
1755
2168
|
*/
|
|
1756
2169
|
retentionUnit?: string | null;
|
|
1757
2170
|
timeBasedRetention?: string | null;
|
|
2171
|
+
/**
|
|
2172
|
+
* Timestamp based retention period i.e. 2024-05-01T00:00:00Z
|
|
2173
|
+
*/
|
|
2174
|
+
timestampBasedRetentionTime?: string | null;
|
|
2175
|
+
}
|
|
2176
|
+
/**
|
|
2177
|
+
* 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.
|
|
2178
|
+
*/
|
|
2179
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainTags {
|
|
2180
|
+
/**
|
|
2181
|
+
* The Tag key/value mappings.
|
|
2182
|
+
*/
|
|
2183
|
+
tags?: {[key: string]: string} | null;
|
|
1758
2184
|
}
|
|
1759
2185
|
/**
|
|
1760
2186
|
* 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.
|
|
@@ -1829,10 +2255,22 @@ export namespace alloydb_v1alpha {
|
|
|
1829
2255
|
* 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.
|
|
1830
2256
|
*/
|
|
1831
2257
|
name?: string | null;
|
|
2258
|
+
/**
|
|
2259
|
+
* The recommended value for an INTEGER flag.
|
|
2260
|
+
*/
|
|
2261
|
+
recommendedIntegerValue?: string | null;
|
|
2262
|
+
/**
|
|
2263
|
+
* The recommended value for a STRING flag.
|
|
2264
|
+
*/
|
|
2265
|
+
recommendedStringValue?: string | null;
|
|
1832
2266
|
/**
|
|
1833
2267
|
* 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).
|
|
1834
2268
|
*/
|
|
1835
2269
|
requiresDbRestart?: boolean | null;
|
|
2270
|
+
/**
|
|
2271
|
+
* The scope of the flag.
|
|
2272
|
+
*/
|
|
2273
|
+
scope?: string | null;
|
|
1836
2274
|
/**
|
|
1837
2275
|
* Restriction on STRING type value.
|
|
1838
2276
|
*/
|
|
@@ -1848,11 +2286,11 @@ export namespace alloydb_v1alpha {
|
|
|
1848
2286
|
*/
|
|
1849
2287
|
export interface Schema$SwitchoverClusterRequest {
|
|
1850
2288
|
/**
|
|
1851
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2289
|
+
* 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).
|
|
1852
2290
|
*/
|
|
1853
2291
|
requestId?: string | null;
|
|
1854
2292
|
/**
|
|
1855
|
-
* Optional. If set, performs request validation
|
|
2293
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1856
2294
|
*/
|
|
1857
2295
|
validateOnly?: boolean | null;
|
|
1858
2296
|
}
|
|
@@ -1904,11 +2342,11 @@ export namespace alloydb_v1alpha {
|
|
|
1904
2342
|
*/
|
|
1905
2343
|
etag?: string | null;
|
|
1906
2344
|
/**
|
|
1907
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2345
|
+
* 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).
|
|
1908
2346
|
*/
|
|
1909
2347
|
requestId?: string | null;
|
|
1910
2348
|
/**
|
|
1911
|
-
* Optional. If set, performs request validation
|
|
2349
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1912
2350
|
*/
|
|
1913
2351
|
validateOnly?: boolean | null;
|
|
1914
2352
|
/**
|
|
@@ -1933,6 +2371,31 @@ export namespace alloydb_v1alpha {
|
|
|
1933
2371
|
*/
|
|
1934
2372
|
status?: string | null;
|
|
1935
2373
|
}
|
|
2374
|
+
/**
|
|
2375
|
+
* Message for current status of the Major Version Upgrade operation.
|
|
2376
|
+
*/
|
|
2377
|
+
export interface Schema$UpgradeClusterStatus {
|
|
2378
|
+
/**
|
|
2379
|
+
* Whether the operation is cancellable.
|
|
2380
|
+
*/
|
|
2381
|
+
cancellable?: boolean | null;
|
|
2382
|
+
/**
|
|
2383
|
+
* Source database major version.
|
|
2384
|
+
*/
|
|
2385
|
+
sourceVersion?: string | null;
|
|
2386
|
+
/**
|
|
2387
|
+
* Status of all upgrade stages.
|
|
2388
|
+
*/
|
|
2389
|
+
stages?: Schema$StageStatus[];
|
|
2390
|
+
/**
|
|
2391
|
+
* Cluster Major Version Upgrade state.
|
|
2392
|
+
*/
|
|
2393
|
+
state?: string | null;
|
|
2394
|
+
/**
|
|
2395
|
+
* Target database major version.
|
|
2396
|
+
*/
|
|
2397
|
+
targetVersion?: string | null;
|
|
2398
|
+
}
|
|
1936
2399
|
/**
|
|
1937
2400
|
* Message describing User object.
|
|
1938
2401
|
*/
|
|
@@ -2210,6 +2673,10 @@ export namespace alloydb_v1alpha {
|
|
|
2210
2673
|
}
|
|
2211
2674
|
export interface Params$Resource$Projects$Locations$List
|
|
2212
2675
|
extends StandardParameters {
|
|
2676
|
+
/**
|
|
2677
|
+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
|
|
2678
|
+
*/
|
|
2679
|
+
extraLocationTypes?: string[];
|
|
2213
2680
|
/**
|
|
2214
2681
|
* 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).
|
|
2215
2682
|
*/
|
|
@@ -2680,7 +3147,7 @@ export namespace alloydb_v1alpha {
|
|
|
2680
3147
|
*/
|
|
2681
3148
|
parent?: string;
|
|
2682
3149
|
/**
|
|
2683
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3150
|
+
* 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).
|
|
2684
3151
|
*/
|
|
2685
3152
|
requestId?: string;
|
|
2686
3153
|
/**
|
|
@@ -2704,7 +3171,7 @@ export namespace alloydb_v1alpha {
|
|
|
2704
3171
|
*/
|
|
2705
3172
|
name?: string;
|
|
2706
3173
|
/**
|
|
2707
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3174
|
+
* 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).
|
|
2708
3175
|
*/
|
|
2709
3176
|
requestId?: string;
|
|
2710
3177
|
/**
|
|
@@ -2753,7 +3220,7 @@ export namespace alloydb_v1alpha {
|
|
|
2753
3220
|
*/
|
|
2754
3221
|
name?: string;
|
|
2755
3222
|
/**
|
|
2756
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3223
|
+
* 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).
|
|
2757
3224
|
*/
|
|
2758
3225
|
requestId?: string;
|
|
2759
3226
|
/**
|
|
@@ -3044,6 +3511,94 @@ export namespace alloydb_v1alpha {
|
|
|
3044
3511
|
}
|
|
3045
3512
|
}
|
|
3046
3513
|
|
|
3514
|
+
/**
|
|
3515
|
+
* Exports data from the cluster. Imperative only.
|
|
3516
|
+
*
|
|
3517
|
+
* @param params - Parameters for request
|
|
3518
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3519
|
+
* @param callback - Optional callback that handles the response.
|
|
3520
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3521
|
+
*/
|
|
3522
|
+
export(
|
|
3523
|
+
params: Params$Resource$Projects$Locations$Clusters$Export,
|
|
3524
|
+
options: StreamMethodOptions
|
|
3525
|
+
): GaxiosPromise<Readable>;
|
|
3526
|
+
export(
|
|
3527
|
+
params?: Params$Resource$Projects$Locations$Clusters$Export,
|
|
3528
|
+
options?: MethodOptions
|
|
3529
|
+
): GaxiosPromise<Schema$Operation>;
|
|
3530
|
+
export(
|
|
3531
|
+
params: Params$Resource$Projects$Locations$Clusters$Export,
|
|
3532
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3533
|
+
callback: BodyResponseCallback<Readable>
|
|
3534
|
+
): void;
|
|
3535
|
+
export(
|
|
3536
|
+
params: Params$Resource$Projects$Locations$Clusters$Export,
|
|
3537
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
3538
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
3539
|
+
): void;
|
|
3540
|
+
export(
|
|
3541
|
+
params: Params$Resource$Projects$Locations$Clusters$Export,
|
|
3542
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
3543
|
+
): void;
|
|
3544
|
+
export(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3545
|
+
export(
|
|
3546
|
+
paramsOrCallback?:
|
|
3547
|
+
| Params$Resource$Projects$Locations$Clusters$Export
|
|
3548
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3549
|
+
| BodyResponseCallback<Readable>,
|
|
3550
|
+
optionsOrCallback?:
|
|
3551
|
+
| MethodOptions
|
|
3552
|
+
| StreamMethodOptions
|
|
3553
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3554
|
+
| BodyResponseCallback<Readable>,
|
|
3555
|
+
callback?:
|
|
3556
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3557
|
+
| BodyResponseCallback<Readable>
|
|
3558
|
+
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
3559
|
+
let params = (paramsOrCallback ||
|
|
3560
|
+
{}) as Params$Resource$Projects$Locations$Clusters$Export;
|
|
3561
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3562
|
+
|
|
3563
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3564
|
+
callback = paramsOrCallback;
|
|
3565
|
+
params = {} as Params$Resource$Projects$Locations$Clusters$Export;
|
|
3566
|
+
options = {};
|
|
3567
|
+
}
|
|
3568
|
+
|
|
3569
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3570
|
+
callback = optionsOrCallback;
|
|
3571
|
+
options = {};
|
|
3572
|
+
}
|
|
3573
|
+
|
|
3574
|
+
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
|
|
3575
|
+
const parameters = {
|
|
3576
|
+
options: Object.assign(
|
|
3577
|
+
{
|
|
3578
|
+
url: (rootUrl + '/v1alpha/{+name}:export').replace(
|
|
3579
|
+
/([^:]\/)\/+/g,
|
|
3580
|
+
'$1'
|
|
3581
|
+
),
|
|
3582
|
+
method: 'POST',
|
|
3583
|
+
apiVersion: '',
|
|
3584
|
+
},
|
|
3585
|
+
options
|
|
3586
|
+
),
|
|
3587
|
+
params,
|
|
3588
|
+
requiredParams: ['name'],
|
|
3589
|
+
pathParams: ['name'],
|
|
3590
|
+
context: this.context,
|
|
3591
|
+
};
|
|
3592
|
+
if (callback) {
|
|
3593
|
+
createAPIRequest<Schema$Operation>(
|
|
3594
|
+
parameters,
|
|
3595
|
+
callback as BodyResponseCallback<unknown>
|
|
3596
|
+
);
|
|
3597
|
+
} else {
|
|
3598
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
3599
|
+
}
|
|
3600
|
+
}
|
|
3601
|
+
|
|
3047
3602
|
/**
|
|
3048
3603
|
* Gets details of a single Cluster.
|
|
3049
3604
|
*
|
|
@@ -3129,6 +3684,94 @@ export namespace alloydb_v1alpha {
|
|
|
3129
3684
|
}
|
|
3130
3685
|
}
|
|
3131
3686
|
|
|
3687
|
+
/**
|
|
3688
|
+
* Imports data to the cluster. Imperative only.
|
|
3689
|
+
*
|
|
3690
|
+
* @param params - Parameters for request
|
|
3691
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3692
|
+
* @param callback - Optional callback that handles the response.
|
|
3693
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3694
|
+
*/
|
|
3695
|
+
import(
|
|
3696
|
+
params: Params$Resource$Projects$Locations$Clusters$Import,
|
|
3697
|
+
options: StreamMethodOptions
|
|
3698
|
+
): GaxiosPromise<Readable>;
|
|
3699
|
+
import(
|
|
3700
|
+
params?: Params$Resource$Projects$Locations$Clusters$Import,
|
|
3701
|
+
options?: MethodOptions
|
|
3702
|
+
): GaxiosPromise<Schema$Operation>;
|
|
3703
|
+
import(
|
|
3704
|
+
params: Params$Resource$Projects$Locations$Clusters$Import,
|
|
3705
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3706
|
+
callback: BodyResponseCallback<Readable>
|
|
3707
|
+
): void;
|
|
3708
|
+
import(
|
|
3709
|
+
params: Params$Resource$Projects$Locations$Clusters$Import,
|
|
3710
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
3711
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
3712
|
+
): void;
|
|
3713
|
+
import(
|
|
3714
|
+
params: Params$Resource$Projects$Locations$Clusters$Import,
|
|
3715
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
3716
|
+
): void;
|
|
3717
|
+
import(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3718
|
+
import(
|
|
3719
|
+
paramsOrCallback?:
|
|
3720
|
+
| Params$Resource$Projects$Locations$Clusters$Import
|
|
3721
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3722
|
+
| BodyResponseCallback<Readable>,
|
|
3723
|
+
optionsOrCallback?:
|
|
3724
|
+
| MethodOptions
|
|
3725
|
+
| StreamMethodOptions
|
|
3726
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3727
|
+
| BodyResponseCallback<Readable>,
|
|
3728
|
+
callback?:
|
|
3729
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3730
|
+
| BodyResponseCallback<Readable>
|
|
3731
|
+
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
3732
|
+
let params = (paramsOrCallback ||
|
|
3733
|
+
{}) as Params$Resource$Projects$Locations$Clusters$Import;
|
|
3734
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3735
|
+
|
|
3736
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3737
|
+
callback = paramsOrCallback;
|
|
3738
|
+
params = {} as Params$Resource$Projects$Locations$Clusters$Import;
|
|
3739
|
+
options = {};
|
|
3740
|
+
}
|
|
3741
|
+
|
|
3742
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3743
|
+
callback = optionsOrCallback;
|
|
3744
|
+
options = {};
|
|
3745
|
+
}
|
|
3746
|
+
|
|
3747
|
+
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
|
|
3748
|
+
const parameters = {
|
|
3749
|
+
options: Object.assign(
|
|
3750
|
+
{
|
|
3751
|
+
url: (rootUrl + '/v1alpha/{+name}:import').replace(
|
|
3752
|
+
/([^:]\/)\/+/g,
|
|
3753
|
+
'$1'
|
|
3754
|
+
),
|
|
3755
|
+
method: 'POST',
|
|
3756
|
+
apiVersion: '',
|
|
3757
|
+
},
|
|
3758
|
+
options
|
|
3759
|
+
),
|
|
3760
|
+
params,
|
|
3761
|
+
requiredParams: ['name'],
|
|
3762
|
+
pathParams: ['name'],
|
|
3763
|
+
context: this.context,
|
|
3764
|
+
};
|
|
3765
|
+
if (callback) {
|
|
3766
|
+
createAPIRequest<Schema$Operation>(
|
|
3767
|
+
parameters,
|
|
3768
|
+
callback as BodyResponseCallback<unknown>
|
|
3769
|
+
);
|
|
3770
|
+
} else {
|
|
3771
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
3772
|
+
}
|
|
3773
|
+
}
|
|
3774
|
+
|
|
3132
3775
|
/**
|
|
3133
3776
|
* Lists Clusters in a given project and location.
|
|
3134
3777
|
*
|
|
@@ -3484,7 +4127,95 @@ export namespace alloydb_v1alpha {
|
|
|
3484
4127
|
}
|
|
3485
4128
|
|
|
3486
4129
|
/**
|
|
3487
|
-
*
|
|
4130
|
+
* Restores an AlloyDB cluster from a CloudSQL resource.
|
|
4131
|
+
*
|
|
4132
|
+
* @param params - Parameters for request
|
|
4133
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4134
|
+
* @param callback - Optional callback that handles the response.
|
|
4135
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4136
|
+
*/
|
|
4137
|
+
restoreFromCloudSQL(
|
|
4138
|
+
params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
|
|
4139
|
+
options: StreamMethodOptions
|
|
4140
|
+
): GaxiosPromise<Readable>;
|
|
4141
|
+
restoreFromCloudSQL(
|
|
4142
|
+
params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
|
|
4143
|
+
options?: MethodOptions
|
|
4144
|
+
): GaxiosPromise<Schema$Operation>;
|
|
4145
|
+
restoreFromCloudSQL(
|
|
4146
|
+
params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
|
|
4147
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
4148
|
+
callback: BodyResponseCallback<Readable>
|
|
4149
|
+
): void;
|
|
4150
|
+
restoreFromCloudSQL(
|
|
4151
|
+
params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
|
|
4152
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
4153
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
4154
|
+
): void;
|
|
4155
|
+
restoreFromCloudSQL(
|
|
4156
|
+
params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
|
|
4157
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
4158
|
+
): void;
|
|
4159
|
+
restoreFromCloudSQL(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4160
|
+
restoreFromCloudSQL(
|
|
4161
|
+
paramsOrCallback?:
|
|
4162
|
+
| Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql
|
|
4163
|
+
| BodyResponseCallback<Schema$Operation>
|
|
4164
|
+
| BodyResponseCallback<Readable>,
|
|
4165
|
+
optionsOrCallback?:
|
|
4166
|
+
| MethodOptions
|
|
4167
|
+
| StreamMethodOptions
|
|
4168
|
+
| BodyResponseCallback<Schema$Operation>
|
|
4169
|
+
| BodyResponseCallback<Readable>,
|
|
4170
|
+
callback?:
|
|
4171
|
+
| BodyResponseCallback<Schema$Operation>
|
|
4172
|
+
| BodyResponseCallback<Readable>
|
|
4173
|
+
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
4174
|
+
let params = (paramsOrCallback ||
|
|
4175
|
+
{}) as Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql;
|
|
4176
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
4177
|
+
|
|
4178
|
+
if (typeof paramsOrCallback === 'function') {
|
|
4179
|
+
callback = paramsOrCallback;
|
|
4180
|
+
params =
|
|
4181
|
+
{} as Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql;
|
|
4182
|
+
options = {};
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
if (typeof optionsOrCallback === 'function') {
|
|
4186
|
+
callback = optionsOrCallback;
|
|
4187
|
+
options = {};
|
|
4188
|
+
}
|
|
4189
|
+
|
|
4190
|
+
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
|
|
4191
|
+
const parameters = {
|
|
4192
|
+
options: Object.assign(
|
|
4193
|
+
{
|
|
4194
|
+
url: (
|
|
4195
|
+
rootUrl + '/v1alpha/{+parent}/clusters:restoreFromCloudSQL'
|
|
4196
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
4197
|
+
method: 'POST',
|
|
4198
|
+
apiVersion: '',
|
|
4199
|
+
},
|
|
4200
|
+
options
|
|
4201
|
+
),
|
|
4202
|
+
params,
|
|
4203
|
+
requiredParams: ['parent'],
|
|
4204
|
+
pathParams: ['parent'],
|
|
4205
|
+
context: this.context,
|
|
4206
|
+
};
|
|
4207
|
+
if (callback) {
|
|
4208
|
+
createAPIRequest<Schema$Operation>(
|
|
4209
|
+
parameters,
|
|
4210
|
+
callback as BodyResponseCallback<unknown>
|
|
4211
|
+
);
|
|
4212
|
+
} else {
|
|
4213
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
4214
|
+
}
|
|
4215
|
+
}
|
|
4216
|
+
|
|
4217
|
+
/**
|
|
4218
|
+
* 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.
|
|
3488
4219
|
*
|
|
3489
4220
|
* @param params - Parameters for request
|
|
3490
4221
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -3671,11 +4402,11 @@ export namespace alloydb_v1alpha {
|
|
|
3671
4402
|
*/
|
|
3672
4403
|
parent?: string;
|
|
3673
4404
|
/**
|
|
3674
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
4405
|
+
* 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).
|
|
3675
4406
|
*/
|
|
3676
4407
|
requestId?: string;
|
|
3677
4408
|
/**
|
|
3678
|
-
* Optional. If set, performs request validation
|
|
4409
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
3679
4410
|
*/
|
|
3680
4411
|
validateOnly?: boolean;
|
|
3681
4412
|
|
|
@@ -3695,11 +4426,11 @@ export namespace alloydb_v1alpha {
|
|
|
3695
4426
|
*/
|
|
3696
4427
|
parent?: string;
|
|
3697
4428
|
/**
|
|
3698
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
4429
|
+
* 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).
|
|
3699
4430
|
*/
|
|
3700
4431
|
requestId?: string;
|
|
3701
4432
|
/**
|
|
3702
|
-
* Optional. If set, performs request validation
|
|
4433
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
3703
4434
|
*/
|
|
3704
4435
|
validateOnly?: boolean;
|
|
3705
4436
|
|
|
@@ -3723,14 +4454,26 @@ export namespace alloydb_v1alpha {
|
|
|
3723
4454
|
*/
|
|
3724
4455
|
name?: string;
|
|
3725
4456
|
/**
|
|
3726
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
4457
|
+
* 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).
|
|
3727
4458
|
*/
|
|
3728
4459
|
requestId?: string;
|
|
3729
4460
|
/**
|
|
3730
|
-
* Optional. If set, performs request validation
|
|
4461
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
3731
4462
|
*/
|
|
3732
4463
|
validateOnly?: boolean;
|
|
3733
4464
|
}
|
|
4465
|
+
export interface Params$Resource$Projects$Locations$Clusters$Export
|
|
4466
|
+
extends StandardParameters {
|
|
4467
|
+
/**
|
|
4468
|
+
* Required. The resource name of the cluster.
|
|
4469
|
+
*/
|
|
4470
|
+
name?: string;
|
|
4471
|
+
|
|
4472
|
+
/**
|
|
4473
|
+
* Request body metadata
|
|
4474
|
+
*/
|
|
4475
|
+
requestBody?: Schema$ExportClusterRequest;
|
|
4476
|
+
}
|
|
3734
4477
|
export interface Params$Resource$Projects$Locations$Clusters$Get
|
|
3735
4478
|
extends StandardParameters {
|
|
3736
4479
|
/**
|
|
@@ -3742,6 +4485,18 @@ export namespace alloydb_v1alpha {
|
|
|
3742
4485
|
*/
|
|
3743
4486
|
view?: string;
|
|
3744
4487
|
}
|
|
4488
|
+
export interface Params$Resource$Projects$Locations$Clusters$Import
|
|
4489
|
+
extends StandardParameters {
|
|
4490
|
+
/**
|
|
4491
|
+
* Required. The resource name of the cluster.
|
|
4492
|
+
*/
|
|
4493
|
+
name?: string;
|
|
4494
|
+
|
|
4495
|
+
/**
|
|
4496
|
+
* Request body metadata
|
|
4497
|
+
*/
|
|
4498
|
+
requestBody?: Schema$ImportClusterRequest;
|
|
4499
|
+
}
|
|
3745
4500
|
export interface Params$Resource$Projects$Locations$Clusters$List
|
|
3746
4501
|
extends StandardParameters {
|
|
3747
4502
|
/**
|
|
@@ -3776,7 +4531,7 @@ export namespace alloydb_v1alpha {
|
|
|
3776
4531
|
*/
|
|
3777
4532
|
name?: string;
|
|
3778
4533
|
/**
|
|
3779
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
4534
|
+
* 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).
|
|
3780
4535
|
*/
|
|
3781
4536
|
requestId?: string;
|
|
3782
4537
|
/**
|
|
@@ -3784,7 +4539,7 @@ export namespace alloydb_v1alpha {
|
|
|
3784
4539
|
*/
|
|
3785
4540
|
updateMask?: string;
|
|
3786
4541
|
/**
|
|
3787
|
-
* Optional. If set, performs request validation
|
|
4542
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
3788
4543
|
*/
|
|
3789
4544
|
validateOnly?: boolean;
|
|
3790
4545
|
|
|
@@ -3817,6 +4572,18 @@ export namespace alloydb_v1alpha {
|
|
|
3817
4572
|
*/
|
|
3818
4573
|
requestBody?: Schema$RestoreClusterRequest;
|
|
3819
4574
|
}
|
|
4575
|
+
export interface Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql
|
|
4576
|
+
extends StandardParameters {
|
|
4577
|
+
/**
|
|
4578
|
+
* Required. The location of the new cluster. For the required format, see the comment on Cluster.name field.
|
|
4579
|
+
*/
|
|
4580
|
+
parent?: string;
|
|
4581
|
+
|
|
4582
|
+
/**
|
|
4583
|
+
* Request body metadata
|
|
4584
|
+
*/
|
|
4585
|
+
requestBody?: Schema$RestoreFromCloudSQLRequest;
|
|
4586
|
+
}
|
|
3820
4587
|
export interface Params$Resource$Projects$Locations$Clusters$Switchover
|
|
3821
4588
|
extends StandardParameters {
|
|
3822
4589
|
/**
|
|
@@ -4747,11 +5514,11 @@ export namespace alloydb_v1alpha {
|
|
|
4747
5514
|
*/
|
|
4748
5515
|
parent?: string;
|
|
4749
5516
|
/**
|
|
4750
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
5517
|
+
* 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).
|
|
4751
5518
|
*/
|
|
4752
5519
|
requestId?: string;
|
|
4753
5520
|
/**
|
|
4754
|
-
* Optional. If set, performs request validation
|
|
5521
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
4755
5522
|
*/
|
|
4756
5523
|
validateOnly?: boolean;
|
|
4757
5524
|
|
|
@@ -4771,11 +5538,11 @@ export namespace alloydb_v1alpha {
|
|
|
4771
5538
|
*/
|
|
4772
5539
|
parent?: string;
|
|
4773
5540
|
/**
|
|
4774
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
5541
|
+
* 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).
|
|
4775
5542
|
*/
|
|
4776
5543
|
requestId?: string;
|
|
4777
5544
|
/**
|
|
4778
|
-
* Optional. If set, performs request validation
|
|
5545
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
4779
5546
|
*/
|
|
4780
5547
|
validateOnly?: boolean;
|
|
4781
5548
|
|
|
@@ -4795,11 +5562,11 @@ export namespace alloydb_v1alpha {
|
|
|
4795
5562
|
*/
|
|
4796
5563
|
name?: string;
|
|
4797
5564
|
/**
|
|
4798
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
5565
|
+
* 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).
|
|
4799
5566
|
*/
|
|
4800
5567
|
requestId?: string;
|
|
4801
5568
|
/**
|
|
4802
|
-
* Optional. If set, performs request validation
|
|
5569
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
4803
5570
|
*/
|
|
4804
5571
|
validateOnly?: boolean;
|
|
4805
5572
|
}
|
|
@@ -4833,7 +5600,7 @@ export namespace alloydb_v1alpha {
|
|
|
4833
5600
|
*/
|
|
4834
5601
|
parent?: string;
|
|
4835
5602
|
/**
|
|
4836
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
5603
|
+
* 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).
|
|
4837
5604
|
*/
|
|
4838
5605
|
requestId?: string;
|
|
4839
5606
|
}
|
|
@@ -4883,7 +5650,7 @@ export namespace alloydb_v1alpha {
|
|
|
4883
5650
|
*/
|
|
4884
5651
|
name?: string;
|
|
4885
5652
|
/**
|
|
4886
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
5653
|
+
* 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).
|
|
4887
5654
|
*/
|
|
4888
5655
|
requestId?: string;
|
|
4889
5656
|
/**
|
|
@@ -4891,7 +5658,7 @@ export namespace alloydb_v1alpha {
|
|
|
4891
5658
|
*/
|
|
4892
5659
|
updateMask?: string;
|
|
4893
5660
|
/**
|
|
4894
|
-
* Optional. If set, performs request validation
|
|
5661
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
4895
5662
|
*/
|
|
4896
5663
|
validateOnly?: boolean;
|
|
4897
5664
|
|
|
@@ -5361,7 +6128,7 @@ export namespace alloydb_v1alpha {
|
|
|
5361
6128
|
*/
|
|
5362
6129
|
parent?: string;
|
|
5363
6130
|
/**
|
|
5364
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
6131
|
+
* 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).
|
|
5365
6132
|
*/
|
|
5366
6133
|
requestId?: string;
|
|
5367
6134
|
/**
|
|
@@ -5385,7 +6152,7 @@ export namespace alloydb_v1alpha {
|
|
|
5385
6152
|
*/
|
|
5386
6153
|
name?: string;
|
|
5387
6154
|
/**
|
|
5388
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
6155
|
+
* 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).
|
|
5389
6156
|
*/
|
|
5390
6157
|
requestId?: string;
|
|
5391
6158
|
/**
|
|
@@ -5434,7 +6201,7 @@ export namespace alloydb_v1alpha {
|
|
|
5434
6201
|
*/
|
|
5435
6202
|
name?: string;
|
|
5436
6203
|
/**
|
|
5437
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
6204
|
+
* 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).
|
|
5438
6205
|
*/
|
|
5439
6206
|
requestId?: string;
|
|
5440
6207
|
/**
|
|
@@ -5459,7 +6226,7 @@ export namespace alloydb_v1alpha {
|
|
|
5459
6226
|
}
|
|
5460
6227
|
|
|
5461
6228
|
/**
|
|
5462
|
-
* 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
|
|
6229
|
+
* 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`.
|
|
5463
6230
|
*
|
|
5464
6231
|
* @param params - Parameters for request
|
|
5465
6232
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5974,5 +6741,9 @@ export namespace alloydb_v1alpha {
|
|
|
5974
6741
|
* 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.
|
|
5975
6742
|
*/
|
|
5976
6743
|
parent?: string;
|
|
6744
|
+
/**
|
|
6745
|
+
* Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
|
|
6746
|
+
*/
|
|
6747
|
+
scope?: string;
|
|
5977
6748
|
}
|
|
5978
6749
|
}
|