@googleapis/alloydb 11.0.0 → 11.3.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 +22 -0
- package/build/v1.d.ts +270 -53
- package/build/v1.js +64 -0
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +268 -55
- package/build/v1alpha.js +65 -0
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +294 -53
- package/build/v1beta.js +97 -0
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +413 -53
- package/v1alpha.ts +414 -55
- package/v1beta.ts +516 -53
package/build/v1alpha.d.ts
CHANGED
|
@@ -207,6 +207,12 @@ export declare namespace alloydb_v1alpha {
|
|
|
207
207
|
* Output only. The current state of the backup.
|
|
208
208
|
*/
|
|
209
209
|
state?: string | null;
|
|
210
|
+
/**
|
|
211
|
+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
|
|
212
|
+
*/
|
|
213
|
+
tags?: {
|
|
214
|
+
[key: string]: string;
|
|
215
|
+
} | null;
|
|
210
216
|
/**
|
|
211
217
|
* The backup type, which suggests the trigger for the backup.
|
|
212
218
|
*/
|
|
@@ -247,7 +253,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
247
253
|
*/
|
|
248
254
|
requireConnectors?: boolean | null;
|
|
249
255
|
/**
|
|
250
|
-
* Optional. SSL
|
|
256
|
+
* Optional. SSL configuration option for this instance.
|
|
251
257
|
*/
|
|
252
258
|
sslConfig?: Schema$SslConfig;
|
|
253
259
|
}
|
|
@@ -414,6 +420,12 @@ export declare namespace alloydb_v1alpha {
|
|
|
414
420
|
* Optional. Subscription type of the cluster.
|
|
415
421
|
*/
|
|
416
422
|
subscriptionType?: string | null;
|
|
423
|
+
/**
|
|
424
|
+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
|
|
425
|
+
*/
|
|
426
|
+
tags?: {
|
|
427
|
+
[key: string]: string;
|
|
428
|
+
} | null;
|
|
417
429
|
/**
|
|
418
430
|
* Output only. Metadata for free trial clusters
|
|
419
431
|
*/
|
|
@@ -536,6 +548,27 @@ export declare namespace alloydb_v1alpha {
|
|
|
536
548
|
*/
|
|
537
549
|
pointInTime?: string | null;
|
|
538
550
|
}
|
|
551
|
+
/**
|
|
552
|
+
* Options for exporting data in CSV format.
|
|
553
|
+
*/
|
|
554
|
+
export interface Schema$CsvExportOptions {
|
|
555
|
+
/**
|
|
556
|
+
* 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.
|
|
557
|
+
*/
|
|
558
|
+
escapeCharacter?: string | null;
|
|
559
|
+
/**
|
|
560
|
+
* 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.
|
|
561
|
+
*/
|
|
562
|
+
fieldDelimiter?: string | null;
|
|
563
|
+
/**
|
|
564
|
+
* 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.
|
|
565
|
+
*/
|
|
566
|
+
quoteCharacter?: string | null;
|
|
567
|
+
/**
|
|
568
|
+
* Required. The SELECT query used to extract the data.
|
|
569
|
+
*/
|
|
570
|
+
selectQuery?: string | null;
|
|
571
|
+
}
|
|
539
572
|
/**
|
|
540
573
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
541
574
|
*/
|
|
@@ -563,19 +596,49 @@ export declare namespace alloydb_v1alpha {
|
|
|
563
596
|
*/
|
|
564
597
|
kmsKeyVersions?: string[] | null;
|
|
565
598
|
}
|
|
599
|
+
/**
|
|
600
|
+
* Export cluster request.
|
|
601
|
+
*/
|
|
602
|
+
export interface Schema$ExportClusterRequest {
|
|
603
|
+
/**
|
|
604
|
+
* Options for exporting data in CSV format. Required field to be set for CSV file type.
|
|
605
|
+
*/
|
|
606
|
+
csvExportOptions?: Schema$CsvExportOptions;
|
|
607
|
+
/**
|
|
608
|
+
* 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.
|
|
609
|
+
*/
|
|
610
|
+
database?: string | null;
|
|
611
|
+
/**
|
|
612
|
+
* Required. Option to export data to cloud storage.
|
|
613
|
+
*/
|
|
614
|
+
gcsDestination?: Schema$GcsDestination;
|
|
615
|
+
/**
|
|
616
|
+
* Options for exporting data in SQL format. Required field to be set for SQL file type.
|
|
617
|
+
*/
|
|
618
|
+
sqlExportOptions?: Schema$SqlExportOptions;
|
|
619
|
+
}
|
|
566
620
|
/**
|
|
567
621
|
* Message for triggering failover on an Instance
|
|
568
622
|
*/
|
|
569
623
|
export interface Schema$FailoverInstanceRequest {
|
|
570
624
|
/**
|
|
571
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
625
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
572
626
|
*/
|
|
573
627
|
requestId?: string | null;
|
|
574
628
|
/**
|
|
575
|
-
* Optional. If set, performs request validation
|
|
629
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
576
630
|
*/
|
|
577
631
|
validateOnly?: boolean | null;
|
|
578
632
|
}
|
|
633
|
+
/**
|
|
634
|
+
* Destination for Export. Export will be done to cloud storage.
|
|
635
|
+
*/
|
|
636
|
+
export interface Schema$GcsDestination {
|
|
637
|
+
/**
|
|
638
|
+
* 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`.
|
|
639
|
+
*/
|
|
640
|
+
uri?: string | null;
|
|
641
|
+
}
|
|
579
642
|
/**
|
|
580
643
|
* Cluster level configuration parameters related to the Gemini in Databases add-on.
|
|
581
644
|
*/
|
|
@@ -641,19 +704,19 @@ export declare namespace alloydb_v1alpha {
|
|
|
641
704
|
*/
|
|
642
705
|
export interface Schema$GoogleTypeTimeOfDay {
|
|
643
706
|
/**
|
|
644
|
-
* Hours of day in 24 hour format.
|
|
707
|
+
* Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
|
|
645
708
|
*/
|
|
646
709
|
hours?: number | null;
|
|
647
710
|
/**
|
|
648
|
-
* Minutes of hour
|
|
711
|
+
* Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
|
|
649
712
|
*/
|
|
650
713
|
minutes?: number | null;
|
|
651
714
|
/**
|
|
652
|
-
* Fractions of seconds in nanoseconds. Must be
|
|
715
|
+
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
|
|
653
716
|
*/
|
|
654
717
|
nanos?: number | null;
|
|
655
718
|
/**
|
|
656
|
-
* Seconds of
|
|
719
|
+
* Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
|
|
657
720
|
*/
|
|
658
721
|
seconds?: number | null;
|
|
659
722
|
}
|
|
@@ -666,11 +729,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
666
729
|
*/
|
|
667
730
|
faultType?: string | null;
|
|
668
731
|
/**
|
|
669
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
732
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
670
733
|
*/
|
|
671
734
|
requestId?: string | null;
|
|
672
735
|
/**
|
|
673
|
-
* Optional. If set, performs request validation
|
|
736
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
674
737
|
*/
|
|
675
738
|
validateOnly?: boolean | null;
|
|
676
739
|
}
|
|
@@ -697,7 +760,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
697
760
|
*/
|
|
698
761
|
createTime?: string | null;
|
|
699
762
|
/**
|
|
700
|
-
* Database flags. Set at instance level.
|
|
763
|
+
* Database flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
|
|
701
764
|
*/
|
|
702
765
|
databaseFlags?: {
|
|
703
766
|
[key: string]: string;
|
|
@@ -745,7 +808,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
745
808
|
*/
|
|
746
809
|
name?: string | null;
|
|
747
810
|
/**
|
|
748
|
-
* Optional. Instance
|
|
811
|
+
* Optional. Instance-level network configuration.
|
|
749
812
|
*/
|
|
750
813
|
networkConfig?: Schema$InstanceNetworkConfig;
|
|
751
814
|
/**
|
|
@@ -810,7 +873,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
810
873
|
writableNode?: Schema$Node;
|
|
811
874
|
}
|
|
812
875
|
/**
|
|
813
|
-
* Metadata related to instance
|
|
876
|
+
* Metadata related to instance-level network configuration.
|
|
814
877
|
*/
|
|
815
878
|
export interface Schema$InstanceNetworkConfig {
|
|
816
879
|
/**
|
|
@@ -1025,19 +1088,19 @@ export declare namespace alloydb_v1alpha {
|
|
|
1025
1088
|
*/
|
|
1026
1089
|
export interface Schema$Node {
|
|
1027
1090
|
/**
|
|
1028
|
-
* The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
|
|
1091
|
+
* Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
|
|
1029
1092
|
*/
|
|
1030
1093
|
id?: string | null;
|
|
1031
1094
|
/**
|
|
1032
|
-
* The private IP address of the VM e.g. "10.57.0.34".
|
|
1095
|
+
* Output only. The private IP address of the VM e.g. "10.57.0.34".
|
|
1033
1096
|
*/
|
|
1034
1097
|
ip?: string | null;
|
|
1035
1098
|
/**
|
|
1036
|
-
* Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
|
|
1099
|
+
* Output only. Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
|
|
1037
1100
|
*/
|
|
1038
1101
|
state?: string | null;
|
|
1039
1102
|
/**
|
|
1040
|
-
* The Compute Engine zone of the VM e.g. "us-central1-b".
|
|
1103
|
+
* Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
|
|
1041
1104
|
*/
|
|
1042
1105
|
zoneId?: string | null;
|
|
1043
1106
|
}
|
|
@@ -1128,7 +1191,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
1128
1191
|
*/
|
|
1129
1192
|
endTime?: string | null;
|
|
1130
1193
|
/**
|
|
1131
|
-
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
1194
|
+
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
1132
1195
|
*/
|
|
1133
1196
|
requestedCancellation?: boolean | null;
|
|
1134
1197
|
/**
|
|
@@ -1162,11 +1225,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
1162
1225
|
*/
|
|
1163
1226
|
etag?: string | null;
|
|
1164
1227
|
/**
|
|
1165
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1228
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
1166
1229
|
*/
|
|
1167
1230
|
requestId?: string | null;
|
|
1168
1231
|
/**
|
|
1169
|
-
* Optional. If set, performs request validation
|
|
1232
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1170
1233
|
*/
|
|
1171
1234
|
validateOnly?: boolean | null;
|
|
1172
1235
|
}
|
|
@@ -1178,6 +1241,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1178
1241
|
* Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
|
|
1179
1242
|
*/
|
|
1180
1243
|
pscEnabled?: boolean | null;
|
|
1244
|
+
/**
|
|
1245
|
+
* Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.
|
|
1246
|
+
*/
|
|
1247
|
+
serviceOwnedProjectNumber?: string | null;
|
|
1181
1248
|
}
|
|
1182
1249
|
/**
|
|
1183
1250
|
* PscInstanceConfig contains PSC related configuration at an instance level.
|
|
@@ -1191,11 +1258,24 @@ export declare namespace alloydb_v1alpha {
|
|
|
1191
1258
|
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
|
|
1192
1259
|
*/
|
|
1193
1260
|
pscDnsName?: string | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* 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.
|
|
1263
|
+
*/
|
|
1264
|
+
pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
|
|
1194
1265
|
/**
|
|
1195
1266
|
* Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of `projects//regions//serviceAttachments/`
|
|
1196
1267
|
*/
|
|
1197
1268
|
serviceAttachmentLink?: string | null;
|
|
1198
1269
|
}
|
|
1270
|
+
/**
|
|
1271
|
+
* Configuration for setting up a PSC interface to enable outbound connectivity.
|
|
1272
|
+
*/
|
|
1273
|
+
export interface Schema$PscInterfaceConfig {
|
|
1274
|
+
/**
|
|
1275
|
+
* 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.
|
|
1276
|
+
*/
|
|
1277
|
+
networkAttachmentResource?: string | null;
|
|
1278
|
+
}
|
|
1199
1279
|
/**
|
|
1200
1280
|
* A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)
|
|
1201
1281
|
*/
|
|
@@ -1250,15 +1330,15 @@ export declare namespace alloydb_v1alpha {
|
|
|
1250
1330
|
}
|
|
1251
1331
|
export interface Schema$RestartInstanceRequest {
|
|
1252
1332
|
/**
|
|
1253
|
-
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon.
|
|
1333
|
+
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
|
|
1254
1334
|
*/
|
|
1255
1335
|
nodeIds?: string[] | null;
|
|
1256
1336
|
/**
|
|
1257
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1337
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
1258
1338
|
*/
|
|
1259
1339
|
requestId?: string | null;
|
|
1260
1340
|
/**
|
|
1261
|
-
* Optional. If set, performs request validation
|
|
1341
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1262
1342
|
*/
|
|
1263
1343
|
validateOnly?: boolean | null;
|
|
1264
1344
|
}
|
|
@@ -1283,14 +1363,31 @@ export declare namespace alloydb_v1alpha {
|
|
|
1283
1363
|
*/
|
|
1284
1364
|
continuousBackupSource?: Schema$ContinuousBackupSource;
|
|
1285
1365
|
/**
|
|
1286
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1366
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
1287
1367
|
*/
|
|
1288
1368
|
requestId?: string | null;
|
|
1289
1369
|
/**
|
|
1290
|
-
* Optional. If set, performs request validation
|
|
1370
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1291
1371
|
*/
|
|
1292
1372
|
validateOnly?: boolean | null;
|
|
1293
1373
|
}
|
|
1374
|
+
/**
|
|
1375
|
+
* Message for registering Restoring from CloudSQL resource.
|
|
1376
|
+
*/
|
|
1377
|
+
export interface Schema$RestoreFromCloudSQLRequest {
|
|
1378
|
+
/**
|
|
1379
|
+
* Cluster created from CloudSQL backup run.
|
|
1380
|
+
*/
|
|
1381
|
+
cloudsqlBackupRunSource?: Schema$CloudSQLBackupRunSource;
|
|
1382
|
+
/**
|
|
1383
|
+
* Required. The resource being created
|
|
1384
|
+
*/
|
|
1385
|
+
cluster?: Schema$Cluster;
|
|
1386
|
+
/**
|
|
1387
|
+
* Required. ID of the requesting object.
|
|
1388
|
+
*/
|
|
1389
|
+
clusterId?: string | null;
|
|
1390
|
+
}
|
|
1294
1391
|
/**
|
|
1295
1392
|
* Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.
|
|
1296
1393
|
*/
|
|
@@ -1300,6 +1397,27 @@ export declare namespace alloydb_v1alpha {
|
|
|
1300
1397
|
*/
|
|
1301
1398
|
primaryClusterName?: string | null;
|
|
1302
1399
|
}
|
|
1400
|
+
/**
|
|
1401
|
+
* Options for exporting data in SQL format.
|
|
1402
|
+
*/
|
|
1403
|
+
export interface Schema$SqlExportOptions {
|
|
1404
|
+
/**
|
|
1405
|
+
* Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.
|
|
1406
|
+
*/
|
|
1407
|
+
cleanTargetObjects?: boolean | null;
|
|
1408
|
+
/**
|
|
1409
|
+
* Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode.
|
|
1410
|
+
*/
|
|
1411
|
+
ifExistTargetObjects?: boolean | null;
|
|
1412
|
+
/**
|
|
1413
|
+
* Optional. If true, only export the schema.
|
|
1414
|
+
*/
|
|
1415
|
+
schemaOnly?: boolean | null;
|
|
1416
|
+
/**
|
|
1417
|
+
* Optional. Tables to export from.
|
|
1418
|
+
*/
|
|
1419
|
+
tables?: string[] | null;
|
|
1420
|
+
}
|
|
1303
1421
|
/**
|
|
1304
1422
|
* SSL configuration.
|
|
1305
1423
|
*/
|
|
@@ -1353,6 +1471,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1353
1471
|
* Configuration for availability of database instance
|
|
1354
1472
|
*/
|
|
1355
1473
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration {
|
|
1474
|
+
/**
|
|
1475
|
+
* Checks for existence of (multi-cluster) routing configuration that allows automatic failover to a different zone/region in case of an outage. Applicable to Bigtable resources.
|
|
1476
|
+
*/
|
|
1477
|
+
automaticFailoverRoutingConfigured?: boolean | null;
|
|
1356
1478
|
/**
|
|
1357
1479
|
* Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).
|
|
1358
1480
|
*/
|
|
@@ -1527,7 +1649,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
1527
1649
|
uniqueId?: string | null;
|
|
1528
1650
|
}
|
|
1529
1651
|
/**
|
|
1530
|
-
* Common model for database resource instance metadata.
|
|
1652
|
+
* Common model for database resource instance metadata. Next ID: 23
|
|
1531
1653
|
*/
|
|
1532
1654
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
|
|
1533
1655
|
/**
|
|
@@ -1554,6 +1676,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1554
1676
|
* Any custom metadata associated with the resource
|
|
1555
1677
|
*/
|
|
1556
1678
|
customMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainCustomMetadataData;
|
|
1679
|
+
/**
|
|
1680
|
+
* 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.
|
|
1681
|
+
*/
|
|
1682
|
+
edition?: string | null;
|
|
1557
1683
|
/**
|
|
1558
1684
|
* Entitlements associated with the resource
|
|
1559
1685
|
*/
|
|
@@ -1582,6 +1708,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1582
1708
|
* 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.
|
|
1583
1709
|
*/
|
|
1584
1710
|
primaryResourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1711
|
+
/**
|
|
1712
|
+
* Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.
|
|
1713
|
+
*/
|
|
1714
|
+
primaryResourceLocation?: string | null;
|
|
1585
1715
|
/**
|
|
1586
1716
|
* The product this resource represents.
|
|
1587
1717
|
*/
|
|
@@ -1594,6 +1724,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1594
1724
|
* 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
|
|
1595
1725
|
*/
|
|
1596
1726
|
resourceName?: string | null;
|
|
1727
|
+
/**
|
|
1728
|
+
* Optional. Tags associated with this resources.
|
|
1729
|
+
*/
|
|
1730
|
+
tagsSet?: Schema$StorageDatabasecenterPartnerapiV1mainTags;
|
|
1597
1731
|
/**
|
|
1598
1732
|
* The time at which the resource was updated and recorded at partner service.
|
|
1599
1733
|
*/
|
|
@@ -1679,13 +1813,21 @@ export declare namespace alloydb_v1alpha {
|
|
|
1679
1813
|
*/
|
|
1680
1814
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
|
|
1681
1815
|
/**
|
|
1682
|
-
* The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
|
|
1816
|
+
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
|
|
1683
1817
|
*/
|
|
1684
1818
|
cpuCount?: number | null;
|
|
1685
1819
|
/**
|
|
1686
1820
|
* Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
|
|
1687
1821
|
*/
|
|
1688
1822
|
memorySizeInBytes?: string | null;
|
|
1823
|
+
/**
|
|
1824
|
+
* Optional. Number of shards (if applicable).
|
|
1825
|
+
*/
|
|
1826
|
+
shardCount?: number | null;
|
|
1827
|
+
/**
|
|
1828
|
+
* Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
|
|
1829
|
+
*/
|
|
1830
|
+
vcpuCount?: number | null;
|
|
1689
1831
|
}
|
|
1690
1832
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainObservabilityMetricData {
|
|
1691
1833
|
/**
|
|
@@ -1724,12 +1866,31 @@ export declare namespace alloydb_v1alpha {
|
|
|
1724
1866
|
message?: string | null;
|
|
1725
1867
|
}
|
|
1726
1868
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainRetentionSettings {
|
|
1869
|
+
/**
|
|
1870
|
+
* Duration based retention period i.e. 172800 seconds (2 days)
|
|
1871
|
+
*/
|
|
1872
|
+
durationBasedRetention?: string | null;
|
|
1727
1873
|
quantityBasedRetention?: number | null;
|
|
1728
1874
|
/**
|
|
1729
1875
|
* The unit that 'retained_backups' represents.
|
|
1730
1876
|
*/
|
|
1731
1877
|
retentionUnit?: string | null;
|
|
1732
1878
|
timeBasedRetention?: string | null;
|
|
1879
|
+
/**
|
|
1880
|
+
* Timestamp based retention period i.e. 2024-05-01T00:00:00Z
|
|
1881
|
+
*/
|
|
1882
|
+
timestampBasedRetentionTime?: string | null;
|
|
1883
|
+
}
|
|
1884
|
+
/**
|
|
1885
|
+
* 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.
|
|
1886
|
+
*/
|
|
1887
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainTags {
|
|
1888
|
+
/**
|
|
1889
|
+
* The Tag key/value mappings.
|
|
1890
|
+
*/
|
|
1891
|
+
tags?: {
|
|
1892
|
+
[key: string]: string;
|
|
1893
|
+
} | null;
|
|
1733
1894
|
}
|
|
1734
1895
|
/**
|
|
1735
1896
|
* 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.
|
|
@@ -1825,11 +1986,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
1825
1986
|
*/
|
|
1826
1987
|
export interface Schema$SwitchoverClusterRequest {
|
|
1827
1988
|
/**
|
|
1828
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1989
|
+
* 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).
|
|
1829
1990
|
*/
|
|
1830
1991
|
requestId?: string | null;
|
|
1831
1992
|
/**
|
|
1832
|
-
* Optional. If set, performs request validation
|
|
1993
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1833
1994
|
*/
|
|
1834
1995
|
validateOnly?: boolean | null;
|
|
1835
1996
|
}
|
|
@@ -1881,11 +2042,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
1881
2042
|
*/
|
|
1882
2043
|
etag?: string | null;
|
|
1883
2044
|
/**
|
|
1884
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2045
|
+
* 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).
|
|
1885
2046
|
*/
|
|
1886
2047
|
requestId?: string | null;
|
|
1887
2048
|
/**
|
|
1888
|
-
* Optional. If set, performs request validation
|
|
2049
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1889
2050
|
*/
|
|
1890
2051
|
validateOnly?: boolean | null;
|
|
1891
2052
|
/**
|
|
@@ -1918,6 +2079,10 @@ export declare namespace alloydb_v1alpha {
|
|
|
1918
2079
|
* Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
|
|
1919
2080
|
*/
|
|
1920
2081
|
databaseRoles?: string[] | null;
|
|
2082
|
+
/**
|
|
2083
|
+
* Input only. If the user already exists and it has additional roles, keep them granted.
|
|
2084
|
+
*/
|
|
2085
|
+
keepExtraRoles?: boolean | null;
|
|
1921
2086
|
/**
|
|
1922
2087
|
* Output only. Name of the resource in the form of projects/{project\}/locations/{location\}/cluster/{cluster\}/users/{user\}.
|
|
1923
2088
|
*/
|
|
@@ -2106,7 +2271,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2106
2271
|
*/
|
|
2107
2272
|
parent?: string;
|
|
2108
2273
|
/**
|
|
2109
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2274
|
+
* 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).
|
|
2110
2275
|
*/
|
|
2111
2276
|
requestId?: string;
|
|
2112
2277
|
/**
|
|
@@ -2128,7 +2293,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2128
2293
|
*/
|
|
2129
2294
|
name?: string;
|
|
2130
2295
|
/**
|
|
2131
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2296
|
+
* 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).
|
|
2132
2297
|
*/
|
|
2133
2298
|
requestId?: string;
|
|
2134
2299
|
/**
|
|
@@ -2174,7 +2339,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2174
2339
|
*/
|
|
2175
2340
|
name?: string;
|
|
2176
2341
|
/**
|
|
2177
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2342
|
+
* 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).
|
|
2178
2343
|
*/
|
|
2179
2344
|
requestId?: string;
|
|
2180
2345
|
/**
|
|
@@ -2237,6 +2402,20 @@ export declare namespace alloydb_v1alpha {
|
|
|
2237
2402
|
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2238
2403
|
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2239
2404
|
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2405
|
+
/**
|
|
2406
|
+
* Exports data from the cluster. Imperative only.
|
|
2407
|
+
*
|
|
2408
|
+
* @param params - Parameters for request
|
|
2409
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2410
|
+
* @param callback - Optional callback that handles the response.
|
|
2411
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2412
|
+
*/
|
|
2413
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2414
|
+
export(params?: Params$Resource$Projects$Locations$Clusters$Export, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2415
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2416
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2417
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2418
|
+
export(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2240
2419
|
/**
|
|
2241
2420
|
* Gets details of a single Cluster.
|
|
2242
2421
|
*
|
|
@@ -2308,7 +2487,21 @@ export declare namespace alloydb_v1alpha {
|
|
|
2308
2487
|
restore(params: Params$Resource$Projects$Locations$Clusters$Restore, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2309
2488
|
restore(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2310
2489
|
/**
|
|
2311
|
-
*
|
|
2490
|
+
* Restores an AlloyDB cluster from a CloudSQL resource.
|
|
2491
|
+
*
|
|
2492
|
+
* @param params - Parameters for request
|
|
2493
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2494
|
+
* @param callback - Optional callback that handles the response.
|
|
2495
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2496
|
+
*/
|
|
2497
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2498
|
+
restoreFromCloudSQL(params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2499
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2500
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2501
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2502
|
+
restoreFromCloudSQL(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2503
|
+
/**
|
|
2504
|
+
* 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.
|
|
2312
2505
|
*
|
|
2313
2506
|
* @param params - Parameters for request
|
|
2314
2507
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -2346,11 +2539,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
2346
2539
|
*/
|
|
2347
2540
|
parent?: string;
|
|
2348
2541
|
/**
|
|
2349
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2542
|
+
* 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).
|
|
2350
2543
|
*/
|
|
2351
2544
|
requestId?: string;
|
|
2352
2545
|
/**
|
|
2353
|
-
* Optional. If set, performs request validation
|
|
2546
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2354
2547
|
*/
|
|
2355
2548
|
validateOnly?: boolean;
|
|
2356
2549
|
/**
|
|
@@ -2368,11 +2561,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
2368
2561
|
*/
|
|
2369
2562
|
parent?: string;
|
|
2370
2563
|
/**
|
|
2371
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2564
|
+
* 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).
|
|
2372
2565
|
*/
|
|
2373
2566
|
requestId?: string;
|
|
2374
2567
|
/**
|
|
2375
|
-
* Optional. If set, performs request validation
|
|
2568
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2376
2569
|
*/
|
|
2377
2570
|
validateOnly?: boolean;
|
|
2378
2571
|
/**
|
|
@@ -2394,14 +2587,24 @@ export declare namespace alloydb_v1alpha {
|
|
|
2394
2587
|
*/
|
|
2395
2588
|
name?: string;
|
|
2396
2589
|
/**
|
|
2397
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2590
|
+
* 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).
|
|
2398
2591
|
*/
|
|
2399
2592
|
requestId?: string;
|
|
2400
2593
|
/**
|
|
2401
|
-
* Optional. If set, performs request validation
|
|
2594
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2402
2595
|
*/
|
|
2403
2596
|
validateOnly?: boolean;
|
|
2404
2597
|
}
|
|
2598
|
+
export interface Params$Resource$Projects$Locations$Clusters$Export extends StandardParameters {
|
|
2599
|
+
/**
|
|
2600
|
+
* Required. The resource name of the cluster.
|
|
2601
|
+
*/
|
|
2602
|
+
name?: string;
|
|
2603
|
+
/**
|
|
2604
|
+
* Request body metadata
|
|
2605
|
+
*/
|
|
2606
|
+
requestBody?: Schema$ExportClusterRequest;
|
|
2607
|
+
}
|
|
2405
2608
|
export interface Params$Resource$Projects$Locations$Clusters$Get extends StandardParameters {
|
|
2406
2609
|
/**
|
|
2407
2610
|
* Required. The name of the resource. For the required format, see the comment on the Cluster.name field.
|
|
@@ -2444,7 +2647,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2444
2647
|
*/
|
|
2445
2648
|
name?: string;
|
|
2446
2649
|
/**
|
|
2447
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2650
|
+
* 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).
|
|
2448
2651
|
*/
|
|
2449
2652
|
requestId?: string;
|
|
2450
2653
|
/**
|
|
@@ -2452,7 +2655,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2452
2655
|
*/
|
|
2453
2656
|
updateMask?: string;
|
|
2454
2657
|
/**
|
|
2455
|
-
* Optional. If set, performs request validation
|
|
2658
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2456
2659
|
*/
|
|
2457
2660
|
validateOnly?: boolean;
|
|
2458
2661
|
/**
|
|
@@ -2480,6 +2683,16 @@ export declare namespace alloydb_v1alpha {
|
|
|
2480
2683
|
*/
|
|
2481
2684
|
requestBody?: Schema$RestoreClusterRequest;
|
|
2482
2685
|
}
|
|
2686
|
+
export interface Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql extends StandardParameters {
|
|
2687
|
+
/**
|
|
2688
|
+
* Required. The location of the new cluster. For the required format, see the comment on Cluster.name field.
|
|
2689
|
+
*/
|
|
2690
|
+
parent?: string;
|
|
2691
|
+
/**
|
|
2692
|
+
* Request body metadata
|
|
2693
|
+
*/
|
|
2694
|
+
requestBody?: Schema$RestoreFromCloudSQLRequest;
|
|
2695
|
+
}
|
|
2483
2696
|
export interface Params$Resource$Projects$Locations$Clusters$Switchover extends StandardParameters {
|
|
2484
2697
|
/**
|
|
2485
2698
|
* Required. The name of the resource. For the required format, see the comment on the Cluster.name field
|
|
@@ -2654,11 +2867,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
2654
2867
|
*/
|
|
2655
2868
|
parent?: string;
|
|
2656
2869
|
/**
|
|
2657
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2870
|
+
* 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).
|
|
2658
2871
|
*/
|
|
2659
2872
|
requestId?: string;
|
|
2660
2873
|
/**
|
|
2661
|
-
* Optional. If set, performs request validation
|
|
2874
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2662
2875
|
*/
|
|
2663
2876
|
validateOnly?: boolean;
|
|
2664
2877
|
/**
|
|
@@ -2676,11 +2889,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
2676
2889
|
*/
|
|
2677
2890
|
parent?: string;
|
|
2678
2891
|
/**
|
|
2679
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2892
|
+
* 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).
|
|
2680
2893
|
*/
|
|
2681
2894
|
requestId?: string;
|
|
2682
2895
|
/**
|
|
2683
|
-
* Optional. If set, performs request validation
|
|
2896
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2684
2897
|
*/
|
|
2685
2898
|
validateOnly?: boolean;
|
|
2686
2899
|
/**
|
|
@@ -2698,11 +2911,11 @@ export declare namespace alloydb_v1alpha {
|
|
|
2698
2911
|
*/
|
|
2699
2912
|
name?: string;
|
|
2700
2913
|
/**
|
|
2701
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2914
|
+
* 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).
|
|
2702
2915
|
*/
|
|
2703
2916
|
requestId?: string;
|
|
2704
2917
|
/**
|
|
2705
|
-
* Optional. If set, performs request validation
|
|
2918
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2706
2919
|
*/
|
|
2707
2920
|
validateOnly?: boolean;
|
|
2708
2921
|
}
|
|
@@ -2732,7 +2945,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2732
2945
|
*/
|
|
2733
2946
|
parent?: string;
|
|
2734
2947
|
/**
|
|
2735
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2948
|
+
* 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).
|
|
2736
2949
|
*/
|
|
2737
2950
|
requestId?: string;
|
|
2738
2951
|
}
|
|
@@ -2778,7 +2991,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2778
2991
|
*/
|
|
2779
2992
|
name?: string;
|
|
2780
2993
|
/**
|
|
2781
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2994
|
+
* 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).
|
|
2782
2995
|
*/
|
|
2783
2996
|
requestId?: string;
|
|
2784
2997
|
/**
|
|
@@ -2786,7 +2999,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2786
2999
|
*/
|
|
2787
3000
|
updateMask?: string;
|
|
2788
3001
|
/**
|
|
2789
|
-
* Optional. If set, performs request validation
|
|
3002
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2790
3003
|
*/
|
|
2791
3004
|
validateOnly?: boolean;
|
|
2792
3005
|
/**
|
|
@@ -2884,7 +3097,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2884
3097
|
*/
|
|
2885
3098
|
parent?: string;
|
|
2886
3099
|
/**
|
|
2887
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3100
|
+
* 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).
|
|
2888
3101
|
*/
|
|
2889
3102
|
requestId?: string;
|
|
2890
3103
|
/**
|
|
@@ -2906,7 +3119,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2906
3119
|
*/
|
|
2907
3120
|
name?: string;
|
|
2908
3121
|
/**
|
|
2909
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3122
|
+
* 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).
|
|
2910
3123
|
*/
|
|
2911
3124
|
requestId?: string;
|
|
2912
3125
|
/**
|
|
@@ -2952,7 +3165,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2952
3165
|
*/
|
|
2953
3166
|
name?: string;
|
|
2954
3167
|
/**
|
|
2955
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3168
|
+
* 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).
|
|
2956
3169
|
*/
|
|
2957
3170
|
requestId?: string;
|
|
2958
3171
|
/**
|
|
@@ -2972,7 +3185,7 @@ export declare namespace alloydb_v1alpha {
|
|
|
2972
3185
|
context: APIRequestContext;
|
|
2973
3186
|
constructor(context: APIRequestContext);
|
|
2974
3187
|
/**
|
|
2975
|
-
* 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
|
|
3188
|
+
* 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`.
|
|
2976
3189
|
*
|
|
2977
3190
|
* @param params - Parameters for request
|
|
2978
3191
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|