@googleapis/alloydb 10.0.0 → 11.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/build/v1.d.ts +123 -23
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +8 -0
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +140 -23
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +123 -23
- package/v1alpha.ts +8 -0
- package/v1beta.ts +140 -23
package/v1.ts
CHANGED
|
@@ -436,6 +436,35 @@ export namespace alloydb_v1 {
|
|
|
436
436
|
*/
|
|
437
437
|
updateTime?: string | null;
|
|
438
438
|
}
|
|
439
|
+
/**
|
|
440
|
+
* Upgrade details of a cluster. This cluster can be primary or secondary.
|
|
441
|
+
*/
|
|
442
|
+
export interface Schema$ClusterUpgradeDetails {
|
|
443
|
+
/**
|
|
444
|
+
* Cluster type which can either be primary or secondary.
|
|
445
|
+
*/
|
|
446
|
+
clusterType?: string | null;
|
|
447
|
+
/**
|
|
448
|
+
* Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.
|
|
449
|
+
*/
|
|
450
|
+
databaseVersion?: string | null;
|
|
451
|
+
/**
|
|
452
|
+
* Upgrade details of the instances directly associated with this cluster.
|
|
453
|
+
*/
|
|
454
|
+
instanceUpgradeDetails?: Schema$InstanceUpgradeDetails[];
|
|
455
|
+
/**
|
|
456
|
+
* Normalized name of the cluster
|
|
457
|
+
*/
|
|
458
|
+
name?: string | null;
|
|
459
|
+
/**
|
|
460
|
+
* Array containing stage info associated with this cluster.
|
|
461
|
+
*/
|
|
462
|
+
stageInfo?: Schema$StageInfo[];
|
|
463
|
+
/**
|
|
464
|
+
* Upgrade status of the cluster.
|
|
465
|
+
*/
|
|
466
|
+
upgradeStatus?: string | null;
|
|
467
|
+
}
|
|
439
468
|
/**
|
|
440
469
|
* ConnectionInfo singleton resource. https://google.aip.dev/156
|
|
441
470
|
*/
|
|
@@ -745,6 +774,23 @@ export namespace alloydb_v1 {
|
|
|
745
774
|
*/
|
|
746
775
|
enablePublicIp?: boolean | null;
|
|
747
776
|
}
|
|
777
|
+
/**
|
|
778
|
+
* Details regarding the upgrade of instaces associated with a cluster.
|
|
779
|
+
*/
|
|
780
|
+
export interface Schema$InstanceUpgradeDetails {
|
|
781
|
+
/**
|
|
782
|
+
* Instance type.
|
|
783
|
+
*/
|
|
784
|
+
instanceType?: string | null;
|
|
785
|
+
/**
|
|
786
|
+
* Normalized name of the instance.
|
|
787
|
+
*/
|
|
788
|
+
name?: string | null;
|
|
789
|
+
/**
|
|
790
|
+
* Upgrade status of the instance.
|
|
791
|
+
*/
|
|
792
|
+
upgradeStatus?: string | null;
|
|
793
|
+
}
|
|
748
794
|
/**
|
|
749
795
|
* Restrictions on INTEGER type values.
|
|
750
796
|
*/
|
|
@@ -1106,6 +1152,10 @@ export namespace alloydb_v1 {
|
|
|
1106
1152
|
nodeCount?: number | null;
|
|
1107
1153
|
}
|
|
1108
1154
|
export interface Schema$RestartInstanceRequest {
|
|
1155
|
+
/**
|
|
1156
|
+
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Only applicable for read instances.
|
|
1157
|
+
*/
|
|
1158
|
+
nodeIds?: string[] | null;
|
|
1109
1159
|
/**
|
|
1110
1160
|
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after 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).
|
|
1111
1161
|
*/
|
|
@@ -1166,6 +1216,23 @@ export namespace alloydb_v1 {
|
|
|
1166
1216
|
*/
|
|
1167
1217
|
sslMode?: string | null;
|
|
1168
1218
|
}
|
|
1219
|
+
/**
|
|
1220
|
+
* Stage information for different stages in the upgrade process.
|
|
1221
|
+
*/
|
|
1222
|
+
export interface Schema$StageInfo {
|
|
1223
|
+
/**
|
|
1224
|
+
* logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
|
|
1225
|
+
*/
|
|
1226
|
+
logsUrl?: string | null;
|
|
1227
|
+
/**
|
|
1228
|
+
* The stage.
|
|
1229
|
+
*/
|
|
1230
|
+
stage?: string | null;
|
|
1231
|
+
/**
|
|
1232
|
+
* Status of the stage.
|
|
1233
|
+
*/
|
|
1234
|
+
status?: string | null;
|
|
1235
|
+
}
|
|
1169
1236
|
/**
|
|
1170
1237
|
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1171
1238
|
*/
|
|
@@ -1187,6 +1254,10 @@ export namespace alloydb_v1 {
|
|
|
1187
1254
|
* Configuration for availability of database instance
|
|
1188
1255
|
*/
|
|
1189
1256
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration {
|
|
1257
|
+
/**
|
|
1258
|
+
* 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.
|
|
1259
|
+
*/
|
|
1260
|
+
automaticFailoverRoutingConfigured?: boolean | null;
|
|
1190
1261
|
/**
|
|
1191
1262
|
* 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).
|
|
1192
1263
|
*/
|
|
@@ -1250,29 +1321,13 @@ export namespace alloydb_v1 {
|
|
|
1250
1321
|
version?: string | null;
|
|
1251
1322
|
}
|
|
1252
1323
|
/**
|
|
1253
|
-
* Any custom metadata associated with the resource.
|
|
1324
|
+
* Any custom metadata associated with the resource. e.g. A spanner instance can have multiple databases with its own unique metadata. Information for these individual databases can be captured in custom metadata data
|
|
1254
1325
|
*/
|
|
1255
1326
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainCustomMetadataData {
|
|
1256
|
-
databaseMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseMetadata[];
|
|
1257
|
-
}
|
|
1258
|
-
/**
|
|
1259
|
-
* Metadata for individual databases created in an instance. i.e. spanner instance can have multiple databases with unique configuration settings.
|
|
1260
|
-
*/
|
|
1261
|
-
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseMetadata {
|
|
1262
1327
|
/**
|
|
1263
|
-
*
|
|
1264
|
-
*/
|
|
1265
|
-
backupConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainBackupConfiguration;
|
|
1266
|
-
/**
|
|
1267
|
-
* Information about the last backup attempt for this database
|
|
1268
|
-
*/
|
|
1269
|
-
backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
|
|
1270
|
-
product?: Schema$StorageDatabasecenterProtoCommonProduct;
|
|
1271
|
-
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1272
|
-
/**
|
|
1273
|
-
* Required. Database name. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
|
|
1328
|
+
* Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration.
|
|
1274
1329
|
*/
|
|
1275
|
-
|
|
1330
|
+
internalResourceMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata[];
|
|
1276
1331
|
}
|
|
1277
1332
|
/**
|
|
1278
1333
|
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform.
|
|
@@ -1286,9 +1341,6 @@ export namespace alloydb_v1 {
|
|
|
1286
1341
|
* Required. Type feed to be ingested into condor
|
|
1287
1342
|
*/
|
|
1288
1343
|
feedType?: string | null;
|
|
1289
|
-
/**
|
|
1290
|
-
* More feed data would be added in subsequent CLs
|
|
1291
|
-
*/
|
|
1292
1344
|
observabilityMetricData?: Schema$StorageDatabasecenterPartnerapiV1mainObservabilityMetricData;
|
|
1293
1345
|
recommendationSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData;
|
|
1294
1346
|
resourceHealthSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData;
|
|
@@ -1346,6 +1398,10 @@ export namespace alloydb_v1 {
|
|
|
1346
1398
|
* Required. Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal.
|
|
1347
1399
|
*/
|
|
1348
1400
|
signalId?: string | null;
|
|
1401
|
+
/**
|
|
1402
|
+
* The severity of the signal, such as if it's a HIGH or LOW severity.
|
|
1403
|
+
*/
|
|
1404
|
+
signalSeverity?: string | null;
|
|
1349
1405
|
/**
|
|
1350
1406
|
* Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc.
|
|
1351
1407
|
*/
|
|
@@ -1365,7 +1421,7 @@ export namespace alloydb_v1 {
|
|
|
1365
1421
|
*/
|
|
1366
1422
|
providerDescription?: string | null;
|
|
1367
1423
|
/**
|
|
1368
|
-
* Required. The type of resource this ID is identifying. Ex redis.googleapis.com/Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
|
|
1424
|
+
* Required. The type of resource this ID is identifying. Ex redis.googleapis.com/Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance, spanner.googleapis.com/Database, firestore.googleapis.com/Database, sqladmin.googleapis.com/Instance, bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
|
|
1369
1425
|
*/
|
|
1370
1426
|
resourceType?: string | null;
|
|
1371
1427
|
/**
|
|
@@ -1500,6 +1556,25 @@ export namespace alloydb_v1 {
|
|
|
1500
1556
|
*/
|
|
1501
1557
|
type?: string | null;
|
|
1502
1558
|
}
|
|
1559
|
+
/**
|
|
1560
|
+
* Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration settings. Similarly bigtable can have multiple clusters within same bigtable instance.
|
|
1561
|
+
*/
|
|
1562
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata {
|
|
1563
|
+
/**
|
|
1564
|
+
* Backup configuration for this database
|
|
1565
|
+
*/
|
|
1566
|
+
backupConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainBackupConfiguration;
|
|
1567
|
+
/**
|
|
1568
|
+
* Information about the last backup attempt for this database
|
|
1569
|
+
*/
|
|
1570
|
+
backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
|
|
1571
|
+
product?: Schema$StorageDatabasecenterProtoCommonProduct;
|
|
1572
|
+
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1573
|
+
/**
|
|
1574
|
+
* Required. internal resource name for spanner this will be database name e.g."spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1"
|
|
1575
|
+
*/
|
|
1576
|
+
resourceName?: string | null;
|
|
1577
|
+
}
|
|
1503
1578
|
/**
|
|
1504
1579
|
* MachineConfiguration describes the configuration of a machine specific to Database Resource.
|
|
1505
1580
|
*/
|
|
@@ -1674,6 +1749,10 @@ export namespace alloydb_v1 {
|
|
|
1674
1749
|
* End time of the trial cluster.
|
|
1675
1750
|
*/
|
|
1676
1751
|
endTime?: string | null;
|
|
1752
|
+
/**
|
|
1753
|
+
* grace end time of the cluster.
|
|
1754
|
+
*/
|
|
1755
|
+
graceEndTime?: string | null;
|
|
1677
1756
|
/**
|
|
1678
1757
|
* start time of the trial cluster.
|
|
1679
1758
|
*/
|
|
@@ -1683,6 +1762,23 @@ export namespace alloydb_v1 {
|
|
|
1683
1762
|
*/
|
|
1684
1763
|
upgradeTime?: string | null;
|
|
1685
1764
|
}
|
|
1765
|
+
/**
|
|
1766
|
+
* UpgradeClusterResponse contains the response for upgrade cluster operation.
|
|
1767
|
+
*/
|
|
1768
|
+
export interface Schema$UpgradeClusterResponse {
|
|
1769
|
+
/**
|
|
1770
|
+
* Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
|
|
1771
|
+
*/
|
|
1772
|
+
clusterUpgradeDetails?: Schema$ClusterUpgradeDetails[];
|
|
1773
|
+
/**
|
|
1774
|
+
* A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.
|
|
1775
|
+
*/
|
|
1776
|
+
message?: string | null;
|
|
1777
|
+
/**
|
|
1778
|
+
* Status of upgrade operation.
|
|
1779
|
+
*/
|
|
1780
|
+
status?: string | null;
|
|
1781
|
+
}
|
|
1686
1782
|
/**
|
|
1687
1783
|
* Message describing User object.
|
|
1688
1784
|
*/
|
|
@@ -1691,6 +1787,10 @@ export namespace alloydb_v1 {
|
|
|
1691
1787
|
* Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
|
|
1692
1788
|
*/
|
|
1693
1789
|
databaseRoles?: string[] | null;
|
|
1790
|
+
/**
|
|
1791
|
+
* Input only. If the user already exists and it has additional roles, keep them granted.
|
|
1792
|
+
*/
|
|
1793
|
+
keepExtraRoles?: boolean | null;
|
|
1694
1794
|
/**
|
|
1695
1795
|
* Output only. Name of the resource in the form of projects/{project\}/locations/{location\}/cluster/{cluster\}/users/{user\}.
|
|
1696
1796
|
*/
|
package/v1alpha.ts
CHANGED
|
@@ -1378,6 +1378,10 @@ export namespace alloydb_v1alpha {
|
|
|
1378
1378
|
* Configuration for availability of database instance
|
|
1379
1379
|
*/
|
|
1380
1380
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration {
|
|
1381
|
+
/**
|
|
1382
|
+
* 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.
|
|
1383
|
+
*/
|
|
1384
|
+
automaticFailoverRoutingConfigured?: boolean | null;
|
|
1381
1385
|
/**
|
|
1382
1386
|
* 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).
|
|
1383
1387
|
*/
|
|
@@ -1937,6 +1941,10 @@ export namespace alloydb_v1alpha {
|
|
|
1937
1941
|
* Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
|
|
1938
1942
|
*/
|
|
1939
1943
|
databaseRoles?: string[] | null;
|
|
1944
|
+
/**
|
|
1945
|
+
* Input only. If the user already exists and it has additional roles, keep them granted.
|
|
1946
|
+
*/
|
|
1947
|
+
keepExtraRoles?: boolean | null;
|
|
1940
1948
|
/**
|
|
1941
1949
|
* Output only. Name of the resource in the form of projects/{project\}/locations/{location\}/cluster/{cluster\}/users/{user\}.
|
|
1942
1950
|
*/
|
package/v1beta.ts
CHANGED
|
@@ -302,6 +302,23 @@ export namespace alloydb_v1beta {
|
|
|
302
302
|
*/
|
|
303
303
|
exclusiveAction?: string | null;
|
|
304
304
|
}
|
|
305
|
+
/**
|
|
306
|
+
* The source CloudSQL backup resource.
|
|
307
|
+
*/
|
|
308
|
+
export interface Schema$CloudSQLBackupRunSource {
|
|
309
|
+
/**
|
|
310
|
+
* Required. The CloudSQL backup run ID.
|
|
311
|
+
*/
|
|
312
|
+
backupRunId?: string | null;
|
|
313
|
+
/**
|
|
314
|
+
* Required. The CloudSQL instance ID.
|
|
315
|
+
*/
|
|
316
|
+
instanceId?: string | null;
|
|
317
|
+
/**
|
|
318
|
+
* The project ID of the source CloudSQL instance. This should be the same as the AlloyDB cluster's project.
|
|
319
|
+
*/
|
|
320
|
+
project?: string | null;
|
|
321
|
+
}
|
|
305
322
|
/**
|
|
306
323
|
* A cluster is a collection of regional AlloyDB resources. It can include a primary instance and one or more read pool instances. All cluster resources share a storage layer, which scales as needed.
|
|
307
324
|
*/
|
|
@@ -318,6 +335,10 @@ export namespace alloydb_v1beta {
|
|
|
318
335
|
* Output only. Cluster created from backup.
|
|
319
336
|
*/
|
|
320
337
|
backupSource?: Schema$BackupSource;
|
|
338
|
+
/**
|
|
339
|
+
* Output only. Cluster created from CloudSQL snapshot.
|
|
340
|
+
*/
|
|
341
|
+
cloudsqlBackupRunSource?: Schema$CloudSQLBackupRunSource;
|
|
321
342
|
/**
|
|
322
343
|
* Output only. The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
|
|
323
344
|
*/
|
|
@@ -436,6 +457,35 @@ export namespace alloydb_v1beta {
|
|
|
436
457
|
*/
|
|
437
458
|
updateTime?: string | null;
|
|
438
459
|
}
|
|
460
|
+
/**
|
|
461
|
+
* Upgrade details of a cluster. This cluster can be primary or secondary.
|
|
462
|
+
*/
|
|
463
|
+
export interface Schema$ClusterUpgradeDetails {
|
|
464
|
+
/**
|
|
465
|
+
* Cluster type which can either be primary or secondary.
|
|
466
|
+
*/
|
|
467
|
+
clusterType?: string | null;
|
|
468
|
+
/**
|
|
469
|
+
* Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.
|
|
470
|
+
*/
|
|
471
|
+
databaseVersion?: string | null;
|
|
472
|
+
/**
|
|
473
|
+
* Upgrade details of the instances directly associated with this cluster.
|
|
474
|
+
*/
|
|
475
|
+
instanceUpgradeDetails?: Schema$InstanceUpgradeDetails[];
|
|
476
|
+
/**
|
|
477
|
+
* Normalized name of the cluster
|
|
478
|
+
*/
|
|
479
|
+
name?: string | null;
|
|
480
|
+
/**
|
|
481
|
+
* Array containing stage info associated with this cluster.
|
|
482
|
+
*/
|
|
483
|
+
stageInfo?: Schema$StageInfo[];
|
|
484
|
+
/**
|
|
485
|
+
* Upgrade status of the cluster.
|
|
486
|
+
*/
|
|
487
|
+
upgradeStatus?: string | null;
|
|
488
|
+
}
|
|
439
489
|
/**
|
|
440
490
|
* ConnectionInfo singleton resource. https://google.aip.dev/156
|
|
441
491
|
*/
|
|
@@ -791,6 +841,23 @@ export namespace alloydb_v1beta {
|
|
|
791
841
|
*/
|
|
792
842
|
enablePublicIp?: boolean | null;
|
|
793
843
|
}
|
|
844
|
+
/**
|
|
845
|
+
* Details regarding the upgrade of instaces associated with a cluster.
|
|
846
|
+
*/
|
|
847
|
+
export interface Schema$InstanceUpgradeDetails {
|
|
848
|
+
/**
|
|
849
|
+
* Instance type.
|
|
850
|
+
*/
|
|
851
|
+
instanceType?: string | null;
|
|
852
|
+
/**
|
|
853
|
+
* Normalized name of the instance.
|
|
854
|
+
*/
|
|
855
|
+
name?: string | null;
|
|
856
|
+
/**
|
|
857
|
+
* Upgrade status of the instance.
|
|
858
|
+
*/
|
|
859
|
+
upgradeStatus?: string | null;
|
|
860
|
+
}
|
|
794
861
|
/**
|
|
795
862
|
* Restrictions on INTEGER type values.
|
|
796
863
|
*/
|
|
@@ -1017,6 +1084,10 @@ export namespace alloydb_v1beta {
|
|
|
1017
1084
|
* Track actively running queries on the instance. If not set, this flag is "off" by default.
|
|
1018
1085
|
*/
|
|
1019
1086
|
trackActiveQueries?: boolean | null;
|
|
1087
|
+
/**
|
|
1088
|
+
* Track client address for an instance. If not set, default value is "off".
|
|
1089
|
+
*/
|
|
1090
|
+
trackClientAddress?: boolean | null;
|
|
1020
1091
|
/**
|
|
1021
1092
|
* Track wait events during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on.
|
|
1022
1093
|
*/
|
|
@@ -1189,6 +1260,10 @@ export namespace alloydb_v1beta {
|
|
|
1189
1260
|
nodeCount?: number | null;
|
|
1190
1261
|
}
|
|
1191
1262
|
export interface Schema$RestartInstanceRequest {
|
|
1263
|
+
/**
|
|
1264
|
+
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Only applicable for read instances.
|
|
1265
|
+
*/
|
|
1266
|
+
nodeIds?: string[] | null;
|
|
1192
1267
|
/**
|
|
1193
1268
|
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after 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).
|
|
1194
1269
|
*/
|
|
@@ -1249,6 +1324,23 @@ export namespace alloydb_v1beta {
|
|
|
1249
1324
|
*/
|
|
1250
1325
|
sslMode?: string | null;
|
|
1251
1326
|
}
|
|
1327
|
+
/**
|
|
1328
|
+
* Stage information for different stages in the upgrade process.
|
|
1329
|
+
*/
|
|
1330
|
+
export interface Schema$StageInfo {
|
|
1331
|
+
/**
|
|
1332
|
+
* logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
|
|
1333
|
+
*/
|
|
1334
|
+
logsUrl?: string | null;
|
|
1335
|
+
/**
|
|
1336
|
+
* The stage.
|
|
1337
|
+
*/
|
|
1338
|
+
stage?: string | null;
|
|
1339
|
+
/**
|
|
1340
|
+
* Status of the stage.
|
|
1341
|
+
*/
|
|
1342
|
+
status?: string | null;
|
|
1343
|
+
}
|
|
1252
1344
|
/**
|
|
1253
1345
|
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1254
1346
|
*/
|
|
@@ -1333,29 +1425,13 @@ export namespace alloydb_v1beta {
|
|
|
1333
1425
|
version?: string | null;
|
|
1334
1426
|
}
|
|
1335
1427
|
/**
|
|
1336
|
-
* Any custom metadata associated with the resource.
|
|
1428
|
+
* Any custom metadata associated with the resource. e.g. A spanner instance can have multiple databases with its own unique metadata. Information for these individual databases can be captured in custom metadata data
|
|
1337
1429
|
*/
|
|
1338
1430
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainCustomMetadataData {
|
|
1339
|
-
databaseMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseMetadata[];
|
|
1340
|
-
}
|
|
1341
|
-
/**
|
|
1342
|
-
* Metadata for individual databases created in an instance. i.e. spanner instance can have multiple databases with unique configuration settings.
|
|
1343
|
-
*/
|
|
1344
|
-
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseMetadata {
|
|
1345
1431
|
/**
|
|
1346
|
-
*
|
|
1432
|
+
* Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration.
|
|
1347
1433
|
*/
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
* Information about the last backup attempt for this database
|
|
1351
|
-
*/
|
|
1352
|
-
backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
|
|
1353
|
-
product?: Schema$StorageDatabasecenterProtoCommonProduct;
|
|
1354
|
-
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1355
|
-
/**
|
|
1356
|
-
* Required. Database name. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
|
|
1357
|
-
*/
|
|
1358
|
-
resourceName?: string | null;
|
|
1434
|
+
internalResourceMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata[];
|
|
1359
1435
|
}
|
|
1360
1436
|
/**
|
|
1361
1437
|
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform.
|
|
@@ -1369,9 +1445,6 @@ export namespace alloydb_v1beta {
|
|
|
1369
1445
|
* Required. Type feed to be ingested into condor
|
|
1370
1446
|
*/
|
|
1371
1447
|
feedType?: string | null;
|
|
1372
|
-
/**
|
|
1373
|
-
* More feed data would be added in subsequent CLs
|
|
1374
|
-
*/
|
|
1375
1448
|
observabilityMetricData?: Schema$StorageDatabasecenterPartnerapiV1mainObservabilityMetricData;
|
|
1376
1449
|
recommendationSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData;
|
|
1377
1450
|
resourceHealthSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData;
|
|
@@ -1429,6 +1502,10 @@ export namespace alloydb_v1beta {
|
|
|
1429
1502
|
* Required. Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal.
|
|
1430
1503
|
*/
|
|
1431
1504
|
signalId?: string | null;
|
|
1505
|
+
/**
|
|
1506
|
+
* The severity of the signal, such as if it's a HIGH or LOW severity.
|
|
1507
|
+
*/
|
|
1508
|
+
signalSeverity?: string | null;
|
|
1432
1509
|
/**
|
|
1433
1510
|
* Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc.
|
|
1434
1511
|
*/
|
|
@@ -1448,7 +1525,7 @@ export namespace alloydb_v1beta {
|
|
|
1448
1525
|
*/
|
|
1449
1526
|
providerDescription?: string | null;
|
|
1450
1527
|
/**
|
|
1451
|
-
* Required. The type of resource this ID is identifying. Ex redis.googleapis.com/Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
|
|
1528
|
+
* Required. The type of resource this ID is identifying. Ex redis.googleapis.com/Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance, spanner.googleapis.com/Database, firestore.googleapis.com/Database, sqladmin.googleapis.com/Instance, bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
|
|
1452
1529
|
*/
|
|
1453
1530
|
resourceType?: string | null;
|
|
1454
1531
|
/**
|
|
@@ -1583,6 +1660,25 @@ export namespace alloydb_v1beta {
|
|
|
1583
1660
|
*/
|
|
1584
1661
|
type?: string | null;
|
|
1585
1662
|
}
|
|
1663
|
+
/**
|
|
1664
|
+
* Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration settings. Similarly bigtable can have multiple clusters within same bigtable instance.
|
|
1665
|
+
*/
|
|
1666
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata {
|
|
1667
|
+
/**
|
|
1668
|
+
* Backup configuration for this database
|
|
1669
|
+
*/
|
|
1670
|
+
backupConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainBackupConfiguration;
|
|
1671
|
+
/**
|
|
1672
|
+
* Information about the last backup attempt for this database
|
|
1673
|
+
*/
|
|
1674
|
+
backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
|
|
1675
|
+
product?: Schema$StorageDatabasecenterProtoCommonProduct;
|
|
1676
|
+
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1677
|
+
/**
|
|
1678
|
+
* Required. internal resource name for spanner this will be database name e.g."spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1"
|
|
1679
|
+
*/
|
|
1680
|
+
resourceName?: string | null;
|
|
1681
|
+
}
|
|
1586
1682
|
/**
|
|
1587
1683
|
* MachineConfiguration describes the configuration of a machine specific to Database Resource.
|
|
1588
1684
|
*/
|
|
@@ -1757,6 +1853,10 @@ export namespace alloydb_v1beta {
|
|
|
1757
1853
|
* End time of the trial cluster.
|
|
1758
1854
|
*/
|
|
1759
1855
|
endTime?: string | null;
|
|
1856
|
+
/**
|
|
1857
|
+
* grace end time of the cluster.
|
|
1858
|
+
*/
|
|
1859
|
+
graceEndTime?: string | null;
|
|
1760
1860
|
/**
|
|
1761
1861
|
* start time of the trial cluster.
|
|
1762
1862
|
*/
|
|
@@ -1775,6 +1875,23 @@ export namespace alloydb_v1beta {
|
|
|
1775
1875
|
*/
|
|
1776
1876
|
mode?: string | null;
|
|
1777
1877
|
}
|
|
1878
|
+
/**
|
|
1879
|
+
* UpgradeClusterResponse contains the response for upgrade cluster operation.
|
|
1880
|
+
*/
|
|
1881
|
+
export interface Schema$UpgradeClusterResponse {
|
|
1882
|
+
/**
|
|
1883
|
+
* Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
|
|
1884
|
+
*/
|
|
1885
|
+
clusterUpgradeDetails?: Schema$ClusterUpgradeDetails[];
|
|
1886
|
+
/**
|
|
1887
|
+
* A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.
|
|
1888
|
+
*/
|
|
1889
|
+
message?: string | null;
|
|
1890
|
+
/**
|
|
1891
|
+
* Status of upgrade operation.
|
|
1892
|
+
*/
|
|
1893
|
+
status?: string | null;
|
|
1894
|
+
}
|
|
1778
1895
|
/**
|
|
1779
1896
|
* Message describing User object.
|
|
1780
1897
|
*/
|