Skip to content

Commit ffdad6e

Browse files
feat(alloydb): update the API
#### alloydb:v1beta The following keys were added: - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.description - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.id - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.backupConfiguration.$ref - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.backupConfiguration.description - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.backupRun.$ref - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.backupRun.description - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.backupdrConfiguration.$ref - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.backupdrConfiguration.description - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.fullResourceName.description - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.fullResourceName.type - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.lastRefreshTime.description - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.lastRefreshTime.format - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.lastRefreshTime.type - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.resourceId.$ref - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.properties.resourceId.description - schemas.StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.type - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.properties.backupdrMetadata.$ref - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.properties.backupdrMetadata.description The following keys were changed: - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.properties.feedType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.properties.feedType.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDeprecated - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.properties.signalType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.properties.signalType.enumDeprecated - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.properties.signalType.enumDescriptions
1 parent 85ec09b commit ffdad6e

File tree

2 files changed

+86
-9
lines changed

2 files changed

+86
-9
lines changed

discovery/alloydb-v1beta.json

Lines changed: 52 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@
16191619
}
16201620
}
16211621
},
1622-
"revision": "20250723",
1622+
"revision": "20250731",
16231623
"rootUrl": "https://alloydb.googleapis.com/",
16241624
"schemas": {
16251625
"AuthorizedNetwork": {
@@ -4255,6 +4255,38 @@
42554255
},
42564256
"type": "object"
42574257
},
4258+
"StorageDatabasecenterPartnerapiV1mainBackupDRMetadata": {
4259+
"description": "BackupDRMetadata contains information about the backup and disaster recovery metadata of a database resource.",
4260+
"id": "StorageDatabasecenterPartnerapiV1mainBackupDRMetadata",
4261+
"properties": {
4262+
"backupConfiguration": {
4263+
"$ref": "StorageDatabasecenterPartnerapiV1mainBackupConfiguration",
4264+
"description": "Backup configuration for this instance."
4265+
},
4266+
"backupRun": {
4267+
"$ref": "StorageDatabasecenterPartnerapiV1mainBackupRun",
4268+
"description": "Latest backup run information for this instance."
4269+
},
4270+
"backupdrConfiguration": {
4271+
"$ref": "StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration",
4272+
"description": "BackupDR configuration for this instance."
4273+
},
4274+
"fullResourceName": {
4275+
"description": "Required. Full resource name of this instance.",
4276+
"type": "string"
4277+
},
4278+
"lastRefreshTime": {
4279+
"description": "Required. Last time backup configuration was refreshed.",
4280+
"format": "google-datetime",
4281+
"type": "string"
4282+
},
4283+
"resourceId": {
4284+
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId",
4285+
"description": "Required. Database resource id."
4286+
}
4287+
},
4288+
"type": "object"
4289+
},
42584290
"StorageDatabasecenterPartnerapiV1mainBackupRun": {
42594291
"description": "A backup run.",
42604292
"id": "StorageDatabasecenterPartnerapiV1mainBackupRun",
@@ -4364,9 +4396,13 @@
43644396
"type": "object"
43654397
},
43664398
"StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed": {
4367-
"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 9",
4399+
"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 10",
43684400
"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed",
43694401
"properties": {
4402+
"backupdrMetadata": {
4403+
"$ref": "StorageDatabasecenterPartnerapiV1mainBackupDRMetadata",
4404+
"description": "BackupDR metadata is used to ingest metadata from BackupDR."
4405+
},
43704406
"configBasedSignalData": {
43714407
"$ref": "StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData",
43724408
"description": "Config based signal data is used to ingest signals that are generated based on the configuration of the database resource."
@@ -4384,15 +4420,17 @@
43844420
"OBSERVABILITY_DATA",
43854421
"SECURITY_FINDING_DATA",
43864422
"RECOMMENDATION_SIGNAL_DATA",
4387-
"CONFIG_BASED_SIGNAL_DATA"
4423+
"CONFIG_BASED_SIGNAL_DATA",
4424+
"BACKUPDR_METADATA"
43884425
],
43894426
"enumDescriptions": [
43904427
"",
43914428
"Database resource metadata feed from control plane",
43924429
"Database resource monitoring data",
43934430
"Database resource security health signal data",
43944431
"Database resource recommendation signal data",
4395-
"Database config based signal data"
4432+
"Database config based signal data",
4433+
"Database resource metadata from BackupDR"
43964434
],
43974435
"type": "string"
43984436
},
@@ -4631,7 +4669,8 @@
46314669
"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED",
46324670
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS",
46334671
"SIGNAL_TYPE_REPLICATION_LAG",
4634-
"SIGNAL_TYPE_OUTDATED_VERSION"
4672+
"SIGNAL_TYPE_OUTDATED_VERSION",
4673+
"SIGNAL_TYPE_OUTDATED_CLIENT"
46354674
],
46364675
"enumDeprecated": [
46374676
false,
@@ -4734,6 +4773,7 @@
47344773
false,
47354774
false,
47364775
false,
4776+
false,
47374777
false
47384778
],
47394779
"enumDescriptions": [
@@ -4837,7 +4877,8 @@
48374877
"Schema not optimized.",
48384878
"High number of idle connections.",
48394879
"Replication delay.",
4840-
"Outdated version."
4880+
"Outdated version.",
4881+
"Outdated client."
48414882
],
48424883
"type": "string"
48434884
},
@@ -5264,7 +5305,8 @@
52645305
"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED",
52655306
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS",
52665307
"SIGNAL_TYPE_REPLICATION_LAG",
5267-
"SIGNAL_TYPE_OUTDATED_VERSION"
5308+
"SIGNAL_TYPE_OUTDATED_VERSION",
5309+
"SIGNAL_TYPE_OUTDATED_CLIENT"
52685310
],
52695311
"enumDeprecated": [
52705312
false,
@@ -5367,6 +5409,7 @@
53675409
false,
53685410
false,
53695411
false,
5412+
false,
53705413
false
53715414
],
53725415
"enumDescriptions": [
@@ -5470,7 +5513,8 @@
54705513
"Schema not optimized.",
54715514
"High number of idle connections.",
54725515
"Replication delay.",
5473-
"Outdated version."
5516+
"Outdated version.",
5517+
"Outdated client."
54745518
],
54755519
"type": "string"
54765520
}

src/apis/alloydb/v1beta.ts

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,6 +1816,35 @@ export namespace alloydb_v1beta {
18161816
*/
18171817
backupdrManaged?: boolean | null;
18181818
}
1819+
/**
1820+
* BackupDRMetadata contains information about the backup and disaster recovery metadata of a database resource.
1821+
*/
1822+
export interface Schema$StorageDatabasecenterPartnerapiV1mainBackupDRMetadata {
1823+
/**
1824+
* Backup configuration for this instance.
1825+
*/
1826+
backupConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainBackupConfiguration;
1827+
/**
1828+
* BackupDR configuration for this instance.
1829+
*/
1830+
backupdrConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration;
1831+
/**
1832+
* Latest backup run information for this instance.
1833+
*/
1834+
backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
1835+
/**
1836+
* Required. Full resource name of this instance.
1837+
*/
1838+
fullResourceName?: string | null;
1839+
/**
1840+
* Required. Last time backup configuration was refreshed.
1841+
*/
1842+
lastRefreshTime?: string | null;
1843+
/**
1844+
* Required. Database resource id.
1845+
*/
1846+
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
1847+
}
18191848
/**
18201849
* A backup run.
18211850
*/
@@ -1885,9 +1914,13 @@ export namespace alloydb_v1beta {
18851914
internalResourceMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata[];
18861915
}
18871916
/**
1888-
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 9
1917+
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 10
18891918
*/
18901919
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed {
1920+
/**
1921+
* BackupDR metadata is used to ingest metadata from BackupDR.
1922+
*/
1923+
backupdrMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainBackupDRMetadata;
18911924
/**
18921925
* Config based signal data is used to ingest signals that are generated based on the configuration of the database resource.
18931926
*/

0 commit comments

Comments
 (0)