@googleapis/alloydb 11.3.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 +18 -0
- package/build/v1.d.ts +413 -9
- package/build/v1.js +65 -0
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +367 -20
- package/build/v1alpha.js +32 -0
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +384 -20
- package/build/v1beta.js +32 -0
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +561 -9
- package/v1alpha.ts +440 -20
- package/v1beta.ts +457 -20
package/build/v1beta.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ export declare namespace alloydb_v1beta {
|
|
|
93
93
|
*/
|
|
94
94
|
enabled?: boolean | null;
|
|
95
95
|
/**
|
|
96
|
-
* Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will
|
|
96
|
+
* Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
|
|
97
97
|
*/
|
|
98
98
|
encryptionConfig?: Schema$EncryptionConfig;
|
|
99
99
|
/**
|
|
@@ -137,6 +137,10 @@ export declare namespace alloydb_v1beta {
|
|
|
137
137
|
* Output only. The system-generated UID of the cluster which was used to create this resource.
|
|
138
138
|
*/
|
|
139
139
|
clusterUid?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* Output only. Timestamp when the resource finished being created.
|
|
142
|
+
*/
|
|
143
|
+
createCompletionTime?: string | null;
|
|
140
144
|
/**
|
|
141
145
|
* Output only. Create time stamp
|
|
142
146
|
*/
|
|
@@ -218,7 +222,7 @@ export declare namespace alloydb_v1beta {
|
|
|
218
222
|
*/
|
|
219
223
|
uid?: string | null;
|
|
220
224
|
/**
|
|
221
|
-
* Output only. Update time stamp
|
|
225
|
+
* 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.
|
|
222
226
|
*/
|
|
223
227
|
updateTime?: string | null;
|
|
224
228
|
}
|
|
@@ -341,7 +345,7 @@ export declare namespace alloydb_v1beta {
|
|
|
341
345
|
*/
|
|
342
346
|
etag?: string | null;
|
|
343
347
|
/**
|
|
344
|
-
* Optional.
|
|
348
|
+
* Optional. Deprecated and unused. This field will be removed in the near future.
|
|
345
349
|
*/
|
|
346
350
|
geminiConfig?: Schema$GeminiClusterConfig;
|
|
347
351
|
/**
|
|
@@ -484,6 +488,61 @@ export declare namespace alloydb_v1beta {
|
|
|
484
488
|
*/
|
|
485
489
|
publicIpAddress?: string | null;
|
|
486
490
|
}
|
|
491
|
+
/**
|
|
492
|
+
* Configuration for Managed Connection Pool (MCP).
|
|
493
|
+
*/
|
|
494
|
+
export interface Schema$ConnectionPoolConfig {
|
|
495
|
+
/**
|
|
496
|
+
* Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to 20.
|
|
497
|
+
*/
|
|
498
|
+
defaultPoolSize?: string | null;
|
|
499
|
+
/**
|
|
500
|
+
* Optional. Deprecated; Prefer 'enabled' as this will be removed soon.
|
|
501
|
+
*/
|
|
502
|
+
enable?: boolean | null;
|
|
503
|
+
/**
|
|
504
|
+
* Optional. Whether to enable Managed Connection Pool (MCP).
|
|
505
|
+
*/
|
|
506
|
+
enabled?: boolean | null;
|
|
507
|
+
/**
|
|
508
|
+
* Optional. Connection Pool flags, as a list of "key": "value" pairs.
|
|
509
|
+
*/
|
|
510
|
+
flags?: {
|
|
511
|
+
[key: string]: string;
|
|
512
|
+
} | null;
|
|
513
|
+
/**
|
|
514
|
+
* Optional. Deprecated. Use 'flags' instead. The list of startup parameters to ignore. Defaults to ["extra_float_digits"]
|
|
515
|
+
*/
|
|
516
|
+
ignoreStartupParameters?: string[] | null;
|
|
517
|
+
/**
|
|
518
|
+
* Optional. Deprecated. Use 'flags' instead. The maximum number of client connections allowed.
|
|
519
|
+
*/
|
|
520
|
+
maxClientConn?: string | null;
|
|
521
|
+
/**
|
|
522
|
+
* 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.
|
|
523
|
+
*/
|
|
524
|
+
maxPreparedStatements?: string | null;
|
|
525
|
+
/**
|
|
526
|
+
* Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to 0.
|
|
527
|
+
*/
|
|
528
|
+
minPoolSize?: string | null;
|
|
529
|
+
/**
|
|
530
|
+
* Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `POOL_MODE_TRANSACTION`.
|
|
531
|
+
*/
|
|
532
|
+
poolMode?: string | null;
|
|
533
|
+
/**
|
|
534
|
+
* 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.
|
|
535
|
+
*/
|
|
536
|
+
queryWaitTimeout?: string | null;
|
|
537
|
+
/**
|
|
538
|
+
* Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a server is allowed to be idle before it is disconnected. 0 disables.
|
|
539
|
+
*/
|
|
540
|
+
serverIdleTimeout?: string | null;
|
|
541
|
+
/**
|
|
542
|
+
* 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.
|
|
543
|
+
*/
|
|
544
|
+
statsUsers?: string[] | null;
|
|
545
|
+
}
|
|
487
546
|
/**
|
|
488
547
|
* ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
|
|
489
548
|
*/
|
|
@@ -493,7 +552,7 @@ export declare namespace alloydb_v1beta {
|
|
|
493
552
|
*/
|
|
494
553
|
enabled?: boolean | null;
|
|
495
554
|
/**
|
|
496
|
-
* 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
|
|
555
|
+
* 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.
|
|
497
556
|
*/
|
|
498
557
|
encryptionConfig?: Schema$EncryptionConfig;
|
|
499
558
|
/**
|
|
@@ -556,6 +615,48 @@ export declare namespace alloydb_v1beta {
|
|
|
556
615
|
*/
|
|
557
616
|
selectQuery?: string | null;
|
|
558
617
|
}
|
|
618
|
+
/**
|
|
619
|
+
* Options for importing data in CSV format.
|
|
620
|
+
*/
|
|
621
|
+
export interface Schema$CsvImportOptions {
|
|
622
|
+
/**
|
|
623
|
+
* Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
|
|
624
|
+
*/
|
|
625
|
+
columns?: string[] | null;
|
|
626
|
+
/**
|
|
627
|
+
* 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.
|
|
628
|
+
*/
|
|
629
|
+
escapeCharacter?: string | null;
|
|
630
|
+
/**
|
|
631
|
+
* 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.
|
|
632
|
+
*/
|
|
633
|
+
fieldDelimiter?: string | null;
|
|
634
|
+
/**
|
|
635
|
+
* 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.
|
|
636
|
+
*/
|
|
637
|
+
quoteCharacter?: string | null;
|
|
638
|
+
/**
|
|
639
|
+
* Required. The database table to import CSV file into.
|
|
640
|
+
*/
|
|
641
|
+
table?: string | null;
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* 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.
|
|
645
|
+
*/
|
|
646
|
+
export interface Schema$DenyMaintenancePeriod {
|
|
647
|
+
/**
|
|
648
|
+
* 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
|
|
649
|
+
*/
|
|
650
|
+
endDate?: Schema$GoogleTypeDate;
|
|
651
|
+
/**
|
|
652
|
+
* 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
|
|
653
|
+
*/
|
|
654
|
+
startDate?: Schema$GoogleTypeDate;
|
|
655
|
+
/**
|
|
656
|
+
* 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
|
|
657
|
+
*/
|
|
658
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
659
|
+
}
|
|
559
660
|
/**
|
|
560
661
|
* 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); \}
|
|
561
662
|
*/
|
|
@@ -617,6 +718,15 @@ export declare namespace alloydb_v1beta {
|
|
|
617
718
|
*/
|
|
618
719
|
validateOnly?: boolean | null;
|
|
619
720
|
}
|
|
721
|
+
/**
|
|
722
|
+
* Instance level configuration parameters related to the Gemini Cloud Assist product.
|
|
723
|
+
*/
|
|
724
|
+
export interface Schema$GCAInstanceConfig {
|
|
725
|
+
/**
|
|
726
|
+
* Output only. Represents the GCA entitlement state of the instance.
|
|
727
|
+
*/
|
|
728
|
+
gcaEntitlement?: string | null;
|
|
729
|
+
}
|
|
620
730
|
/**
|
|
621
731
|
* Destination for Export. Export will be done to cloud storage.
|
|
622
732
|
*/
|
|
@@ -627,20 +737,20 @@ export declare namespace alloydb_v1beta {
|
|
|
627
737
|
uri?: string | null;
|
|
628
738
|
}
|
|
629
739
|
/**
|
|
630
|
-
*
|
|
740
|
+
* Deprecated and unused. This field will be removed in the near future.
|
|
631
741
|
*/
|
|
632
742
|
export interface Schema$GeminiClusterConfig {
|
|
633
743
|
/**
|
|
634
|
-
* Output only.
|
|
744
|
+
* Output only. Deprecated and unused. This field will be removed in the near future.
|
|
635
745
|
*/
|
|
636
746
|
entitled?: boolean | null;
|
|
637
747
|
}
|
|
638
748
|
/**
|
|
639
|
-
*
|
|
749
|
+
* Deprecated and unused. This field will be removed in the near future.
|
|
640
750
|
*/
|
|
641
751
|
export interface Schema$GeminiInstanceConfig {
|
|
642
752
|
/**
|
|
643
|
-
* Output only.
|
|
753
|
+
* Output only. Deprecated and unused. This field will be removed in the near future.
|
|
644
754
|
*/
|
|
645
755
|
entitled?: boolean | null;
|
|
646
756
|
}
|
|
@@ -686,6 +796,23 @@ export declare namespace alloydb_v1beta {
|
|
|
686
796
|
*/
|
|
687
797
|
name?: string | null;
|
|
688
798
|
}
|
|
799
|
+
/**
|
|
800
|
+
* 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
|
|
801
|
+
*/
|
|
802
|
+
export interface Schema$GoogleTypeDate {
|
|
803
|
+
/**
|
|
804
|
+
* 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.
|
|
805
|
+
*/
|
|
806
|
+
day?: number | null;
|
|
807
|
+
/**
|
|
808
|
+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
|
|
809
|
+
*/
|
|
810
|
+
month?: number | null;
|
|
811
|
+
/**
|
|
812
|
+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
|
|
813
|
+
*/
|
|
814
|
+
year?: number | null;
|
|
815
|
+
}
|
|
689
816
|
/**
|
|
690
817
|
* 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`.
|
|
691
818
|
*/
|
|
@@ -707,6 +834,31 @@ export declare namespace alloydb_v1beta {
|
|
|
707
834
|
*/
|
|
708
835
|
seconds?: number | null;
|
|
709
836
|
}
|
|
837
|
+
/**
|
|
838
|
+
* Import cluster request.
|
|
839
|
+
*/
|
|
840
|
+
export interface Schema$ImportClusterRequest {
|
|
841
|
+
/**
|
|
842
|
+
* Options for importing data in CSV format.
|
|
843
|
+
*/
|
|
844
|
+
csvImportOptions?: Schema$CsvImportOptions;
|
|
845
|
+
/**
|
|
846
|
+
* 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.
|
|
847
|
+
*/
|
|
848
|
+
database?: string | null;
|
|
849
|
+
/**
|
|
850
|
+
* 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`.
|
|
851
|
+
*/
|
|
852
|
+
gcsUri?: string | null;
|
|
853
|
+
/**
|
|
854
|
+
* Options for importing data in SQL format.
|
|
855
|
+
*/
|
|
856
|
+
sqlImportOptions?: Schema$SqlImportOptions;
|
|
857
|
+
/**
|
|
858
|
+
* 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.
|
|
859
|
+
*/
|
|
860
|
+
user?: string | null;
|
|
861
|
+
}
|
|
710
862
|
/**
|
|
711
863
|
* Message for triggering fault injection on an instance
|
|
712
864
|
*/
|
|
@@ -742,6 +894,10 @@ export declare namespace alloydb_v1beta {
|
|
|
742
894
|
* Optional. Client connection specific configurations
|
|
743
895
|
*/
|
|
744
896
|
clientConnectionConfig?: Schema$ClientConnectionConfig;
|
|
897
|
+
/**
|
|
898
|
+
* Optional. The configuration for Managed Connection Pool (MCP).
|
|
899
|
+
*/
|
|
900
|
+
connectionPoolConfig?: Schema$ConnectionPoolConfig;
|
|
745
901
|
/**
|
|
746
902
|
* Output only. Create time stamp
|
|
747
903
|
*/
|
|
@@ -764,12 +920,16 @@ export declare namespace alloydb_v1beta {
|
|
|
764
920
|
* For Resource freshness validation (https://google.aip.dev/154)
|
|
765
921
|
*/
|
|
766
922
|
etag?: string | null;
|
|
923
|
+
/**
|
|
924
|
+
* Output only. Configuration parameters related to Gemini Cloud Assist.
|
|
925
|
+
*/
|
|
926
|
+
gcaConfig?: Schema$GCAInstanceConfig;
|
|
767
927
|
/**
|
|
768
928
|
* 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.
|
|
769
929
|
*/
|
|
770
930
|
gceZone?: string | null;
|
|
771
931
|
/**
|
|
772
|
-
* Optional.
|
|
932
|
+
* Optional. Deprecated and unused. This field will be removed in the near future.
|
|
773
933
|
*/
|
|
774
934
|
geminiConfig?: Schema$GeminiInstanceConfig;
|
|
775
935
|
/**
|
|
@@ -871,6 +1031,10 @@ export declare namespace alloydb_v1beta {
|
|
|
871
1031
|
* Optional. Enabling public ip for the instance.
|
|
872
1032
|
*/
|
|
873
1033
|
enablePublicIp?: boolean | null;
|
|
1034
|
+
/**
|
|
1035
|
+
* 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\}`.
|
|
1036
|
+
*/
|
|
1037
|
+
network?: string | null;
|
|
874
1038
|
}
|
|
875
1039
|
/**
|
|
876
1040
|
* Details regarding the upgrade of instaces associated with a cluster.
|
|
@@ -1004,6 +1168,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1004
1168
|
* The number of CPU's in the VM instance.
|
|
1005
1169
|
*/
|
|
1006
1170
|
cpuCount?: number | null;
|
|
1171
|
+
/**
|
|
1172
|
+
* 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.
|
|
1173
|
+
*/
|
|
1174
|
+
machineType?: string | null;
|
|
1007
1175
|
}
|
|
1008
1176
|
/**
|
|
1009
1177
|
* 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.
|
|
@@ -1018,6 +1186,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1018
1186
|
* MaintenanceUpdatePolicy defines the policy for system updates.
|
|
1019
1187
|
*/
|
|
1020
1188
|
export interface Schema$MaintenanceUpdatePolicy {
|
|
1189
|
+
/**
|
|
1190
|
+
* Periods to deny maintenance. Currently limited to 1.
|
|
1191
|
+
*/
|
|
1192
|
+
denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
|
|
1021
1193
|
/**
|
|
1022
1194
|
* Preferred windows to perform maintenance. Currently limited to 1.
|
|
1023
1195
|
*/
|
|
@@ -1067,7 +1239,7 @@ export declare namespace alloydb_v1beta {
|
|
|
1067
1239
|
network?: string | null;
|
|
1068
1240
|
}
|
|
1069
1241
|
/**
|
|
1070
|
-
* Details of a single node in the instance. Nodes in an AlloyDB instance are
|
|
1242
|
+
* 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.
|
|
1071
1243
|
*/
|
|
1072
1244
|
export interface Schema$Node {
|
|
1073
1245
|
/**
|
|
@@ -1091,6 +1263,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1091
1263
|
* Observability Instance specific configuration.
|
|
1092
1264
|
*/
|
|
1093
1265
|
export interface Schema$ObservabilityInstanceConfig {
|
|
1266
|
+
/**
|
|
1267
|
+
* Whether assistive experiences are enabled for this AlloyDB instance.
|
|
1268
|
+
*/
|
|
1269
|
+
assistiveExperiencesEnabled?: boolean | null;
|
|
1094
1270
|
/**
|
|
1095
1271
|
* Observability feature status for an instance. This flag is turned "off" by default.
|
|
1096
1272
|
*/
|
|
@@ -1115,16 +1291,12 @@ export declare namespace alloydb_v1beta {
|
|
|
1115
1291
|
* Track actively running queries on the instance. If not set, this flag is "off" by default.
|
|
1116
1292
|
*/
|
|
1117
1293
|
trackActiveQueries?: boolean | null;
|
|
1118
|
-
/**
|
|
1119
|
-
* Track client address for an instance. If not set, default value is "off".
|
|
1120
|
-
*/
|
|
1121
|
-
trackClientAddress?: boolean | null;
|
|
1122
1294
|
/**
|
|
1123
1295
|
* 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.
|
|
1124
1296
|
*/
|
|
1125
1297
|
trackWaitEvents?: boolean | null;
|
|
1126
1298
|
/**
|
|
1127
|
-
* 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
|
|
1299
|
+
* 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.
|
|
1128
1300
|
*/
|
|
1129
1301
|
trackWaitEventTypes?: boolean | null;
|
|
1130
1302
|
}
|
|
@@ -1185,6 +1357,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1185
1357
|
* Output only. Server-defined resource path for the target of the operation.
|
|
1186
1358
|
*/
|
|
1187
1359
|
target?: string | null;
|
|
1360
|
+
/**
|
|
1361
|
+
* Output only. UpgradeClusterStatus related metadata.
|
|
1362
|
+
*/
|
|
1363
|
+
upgradeClusterStatus?: Schema$UpgradeClusterStatus;
|
|
1188
1364
|
/**
|
|
1189
1365
|
* Output only. Name of the verb executed by the operation.
|
|
1190
1366
|
*/
|
|
@@ -1216,6 +1392,31 @@ export declare namespace alloydb_v1beta {
|
|
|
1216
1392
|
*/
|
|
1217
1393
|
validateOnly?: boolean | null;
|
|
1218
1394
|
}
|
|
1395
|
+
/**
|
|
1396
|
+
* Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.
|
|
1397
|
+
*/
|
|
1398
|
+
export interface Schema$PscAutoConnectionConfig {
|
|
1399
|
+
/**
|
|
1400
|
+
* 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.
|
|
1401
|
+
*/
|
|
1402
|
+
consumerNetwork?: string | null;
|
|
1403
|
+
/**
|
|
1404
|
+
* 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.
|
|
1405
|
+
*/
|
|
1406
|
+
consumerNetworkStatus?: string | null;
|
|
1407
|
+
/**
|
|
1408
|
+
* The consumer project to which the PSC service automation endpoint will be created.
|
|
1409
|
+
*/
|
|
1410
|
+
consumerProject?: string | null;
|
|
1411
|
+
/**
|
|
1412
|
+
* Output only. The IP address of the PSC service automation endpoint.
|
|
1413
|
+
*/
|
|
1414
|
+
ipAddress?: string | null;
|
|
1415
|
+
/**
|
|
1416
|
+
* 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.
|
|
1417
|
+
*/
|
|
1418
|
+
status?: string | null;
|
|
1419
|
+
}
|
|
1219
1420
|
/**
|
|
1220
1421
|
* PscConfig contains PSC related configuration at a cluster level.
|
|
1221
1422
|
*/
|
|
@@ -1224,6 +1425,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1224
1425
|
* Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
|
|
1225
1426
|
*/
|
|
1226
1427
|
pscEnabled?: boolean | null;
|
|
1428
|
+
/**
|
|
1429
|
+
* Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.
|
|
1430
|
+
*/
|
|
1431
|
+
serviceOwnedProjectNumber?: string | null;
|
|
1227
1432
|
}
|
|
1228
1433
|
/**
|
|
1229
1434
|
* PscInstanceConfig contains PSC related configuration at an instance level.
|
|
@@ -1233,15 +1438,32 @@ export declare namespace alloydb_v1beta {
|
|
|
1233
1438
|
* Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1234
1439
|
*/
|
|
1235
1440
|
allowedConsumerProjects?: string[] | null;
|
|
1441
|
+
/**
|
|
1442
|
+
* Optional. Configurations for setting up PSC service automation.
|
|
1443
|
+
*/
|
|
1444
|
+
pscAutoConnections?: Schema$PscAutoConnectionConfig[];
|
|
1236
1445
|
/**
|
|
1237
1446
|
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
|
|
1238
1447
|
*/
|
|
1239
1448
|
pscDnsName?: string | null;
|
|
1449
|
+
/**
|
|
1450
|
+
* 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.
|
|
1451
|
+
*/
|
|
1452
|
+
pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
|
|
1240
1453
|
/**
|
|
1241
1454
|
* 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/`
|
|
1242
1455
|
*/
|
|
1243
1456
|
serviceAttachmentLink?: string | null;
|
|
1244
1457
|
}
|
|
1458
|
+
/**
|
|
1459
|
+
* Configuration for setting up a PSC interface to enable outbound connectivity.
|
|
1460
|
+
*/
|
|
1461
|
+
export interface Schema$PscInterfaceConfig {
|
|
1462
|
+
/**
|
|
1463
|
+
* 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.
|
|
1464
|
+
*/
|
|
1465
|
+
networkAttachmentResource?: string | null;
|
|
1466
|
+
}
|
|
1245
1467
|
/**
|
|
1246
1468
|
* 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)
|
|
1247
1469
|
*/
|
|
@@ -1294,6 +1516,15 @@ export declare namespace alloydb_v1beta {
|
|
|
1294
1516
|
*/
|
|
1295
1517
|
nodeCount?: number | null;
|
|
1296
1518
|
}
|
|
1519
|
+
/**
|
|
1520
|
+
* Read pool instances upgrade specific status.
|
|
1521
|
+
*/
|
|
1522
|
+
export interface Schema$ReadPoolInstancesUpgradeStageStatus {
|
|
1523
|
+
/**
|
|
1524
|
+
* Read pool instances upgrade statistics.
|
|
1525
|
+
*/
|
|
1526
|
+
upgradeStats?: Schema$Stats;
|
|
1527
|
+
}
|
|
1297
1528
|
export interface Schema$RestartInstanceRequest {
|
|
1298
1529
|
/**
|
|
1299
1530
|
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
|
|
@@ -1309,7 +1540,7 @@ export declare namespace alloydb_v1beta {
|
|
|
1309
1540
|
validateOnly?: boolean | null;
|
|
1310
1541
|
}
|
|
1311
1542
|
/**
|
|
1312
|
-
* Message for restoring a Cluster from a backup or another cluster at a given point in time.
|
|
1543
|
+
* Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
|
|
1313
1544
|
*/
|
|
1314
1545
|
export interface Schema$RestoreClusterRequest {
|
|
1315
1546
|
/**
|
|
@@ -1384,6 +1615,11 @@ export declare namespace alloydb_v1beta {
|
|
|
1384
1615
|
*/
|
|
1385
1616
|
tables?: string[] | null;
|
|
1386
1617
|
}
|
|
1618
|
+
/**
|
|
1619
|
+
* Options for importing data in SQL format.
|
|
1620
|
+
*/
|
|
1621
|
+
export interface Schema$SqlImportOptions {
|
|
1622
|
+
}
|
|
1387
1623
|
/**
|
|
1388
1624
|
* SSL configuration.
|
|
1389
1625
|
*/
|
|
@@ -1414,6 +1650,44 @@ export declare namespace alloydb_v1beta {
|
|
|
1414
1650
|
*/
|
|
1415
1651
|
status?: string | null;
|
|
1416
1652
|
}
|
|
1653
|
+
/**
|
|
1654
|
+
* Status of an upgrade stage.
|
|
1655
|
+
*/
|
|
1656
|
+
export interface Schema$StageStatus {
|
|
1657
|
+
/**
|
|
1658
|
+
* Read pool instances upgrade metadata.
|
|
1659
|
+
*/
|
|
1660
|
+
readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
|
|
1661
|
+
/**
|
|
1662
|
+
* Upgrade stage.
|
|
1663
|
+
*/
|
|
1664
|
+
stage?: string | null;
|
|
1665
|
+
/**
|
|
1666
|
+
* State of this stage.
|
|
1667
|
+
*/
|
|
1668
|
+
state?: string | null;
|
|
1669
|
+
}
|
|
1670
|
+
/**
|
|
1671
|
+
* Upgrade stats for read pool instances.
|
|
1672
|
+
*/
|
|
1673
|
+
export interface Schema$Stats {
|
|
1674
|
+
/**
|
|
1675
|
+
* Number of read pool instances which failed to upgrade.
|
|
1676
|
+
*/
|
|
1677
|
+
failed?: number | null;
|
|
1678
|
+
/**
|
|
1679
|
+
* Number of read pool instances for which upgrade has not started.
|
|
1680
|
+
*/
|
|
1681
|
+
notStarted?: number | null;
|
|
1682
|
+
/**
|
|
1683
|
+
* Number of read pool instances undergoing upgrade.
|
|
1684
|
+
*/
|
|
1685
|
+
ongoing?: number | null;
|
|
1686
|
+
/**
|
|
1687
|
+
* Number of read pool instances successfully upgraded.
|
|
1688
|
+
*/
|
|
1689
|
+
success?: number | null;
|
|
1690
|
+
}
|
|
1417
1691
|
/**
|
|
1418
1692
|
* 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).
|
|
1419
1693
|
*/
|
|
@@ -1615,7 +1889,7 @@ export declare namespace alloydb_v1beta {
|
|
|
1615
1889
|
uniqueId?: string | null;
|
|
1616
1890
|
}
|
|
1617
1891
|
/**
|
|
1618
|
-
* Common model for database resource instance metadata. Next ID:
|
|
1892
|
+
* Common model for database resource instance metadata. Next ID: 25
|
|
1619
1893
|
*/
|
|
1620
1894
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
|
|
1621
1895
|
/**
|
|
@@ -1654,6 +1928,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1654
1928
|
* 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.
|
|
1655
1929
|
*/
|
|
1656
1930
|
expectedState?: string | null;
|
|
1931
|
+
/**
|
|
1932
|
+
* GCBDR configuration for the resource.
|
|
1933
|
+
*/
|
|
1934
|
+
gcbdrConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration;
|
|
1657
1935
|
/**
|
|
1658
1936
|
* Required. Unique identifier for a Database resource
|
|
1659
1937
|
*/
|
|
@@ -1690,6 +1968,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1690
1968
|
* 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
|
|
1691
1969
|
*/
|
|
1692
1970
|
resourceName?: string | null;
|
|
1971
|
+
/**
|
|
1972
|
+
* Optional. Suspension reason for the resource.
|
|
1973
|
+
*/
|
|
1974
|
+
suspensionReason?: string | null;
|
|
1693
1975
|
/**
|
|
1694
1976
|
* Optional. Tags associated with this resources.
|
|
1695
1977
|
*/
|
|
@@ -1755,6 +2037,15 @@ export declare namespace alloydb_v1beta {
|
|
|
1755
2037
|
*/
|
|
1756
2038
|
type?: string | null;
|
|
1757
2039
|
}
|
|
2040
|
+
/**
|
|
2041
|
+
* GCBDR Configuration for the resource.
|
|
2042
|
+
*/
|
|
2043
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration {
|
|
2044
|
+
/**
|
|
2045
|
+
* Whether the resource is managed by GCBDR.
|
|
2046
|
+
*/
|
|
2047
|
+
gcbdrManaged?: boolean | null;
|
|
2048
|
+
}
|
|
1758
2049
|
/**
|
|
1759
2050
|
* 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.
|
|
1760
2051
|
*/
|
|
@@ -1767,6 +2058,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1767
2058
|
* Information about the last backup attempt for this database
|
|
1768
2059
|
*/
|
|
1769
2060
|
backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
|
|
2061
|
+
/**
|
|
2062
|
+
* Whether deletion protection is enabled for this internal resource.
|
|
2063
|
+
*/
|
|
2064
|
+
isDeletionProtectionEnabled?: boolean | null;
|
|
1770
2065
|
product?: Schema$StorageDatabasecenterProtoCommonProduct;
|
|
1771
2066
|
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1772
2067
|
/**
|
|
@@ -1779,11 +2074,11 @@ export declare namespace alloydb_v1beta {
|
|
|
1779
2074
|
*/
|
|
1780
2075
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
|
|
1781
2076
|
/**
|
|
1782
|
-
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482
|
|
2077
|
+
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.
|
|
1783
2078
|
*/
|
|
1784
2079
|
cpuCount?: number | null;
|
|
1785
2080
|
/**
|
|
1786
|
-
* Memory size in bytes. TODO(b/342344482
|
|
2081
|
+
* Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
|
|
1787
2082
|
*/
|
|
1788
2083
|
memorySizeInBytes?: string | null;
|
|
1789
2084
|
/**
|
|
@@ -1791,7 +2086,7 @@ export declare namespace alloydb_v1beta {
|
|
|
1791
2086
|
*/
|
|
1792
2087
|
shardCount?: number | null;
|
|
1793
2088
|
/**
|
|
1794
|
-
* Optional. The number of vCPUs. TODO(b/342344482
|
|
2089
|
+
* Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.
|
|
1795
2090
|
*/
|
|
1796
2091
|
vcpuCount?: number | null;
|
|
1797
2092
|
}
|
|
@@ -1933,10 +2228,22 @@ export declare namespace alloydb_v1beta {
|
|
|
1933
2228
|
* 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.
|
|
1934
2229
|
*/
|
|
1935
2230
|
name?: string | null;
|
|
2231
|
+
/**
|
|
2232
|
+
* The recommended value for an INTEGER flag.
|
|
2233
|
+
*/
|
|
2234
|
+
recommendedIntegerValue?: string | null;
|
|
2235
|
+
/**
|
|
2236
|
+
* The recommended value for a STRING flag.
|
|
2237
|
+
*/
|
|
2238
|
+
recommendedStringValue?: string | null;
|
|
1936
2239
|
/**
|
|
1937
2240
|
* 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).
|
|
1938
2241
|
*/
|
|
1939
2242
|
requiresDbRestart?: boolean | null;
|
|
2243
|
+
/**
|
|
2244
|
+
* The scope of the flag.
|
|
2245
|
+
*/
|
|
2246
|
+
scope?: string | null;
|
|
1940
2247
|
/**
|
|
1941
2248
|
* Restriction on STRING type value.
|
|
1942
2249
|
*/
|
|
@@ -2037,6 +2344,31 @@ export declare namespace alloydb_v1beta {
|
|
|
2037
2344
|
*/
|
|
2038
2345
|
status?: string | null;
|
|
2039
2346
|
}
|
|
2347
|
+
/**
|
|
2348
|
+
* Message for current status of the Major Version Upgrade operation.
|
|
2349
|
+
*/
|
|
2350
|
+
export interface Schema$UpgradeClusterStatus {
|
|
2351
|
+
/**
|
|
2352
|
+
* Whether the operation is cancellable.
|
|
2353
|
+
*/
|
|
2354
|
+
cancellable?: boolean | null;
|
|
2355
|
+
/**
|
|
2356
|
+
* Source database major version.
|
|
2357
|
+
*/
|
|
2358
|
+
sourceVersion?: string | null;
|
|
2359
|
+
/**
|
|
2360
|
+
* Status of all upgrade stages.
|
|
2361
|
+
*/
|
|
2362
|
+
stages?: Schema$StageStatus[];
|
|
2363
|
+
/**
|
|
2364
|
+
* Cluster Major Version Upgrade state.
|
|
2365
|
+
*/
|
|
2366
|
+
state?: string | null;
|
|
2367
|
+
/**
|
|
2368
|
+
* Target database major version.
|
|
2369
|
+
*/
|
|
2370
|
+
targetVersion?: string | null;
|
|
2371
|
+
}
|
|
2040
2372
|
/**
|
|
2041
2373
|
* Message describing User object.
|
|
2042
2374
|
*/
|
|
@@ -2136,6 +2468,10 @@ export declare namespace alloydb_v1beta {
|
|
|
2136
2468
|
name?: string;
|
|
2137
2469
|
}
|
|
2138
2470
|
export interface Params$Resource$Projects$Locations$List extends StandardParameters {
|
|
2471
|
+
/**
|
|
2472
|
+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
|
|
2473
|
+
*/
|
|
2474
|
+
extraLocationTypes?: string[];
|
|
2139
2475
|
/**
|
|
2140
2476
|
* 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).
|
|
2141
2477
|
*/
|
|
@@ -2396,6 +2732,20 @@ export declare namespace alloydb_v1beta {
|
|
|
2396
2732
|
get(params: Params$Resource$Projects$Locations$Clusters$Get, options: MethodOptions | BodyResponseCallback<Schema$Cluster>, callback: BodyResponseCallback<Schema$Cluster>): void;
|
|
2397
2733
|
get(params: Params$Resource$Projects$Locations$Clusters$Get, callback: BodyResponseCallback<Schema$Cluster>): void;
|
|
2398
2734
|
get(callback: BodyResponseCallback<Schema$Cluster>): void;
|
|
2735
|
+
/**
|
|
2736
|
+
* Imports data to the cluster. Imperative only.
|
|
2737
|
+
*
|
|
2738
|
+
* @param params - Parameters for request
|
|
2739
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2740
|
+
* @param callback - Optional callback that handles the response.
|
|
2741
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2742
|
+
*/
|
|
2743
|
+
import(params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2744
|
+
import(params?: Params$Resource$Projects$Locations$Clusters$Import, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2745
|
+
import(params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2746
|
+
import(params: Params$Resource$Projects$Locations$Clusters$Import, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2747
|
+
import(params: Params$Resource$Projects$Locations$Clusters$Import, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2748
|
+
import(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2399
2749
|
/**
|
|
2400
2750
|
* Lists Clusters in a given project and location.
|
|
2401
2751
|
*
|
|
@@ -2581,6 +2931,16 @@ export declare namespace alloydb_v1beta {
|
|
|
2581
2931
|
*/
|
|
2582
2932
|
view?: string;
|
|
2583
2933
|
}
|
|
2934
|
+
export interface Params$Resource$Projects$Locations$Clusters$Import extends StandardParameters {
|
|
2935
|
+
/**
|
|
2936
|
+
* Required. The resource name of the cluster.
|
|
2937
|
+
*/
|
|
2938
|
+
name?: string;
|
|
2939
|
+
/**
|
|
2940
|
+
* Request body metadata
|
|
2941
|
+
*/
|
|
2942
|
+
requestBody?: Schema$ImportClusterRequest;
|
|
2943
|
+
}
|
|
2584
2944
|
export interface Params$Resource$Projects$Locations$Clusters$List extends StandardParameters {
|
|
2585
2945
|
/**
|
|
2586
2946
|
* Optional. Filtering results
|
|
@@ -3274,6 +3634,10 @@ export declare namespace alloydb_v1beta {
|
|
|
3274
3634
|
* 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.
|
|
3275
3635
|
*/
|
|
3276
3636
|
parent?: string;
|
|
3637
|
+
/**
|
|
3638
|
+
* Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
|
|
3639
|
+
*/
|
|
3640
|
+
scope?: string;
|
|
3277
3641
|
}
|
|
3278
3642
|
export {};
|
|
3279
3643
|
}
|