@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/v1beta.d.ts
CHANGED
|
@@ -203,6 +203,12 @@ export declare namespace alloydb_v1beta {
|
|
|
203
203
|
* Output only. The current state of the backup.
|
|
204
204
|
*/
|
|
205
205
|
state?: string | null;
|
|
206
|
+
/**
|
|
207
|
+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
|
|
208
|
+
*/
|
|
209
|
+
tags?: {
|
|
210
|
+
[key: string]: string;
|
|
211
|
+
} | null;
|
|
206
212
|
/**
|
|
207
213
|
* The backup type, which suggests the trigger for the backup.
|
|
208
214
|
*/
|
|
@@ -238,7 +244,7 @@ export declare namespace alloydb_v1beta {
|
|
|
238
244
|
*/
|
|
239
245
|
requireConnectors?: boolean | null;
|
|
240
246
|
/**
|
|
241
|
-
* Optional. SSL
|
|
247
|
+
* Optional. SSL configuration option for this instance.
|
|
242
248
|
*/
|
|
243
249
|
sslConfig?: Schema$SslConfig;
|
|
244
250
|
}
|
|
@@ -401,6 +407,12 @@ export declare namespace alloydb_v1beta {
|
|
|
401
407
|
* Optional. Subscription type of the cluster.
|
|
402
408
|
*/
|
|
403
409
|
subscriptionType?: string | null;
|
|
410
|
+
/**
|
|
411
|
+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
|
|
412
|
+
*/
|
|
413
|
+
tags?: {
|
|
414
|
+
[key: string]: string;
|
|
415
|
+
} | null;
|
|
404
416
|
/**
|
|
405
417
|
* Output only. Metadata for free trial clusters
|
|
406
418
|
*/
|
|
@@ -523,6 +535,27 @@ export declare namespace alloydb_v1beta {
|
|
|
523
535
|
*/
|
|
524
536
|
pointInTime?: string | null;
|
|
525
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* Options for exporting data in CSV format.
|
|
540
|
+
*/
|
|
541
|
+
export interface Schema$CsvExportOptions {
|
|
542
|
+
/**
|
|
543
|
+
* 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.
|
|
544
|
+
*/
|
|
545
|
+
escapeCharacter?: string | null;
|
|
546
|
+
/**
|
|
547
|
+
* 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.
|
|
548
|
+
*/
|
|
549
|
+
fieldDelimiter?: string | null;
|
|
550
|
+
/**
|
|
551
|
+
* 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.
|
|
552
|
+
*/
|
|
553
|
+
quoteCharacter?: string | null;
|
|
554
|
+
/**
|
|
555
|
+
* Required. The SELECT query used to extract the data.
|
|
556
|
+
*/
|
|
557
|
+
selectQuery?: string | null;
|
|
558
|
+
}
|
|
526
559
|
/**
|
|
527
560
|
* 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); \}
|
|
528
561
|
*/
|
|
@@ -550,19 +583,49 @@ export declare namespace alloydb_v1beta {
|
|
|
550
583
|
*/
|
|
551
584
|
kmsKeyVersions?: string[] | null;
|
|
552
585
|
}
|
|
586
|
+
/**
|
|
587
|
+
* Export cluster request.
|
|
588
|
+
*/
|
|
589
|
+
export interface Schema$ExportClusterRequest {
|
|
590
|
+
/**
|
|
591
|
+
* Options for exporting data in CSV format. Required field to be set for CSV file type.
|
|
592
|
+
*/
|
|
593
|
+
csvExportOptions?: Schema$CsvExportOptions;
|
|
594
|
+
/**
|
|
595
|
+
* 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.
|
|
596
|
+
*/
|
|
597
|
+
database?: string | null;
|
|
598
|
+
/**
|
|
599
|
+
* Required. Option to export data to cloud storage.
|
|
600
|
+
*/
|
|
601
|
+
gcsDestination?: Schema$GcsDestination;
|
|
602
|
+
/**
|
|
603
|
+
* Options for exporting data in SQL format. Required field to be set for SQL file type.
|
|
604
|
+
*/
|
|
605
|
+
sqlExportOptions?: Schema$SqlExportOptions;
|
|
606
|
+
}
|
|
553
607
|
/**
|
|
554
608
|
* Message for triggering failover on an Instance
|
|
555
609
|
*/
|
|
556
610
|
export interface Schema$FailoverInstanceRequest {
|
|
557
611
|
/**
|
|
558
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
612
|
+
* 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).
|
|
559
613
|
*/
|
|
560
614
|
requestId?: string | null;
|
|
561
615
|
/**
|
|
562
|
-
* Optional. If set, performs request validation
|
|
616
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
563
617
|
*/
|
|
564
618
|
validateOnly?: boolean | null;
|
|
565
619
|
}
|
|
620
|
+
/**
|
|
621
|
+
* Destination for Export. Export will be done to cloud storage.
|
|
622
|
+
*/
|
|
623
|
+
export interface Schema$GcsDestination {
|
|
624
|
+
/**
|
|
625
|
+
* 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`.
|
|
626
|
+
*/
|
|
627
|
+
uri?: string | null;
|
|
628
|
+
}
|
|
566
629
|
/**
|
|
567
630
|
* Cluster level configuration parameters related to the Gemini in Databases add-on.
|
|
568
631
|
*/
|
|
@@ -628,19 +691,19 @@ export declare namespace alloydb_v1beta {
|
|
|
628
691
|
*/
|
|
629
692
|
export interface Schema$GoogleTypeTimeOfDay {
|
|
630
693
|
/**
|
|
631
|
-
* Hours of day in 24 hour format.
|
|
694
|
+
* 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.
|
|
632
695
|
*/
|
|
633
696
|
hours?: number | null;
|
|
634
697
|
/**
|
|
635
|
-
* Minutes of hour
|
|
698
|
+
* Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
|
|
636
699
|
*/
|
|
637
700
|
minutes?: number | null;
|
|
638
701
|
/**
|
|
639
|
-
* Fractions of seconds in nanoseconds. Must be
|
|
702
|
+
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
|
|
640
703
|
*/
|
|
641
704
|
nanos?: number | null;
|
|
642
705
|
/**
|
|
643
|
-
* Seconds of
|
|
706
|
+
* 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.
|
|
644
707
|
*/
|
|
645
708
|
seconds?: number | null;
|
|
646
709
|
}
|
|
@@ -653,11 +716,11 @@ export declare namespace alloydb_v1beta {
|
|
|
653
716
|
*/
|
|
654
717
|
faultType?: string | null;
|
|
655
718
|
/**
|
|
656
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
719
|
+
* 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).
|
|
657
720
|
*/
|
|
658
721
|
requestId?: string | null;
|
|
659
722
|
/**
|
|
660
|
-
* Optional. If set, performs request validation
|
|
723
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
661
724
|
*/
|
|
662
725
|
validateOnly?: boolean | null;
|
|
663
726
|
}
|
|
@@ -684,7 +747,7 @@ export declare namespace alloydb_v1beta {
|
|
|
684
747
|
*/
|
|
685
748
|
createTime?: string | null;
|
|
686
749
|
/**
|
|
687
|
-
* Database flags. Set at instance level.
|
|
750
|
+
* 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.
|
|
688
751
|
*/
|
|
689
752
|
databaseFlags?: {
|
|
690
753
|
[key: string]: string;
|
|
@@ -732,7 +795,7 @@ export declare namespace alloydb_v1beta {
|
|
|
732
795
|
*/
|
|
733
796
|
name?: string | null;
|
|
734
797
|
/**
|
|
735
|
-
* Optional. Instance
|
|
798
|
+
* Optional. Instance-level network configuration.
|
|
736
799
|
*/
|
|
737
800
|
networkConfig?: Schema$InstanceNetworkConfig;
|
|
738
801
|
/**
|
|
@@ -793,7 +856,7 @@ export declare namespace alloydb_v1beta {
|
|
|
793
856
|
writableNode?: Schema$Node;
|
|
794
857
|
}
|
|
795
858
|
/**
|
|
796
|
-
* Metadata related to instance
|
|
859
|
+
* Metadata related to instance-level network configuration.
|
|
797
860
|
*/
|
|
798
861
|
export interface Schema$InstanceNetworkConfig {
|
|
799
862
|
/**
|
|
@@ -1008,19 +1071,19 @@ export declare namespace alloydb_v1beta {
|
|
|
1008
1071
|
*/
|
|
1009
1072
|
export interface Schema$Node {
|
|
1010
1073
|
/**
|
|
1011
|
-
* The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
|
|
1074
|
+
* Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
|
|
1012
1075
|
*/
|
|
1013
1076
|
id?: string | null;
|
|
1014
1077
|
/**
|
|
1015
|
-
* The private IP address of the VM e.g. "10.57.0.34".
|
|
1078
|
+
* Output only. The private IP address of the VM e.g. "10.57.0.34".
|
|
1016
1079
|
*/
|
|
1017
1080
|
ip?: string | null;
|
|
1018
1081
|
/**
|
|
1019
|
-
* 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.
|
|
1082
|
+
* 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.
|
|
1020
1083
|
*/
|
|
1021
1084
|
state?: string | null;
|
|
1022
1085
|
/**
|
|
1023
|
-
* The Compute Engine zone of the VM e.g. "us-central1-b".
|
|
1086
|
+
* Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
|
|
1024
1087
|
*/
|
|
1025
1088
|
zoneId?: string | null;
|
|
1026
1089
|
}
|
|
@@ -1111,7 +1174,7 @@ export declare namespace alloydb_v1beta {
|
|
|
1111
1174
|
*/
|
|
1112
1175
|
endTime?: string | null;
|
|
1113
1176
|
/**
|
|
1114
|
-
* 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`.
|
|
1177
|
+
* 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`.
|
|
1115
1178
|
*/
|
|
1116
1179
|
requestedCancellation?: boolean | null;
|
|
1117
1180
|
/**
|
|
@@ -1145,11 +1208,11 @@ export declare namespace alloydb_v1beta {
|
|
|
1145
1208
|
*/
|
|
1146
1209
|
etag?: string | null;
|
|
1147
1210
|
/**
|
|
1148
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1211
|
+
* 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).
|
|
1149
1212
|
*/
|
|
1150
1213
|
requestId?: string | null;
|
|
1151
1214
|
/**
|
|
1152
|
-
* Optional. If set, performs request validation
|
|
1215
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1153
1216
|
*/
|
|
1154
1217
|
validateOnly?: boolean | null;
|
|
1155
1218
|
}
|
|
@@ -1233,15 +1296,15 @@ export declare namespace alloydb_v1beta {
|
|
|
1233
1296
|
}
|
|
1234
1297
|
export interface Schema$RestartInstanceRequest {
|
|
1235
1298
|
/**
|
|
1236
|
-
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon.
|
|
1299
|
+
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
|
|
1237
1300
|
*/
|
|
1238
1301
|
nodeIds?: string[] | null;
|
|
1239
1302
|
/**
|
|
1240
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1303
|
+
* 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).
|
|
1241
1304
|
*/
|
|
1242
1305
|
requestId?: string | null;
|
|
1243
1306
|
/**
|
|
1244
|
-
* Optional. If set, performs request validation
|
|
1307
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1245
1308
|
*/
|
|
1246
1309
|
validateOnly?: boolean | null;
|
|
1247
1310
|
}
|
|
@@ -1266,14 +1329,31 @@ export declare namespace alloydb_v1beta {
|
|
|
1266
1329
|
*/
|
|
1267
1330
|
continuousBackupSource?: Schema$ContinuousBackupSource;
|
|
1268
1331
|
/**
|
|
1269
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1332
|
+
* 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).
|
|
1270
1333
|
*/
|
|
1271
1334
|
requestId?: string | null;
|
|
1272
1335
|
/**
|
|
1273
|
-
* Optional. If set, performs request validation
|
|
1336
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1274
1337
|
*/
|
|
1275
1338
|
validateOnly?: boolean | null;
|
|
1276
1339
|
}
|
|
1340
|
+
/**
|
|
1341
|
+
* Message for registering Restoring from CloudSQL resource.
|
|
1342
|
+
*/
|
|
1343
|
+
export interface Schema$RestoreFromCloudSQLRequest {
|
|
1344
|
+
/**
|
|
1345
|
+
* Cluster created from CloudSQL backup run.
|
|
1346
|
+
*/
|
|
1347
|
+
cloudsqlBackupRunSource?: Schema$CloudSQLBackupRunSource;
|
|
1348
|
+
/**
|
|
1349
|
+
* Required. The resource being created
|
|
1350
|
+
*/
|
|
1351
|
+
cluster?: Schema$Cluster;
|
|
1352
|
+
/**
|
|
1353
|
+
* Required. ID of the requesting object.
|
|
1354
|
+
*/
|
|
1355
|
+
clusterId?: string | null;
|
|
1356
|
+
}
|
|
1277
1357
|
/**
|
|
1278
1358
|
* Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.
|
|
1279
1359
|
*/
|
|
@@ -1283,6 +1363,27 @@ export declare namespace alloydb_v1beta {
|
|
|
1283
1363
|
*/
|
|
1284
1364
|
primaryClusterName?: string | null;
|
|
1285
1365
|
}
|
|
1366
|
+
/**
|
|
1367
|
+
* Options for exporting data in SQL format.
|
|
1368
|
+
*/
|
|
1369
|
+
export interface Schema$SqlExportOptions {
|
|
1370
|
+
/**
|
|
1371
|
+
* Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.
|
|
1372
|
+
*/
|
|
1373
|
+
cleanTargetObjects?: boolean | null;
|
|
1374
|
+
/**
|
|
1375
|
+
* Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode.
|
|
1376
|
+
*/
|
|
1377
|
+
ifExistTargetObjects?: boolean | null;
|
|
1378
|
+
/**
|
|
1379
|
+
* Optional. If true, only export the schema.
|
|
1380
|
+
*/
|
|
1381
|
+
schemaOnly?: boolean | null;
|
|
1382
|
+
/**
|
|
1383
|
+
* Optional. Tables to export from.
|
|
1384
|
+
*/
|
|
1385
|
+
tables?: string[] | null;
|
|
1386
|
+
}
|
|
1286
1387
|
/**
|
|
1287
1388
|
* SSL configuration.
|
|
1288
1389
|
*/
|
|
@@ -1336,6 +1437,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1336
1437
|
* Configuration for availability of database instance
|
|
1337
1438
|
*/
|
|
1338
1439
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration {
|
|
1440
|
+
/**
|
|
1441
|
+
* 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.
|
|
1442
|
+
*/
|
|
1443
|
+
automaticFailoverRoutingConfigured?: boolean | null;
|
|
1339
1444
|
/**
|
|
1340
1445
|
* 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).
|
|
1341
1446
|
*/
|
|
@@ -1510,7 +1615,7 @@ export declare namespace alloydb_v1beta {
|
|
|
1510
1615
|
uniqueId?: string | null;
|
|
1511
1616
|
}
|
|
1512
1617
|
/**
|
|
1513
|
-
* Common model for database resource instance metadata.
|
|
1618
|
+
* Common model for database resource instance metadata. Next ID: 23
|
|
1514
1619
|
*/
|
|
1515
1620
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
|
|
1516
1621
|
/**
|
|
@@ -1537,6 +1642,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1537
1642
|
* Any custom metadata associated with the resource
|
|
1538
1643
|
*/
|
|
1539
1644
|
customMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainCustomMetadataData;
|
|
1645
|
+
/**
|
|
1646
|
+
* 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.
|
|
1647
|
+
*/
|
|
1648
|
+
edition?: string | null;
|
|
1540
1649
|
/**
|
|
1541
1650
|
* Entitlements associated with the resource
|
|
1542
1651
|
*/
|
|
@@ -1565,6 +1674,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1565
1674
|
* 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.
|
|
1566
1675
|
*/
|
|
1567
1676
|
primaryResourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1677
|
+
/**
|
|
1678
|
+
* Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.
|
|
1679
|
+
*/
|
|
1680
|
+
primaryResourceLocation?: string | null;
|
|
1568
1681
|
/**
|
|
1569
1682
|
* The product this resource represents.
|
|
1570
1683
|
*/
|
|
@@ -1577,6 +1690,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1577
1690
|
* 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
|
|
1578
1691
|
*/
|
|
1579
1692
|
resourceName?: string | null;
|
|
1693
|
+
/**
|
|
1694
|
+
* Optional. Tags associated with this resources.
|
|
1695
|
+
*/
|
|
1696
|
+
tagsSet?: Schema$StorageDatabasecenterPartnerapiV1mainTags;
|
|
1580
1697
|
/**
|
|
1581
1698
|
* The time at which the resource was updated and recorded at partner service.
|
|
1582
1699
|
*/
|
|
@@ -1662,13 +1779,21 @@ export declare namespace alloydb_v1beta {
|
|
|
1662
1779
|
*/
|
|
1663
1780
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
|
|
1664
1781
|
/**
|
|
1665
|
-
* The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
|
|
1782
|
+
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
|
|
1666
1783
|
*/
|
|
1667
1784
|
cpuCount?: number | null;
|
|
1668
1785
|
/**
|
|
1669
1786
|
* Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
|
|
1670
1787
|
*/
|
|
1671
1788
|
memorySizeInBytes?: string | null;
|
|
1789
|
+
/**
|
|
1790
|
+
* Optional. Number of shards (if applicable).
|
|
1791
|
+
*/
|
|
1792
|
+
shardCount?: number | null;
|
|
1793
|
+
/**
|
|
1794
|
+
* Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
|
|
1795
|
+
*/
|
|
1796
|
+
vcpuCount?: number | null;
|
|
1672
1797
|
}
|
|
1673
1798
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainObservabilityMetricData {
|
|
1674
1799
|
/**
|
|
@@ -1707,12 +1832,31 @@ export declare namespace alloydb_v1beta {
|
|
|
1707
1832
|
message?: string | null;
|
|
1708
1833
|
}
|
|
1709
1834
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainRetentionSettings {
|
|
1835
|
+
/**
|
|
1836
|
+
* Duration based retention period i.e. 172800 seconds (2 days)
|
|
1837
|
+
*/
|
|
1838
|
+
durationBasedRetention?: string | null;
|
|
1710
1839
|
quantityBasedRetention?: number | null;
|
|
1711
1840
|
/**
|
|
1712
1841
|
* The unit that 'retained_backups' represents.
|
|
1713
1842
|
*/
|
|
1714
1843
|
retentionUnit?: string | null;
|
|
1715
1844
|
timeBasedRetention?: string | null;
|
|
1845
|
+
/**
|
|
1846
|
+
* Timestamp based retention period i.e. 2024-05-01T00:00:00Z
|
|
1847
|
+
*/
|
|
1848
|
+
timestampBasedRetentionTime?: string | null;
|
|
1849
|
+
}
|
|
1850
|
+
/**
|
|
1851
|
+
* 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.
|
|
1852
|
+
*/
|
|
1853
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainTags {
|
|
1854
|
+
/**
|
|
1855
|
+
* The Tag key/value mappings.
|
|
1856
|
+
*/
|
|
1857
|
+
tags?: {
|
|
1858
|
+
[key: string]: string;
|
|
1859
|
+
} | null;
|
|
1716
1860
|
}
|
|
1717
1861
|
/**
|
|
1718
1862
|
* 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.
|
|
@@ -1808,11 +1952,11 @@ export declare namespace alloydb_v1beta {
|
|
|
1808
1952
|
*/
|
|
1809
1953
|
export interface Schema$SwitchoverClusterRequest {
|
|
1810
1954
|
/**
|
|
1811
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1955
|
+
* 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).
|
|
1812
1956
|
*/
|
|
1813
1957
|
requestId?: string | null;
|
|
1814
1958
|
/**
|
|
1815
|
-
* Optional. If set, performs request validation
|
|
1959
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
1816
1960
|
*/
|
|
1817
1961
|
validateOnly?: boolean | null;
|
|
1818
1962
|
}
|
|
@@ -1855,6 +1999,27 @@ export declare namespace alloydb_v1beta {
|
|
|
1855
1999
|
*/
|
|
1856
2000
|
mode?: string | null;
|
|
1857
2001
|
}
|
|
2002
|
+
/**
|
|
2003
|
+
* Upgrades a cluster.
|
|
2004
|
+
*/
|
|
2005
|
+
export interface Schema$UpgradeClusterRequest {
|
|
2006
|
+
/**
|
|
2007
|
+
* Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, upgrade will be blocked and an ABORTED error will be returned.
|
|
2008
|
+
*/
|
|
2009
|
+
etag?: string | null;
|
|
2010
|
+
/**
|
|
2011
|
+
* 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).
|
|
2012
|
+
*/
|
|
2013
|
+
requestId?: string | null;
|
|
2014
|
+
/**
|
|
2015
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2016
|
+
*/
|
|
2017
|
+
validateOnly?: boolean | null;
|
|
2018
|
+
/**
|
|
2019
|
+
* Required. The version the cluster is going to be upgraded to.
|
|
2020
|
+
*/
|
|
2021
|
+
version?: string | null;
|
|
2022
|
+
}
|
|
1858
2023
|
/**
|
|
1859
2024
|
* UpgradeClusterResponse contains the response for upgrade cluster operation.
|
|
1860
2025
|
*/
|
|
@@ -1880,6 +2045,10 @@ export declare namespace alloydb_v1beta {
|
|
|
1880
2045
|
* Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
|
|
1881
2046
|
*/
|
|
1882
2047
|
databaseRoles?: string[] | null;
|
|
2048
|
+
/**
|
|
2049
|
+
* Input only. If the user already exists and it has additional roles, keep them granted.
|
|
2050
|
+
*/
|
|
2051
|
+
keepExtraRoles?: boolean | null;
|
|
1883
2052
|
/**
|
|
1884
2053
|
* Output only. Name of the resource in the form of projects/{project\}/locations/{location\}/cluster/{cluster\}/users/{user\}.
|
|
1885
2054
|
*/
|
|
@@ -2068,7 +2237,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2068
2237
|
*/
|
|
2069
2238
|
parent?: string;
|
|
2070
2239
|
/**
|
|
2071
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2240
|
+
* 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).
|
|
2072
2241
|
*/
|
|
2073
2242
|
requestId?: string;
|
|
2074
2243
|
/**
|
|
@@ -2090,7 +2259,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2090
2259
|
*/
|
|
2091
2260
|
name?: string;
|
|
2092
2261
|
/**
|
|
2093
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2262
|
+
* 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).
|
|
2094
2263
|
*/
|
|
2095
2264
|
requestId?: string;
|
|
2096
2265
|
/**
|
|
@@ -2136,7 +2305,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2136
2305
|
*/
|
|
2137
2306
|
name?: string;
|
|
2138
2307
|
/**
|
|
2139
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2308
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
2140
2309
|
*/
|
|
2141
2310
|
requestId?: string;
|
|
2142
2311
|
/**
|
|
@@ -2199,6 +2368,20 @@ export declare namespace alloydb_v1beta {
|
|
|
2199
2368
|
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2200
2369
|
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2201
2370
|
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2371
|
+
/**
|
|
2372
|
+
* Exports data from the cluster. Imperative only.
|
|
2373
|
+
*
|
|
2374
|
+
* @param params - Parameters for request
|
|
2375
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2376
|
+
* @param callback - Optional callback that handles the response.
|
|
2377
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2378
|
+
*/
|
|
2379
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2380
|
+
export(params?: Params$Resource$Projects$Locations$Clusters$Export, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2381
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2382
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2383
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2384
|
+
export(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2202
2385
|
/**
|
|
2203
2386
|
* Gets details of a single Cluster.
|
|
2204
2387
|
*
|
|
@@ -2270,7 +2453,21 @@ export declare namespace alloydb_v1beta {
|
|
|
2270
2453
|
restore(params: Params$Resource$Projects$Locations$Clusters$Restore, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2271
2454
|
restore(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2272
2455
|
/**
|
|
2273
|
-
*
|
|
2456
|
+
* Restores an AlloyDB cluster from a CloudSQL resource.
|
|
2457
|
+
*
|
|
2458
|
+
* @param params - Parameters for request
|
|
2459
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2460
|
+
* @param callback - Optional callback that handles the response.
|
|
2461
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2462
|
+
*/
|
|
2463
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2464
|
+
restoreFromCloudSQL(params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2465
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2466
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2467
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2468
|
+
restoreFromCloudSQL(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2469
|
+
/**
|
|
2470
|
+
* 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.
|
|
2274
2471
|
*
|
|
2275
2472
|
* @param params - Parameters for request
|
|
2276
2473
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -2283,6 +2480,20 @@ export declare namespace alloydb_v1beta {
|
|
|
2283
2480
|
switchover(params: Params$Resource$Projects$Locations$Clusters$Switchover, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2284
2481
|
switchover(params: Params$Resource$Projects$Locations$Clusters$Switchover, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2285
2482
|
switchover(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2483
|
+
/**
|
|
2484
|
+
* Upgrades a single Cluster. Imperative only.
|
|
2485
|
+
*
|
|
2486
|
+
* @param params - Parameters for request
|
|
2487
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2488
|
+
* @param callback - Optional callback that handles the response.
|
|
2489
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2490
|
+
*/
|
|
2491
|
+
upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2492
|
+
upgrade(params?: Params$Resource$Projects$Locations$Clusters$Upgrade, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2493
|
+
upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2494
|
+
upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2495
|
+
upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2496
|
+
upgrade(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2286
2497
|
}
|
|
2287
2498
|
export interface Params$Resource$Projects$Locations$Clusters$Create extends StandardParameters {
|
|
2288
2499
|
/**
|
|
@@ -2294,11 +2505,11 @@ export declare namespace alloydb_v1beta {
|
|
|
2294
2505
|
*/
|
|
2295
2506
|
parent?: string;
|
|
2296
2507
|
/**
|
|
2297
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2508
|
+
* 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).
|
|
2298
2509
|
*/
|
|
2299
2510
|
requestId?: string;
|
|
2300
2511
|
/**
|
|
2301
|
-
* Optional. If set, performs request validation
|
|
2512
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2302
2513
|
*/
|
|
2303
2514
|
validateOnly?: boolean;
|
|
2304
2515
|
/**
|
|
@@ -2316,11 +2527,11 @@ export declare namespace alloydb_v1beta {
|
|
|
2316
2527
|
*/
|
|
2317
2528
|
parent?: string;
|
|
2318
2529
|
/**
|
|
2319
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2530
|
+
* 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).
|
|
2320
2531
|
*/
|
|
2321
2532
|
requestId?: string;
|
|
2322
2533
|
/**
|
|
2323
|
-
* Optional. If set, performs request validation
|
|
2534
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2324
2535
|
*/
|
|
2325
2536
|
validateOnly?: boolean;
|
|
2326
2537
|
/**
|
|
@@ -2342,14 +2553,24 @@ export declare namespace alloydb_v1beta {
|
|
|
2342
2553
|
*/
|
|
2343
2554
|
name?: string;
|
|
2344
2555
|
/**
|
|
2345
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2556
|
+
* 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).
|
|
2346
2557
|
*/
|
|
2347
2558
|
requestId?: string;
|
|
2348
2559
|
/**
|
|
2349
|
-
* Optional. If set, performs request validation
|
|
2560
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2350
2561
|
*/
|
|
2351
2562
|
validateOnly?: boolean;
|
|
2352
2563
|
}
|
|
2564
|
+
export interface Params$Resource$Projects$Locations$Clusters$Export extends StandardParameters {
|
|
2565
|
+
/**
|
|
2566
|
+
* Required. The resource name of the cluster.
|
|
2567
|
+
*/
|
|
2568
|
+
name?: string;
|
|
2569
|
+
/**
|
|
2570
|
+
* Request body metadata
|
|
2571
|
+
*/
|
|
2572
|
+
requestBody?: Schema$ExportClusterRequest;
|
|
2573
|
+
}
|
|
2353
2574
|
export interface Params$Resource$Projects$Locations$Clusters$Get extends StandardParameters {
|
|
2354
2575
|
/**
|
|
2355
2576
|
* Required. The name of the resource. For the required format, see the comment on the Cluster.name field.
|
|
@@ -2392,7 +2613,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2392
2613
|
*/
|
|
2393
2614
|
name?: string;
|
|
2394
2615
|
/**
|
|
2395
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2616
|
+
* 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).
|
|
2396
2617
|
*/
|
|
2397
2618
|
requestId?: string;
|
|
2398
2619
|
/**
|
|
@@ -2400,7 +2621,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2400
2621
|
*/
|
|
2401
2622
|
updateMask?: string;
|
|
2402
2623
|
/**
|
|
2403
|
-
* Optional. If set, performs request validation
|
|
2624
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2404
2625
|
*/
|
|
2405
2626
|
validateOnly?: boolean;
|
|
2406
2627
|
/**
|
|
@@ -2428,6 +2649,16 @@ export declare namespace alloydb_v1beta {
|
|
|
2428
2649
|
*/
|
|
2429
2650
|
requestBody?: Schema$RestoreClusterRequest;
|
|
2430
2651
|
}
|
|
2652
|
+
export interface Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql extends StandardParameters {
|
|
2653
|
+
/**
|
|
2654
|
+
* Required. The location of the new cluster. For the required format, see the comment on Cluster.name field.
|
|
2655
|
+
*/
|
|
2656
|
+
parent?: string;
|
|
2657
|
+
/**
|
|
2658
|
+
* Request body metadata
|
|
2659
|
+
*/
|
|
2660
|
+
requestBody?: Schema$RestoreFromCloudSQLRequest;
|
|
2661
|
+
}
|
|
2431
2662
|
export interface Params$Resource$Projects$Locations$Clusters$Switchover extends StandardParameters {
|
|
2432
2663
|
/**
|
|
2433
2664
|
* Required. The name of the resource. For the required format, see the comment on the Cluster.name field
|
|
@@ -2438,6 +2669,16 @@ export declare namespace alloydb_v1beta {
|
|
|
2438
2669
|
*/
|
|
2439
2670
|
requestBody?: Schema$SwitchoverClusterRequest;
|
|
2440
2671
|
}
|
|
2672
|
+
export interface Params$Resource$Projects$Locations$Clusters$Upgrade extends StandardParameters {
|
|
2673
|
+
/**
|
|
2674
|
+
* Required. The resource name of the cluster.
|
|
2675
|
+
*/
|
|
2676
|
+
name?: string;
|
|
2677
|
+
/**
|
|
2678
|
+
* Request body metadata
|
|
2679
|
+
*/
|
|
2680
|
+
requestBody?: Schema$UpgradeClusterRequest;
|
|
2681
|
+
}
|
|
2441
2682
|
export class Resource$Projects$Locations$Clusters$Instances {
|
|
2442
2683
|
context: APIRequestContext;
|
|
2443
2684
|
constructor(context: APIRequestContext);
|
|
@@ -2592,11 +2833,11 @@ export declare namespace alloydb_v1beta {
|
|
|
2592
2833
|
*/
|
|
2593
2834
|
parent?: string;
|
|
2594
2835
|
/**
|
|
2595
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2836
|
+
* 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).
|
|
2596
2837
|
*/
|
|
2597
2838
|
requestId?: string;
|
|
2598
2839
|
/**
|
|
2599
|
-
* Optional. If set, performs request validation
|
|
2840
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2600
2841
|
*/
|
|
2601
2842
|
validateOnly?: boolean;
|
|
2602
2843
|
/**
|
|
@@ -2614,11 +2855,11 @@ export declare namespace alloydb_v1beta {
|
|
|
2614
2855
|
*/
|
|
2615
2856
|
parent?: string;
|
|
2616
2857
|
/**
|
|
2617
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2858
|
+
* 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).
|
|
2618
2859
|
*/
|
|
2619
2860
|
requestId?: string;
|
|
2620
2861
|
/**
|
|
2621
|
-
* Optional. If set, performs request validation
|
|
2862
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2622
2863
|
*/
|
|
2623
2864
|
validateOnly?: boolean;
|
|
2624
2865
|
/**
|
|
@@ -2636,11 +2877,11 @@ export declare namespace alloydb_v1beta {
|
|
|
2636
2877
|
*/
|
|
2637
2878
|
name?: string;
|
|
2638
2879
|
/**
|
|
2639
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2880
|
+
* 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).
|
|
2640
2881
|
*/
|
|
2641
2882
|
requestId?: string;
|
|
2642
2883
|
/**
|
|
2643
|
-
* Optional. If set, performs request validation
|
|
2884
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2644
2885
|
*/
|
|
2645
2886
|
validateOnly?: boolean;
|
|
2646
2887
|
}
|
|
@@ -2670,7 +2911,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2670
2911
|
*/
|
|
2671
2912
|
parent?: string;
|
|
2672
2913
|
/**
|
|
2673
|
-
* 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).
|
|
2674
2915
|
*/
|
|
2675
2916
|
requestId?: string;
|
|
2676
2917
|
}
|
|
@@ -2716,7 +2957,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2716
2957
|
*/
|
|
2717
2958
|
name?: string;
|
|
2718
2959
|
/**
|
|
2719
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2960
|
+
* 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).
|
|
2720
2961
|
*/
|
|
2721
2962
|
requestId?: string;
|
|
2722
2963
|
/**
|
|
@@ -2724,7 +2965,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2724
2965
|
*/
|
|
2725
2966
|
updateMask?: string;
|
|
2726
2967
|
/**
|
|
2727
|
-
* Optional. If set, performs request validation
|
|
2968
|
+
* Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.
|
|
2728
2969
|
*/
|
|
2729
2970
|
validateOnly?: boolean;
|
|
2730
2971
|
/**
|
|
@@ -2822,7 +3063,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2822
3063
|
*/
|
|
2823
3064
|
parent?: string;
|
|
2824
3065
|
/**
|
|
2825
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3066
|
+
* 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).
|
|
2826
3067
|
*/
|
|
2827
3068
|
requestId?: string;
|
|
2828
3069
|
/**
|
|
@@ -2844,7 +3085,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2844
3085
|
*/
|
|
2845
3086
|
name?: string;
|
|
2846
3087
|
/**
|
|
2847
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3088
|
+
* 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).
|
|
2848
3089
|
*/
|
|
2849
3090
|
requestId?: string;
|
|
2850
3091
|
/**
|
|
@@ -2890,7 +3131,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2890
3131
|
*/
|
|
2891
3132
|
name?: string;
|
|
2892
3133
|
/**
|
|
2893
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
3134
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
2894
3135
|
*/
|
|
2895
3136
|
requestId?: string;
|
|
2896
3137
|
/**
|
|
@@ -2910,7 +3151,7 @@ export declare namespace alloydb_v1beta {
|
|
|
2910
3151
|
context: APIRequestContext;
|
|
2911
3152
|
constructor(context: APIRequestContext);
|
|
2912
3153
|
/**
|
|
2913
|
-
* 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
|
|
3154
|
+
* 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`.
|
|
2914
3155
|
*
|
|
2915
3156
|
* @param params - Parameters for request
|
|
2916
3157
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|