Skip to content

Commit e63df22

Browse files
feat(workloadmanager)!: update the API
BREAKING CHANGE: This release has breaking changes. #### workloadmanager:v1 The following keys were deleted: - schemas.APILayerServer.description - schemas.APILayerServer.id - schemas.APILayerServer.properties.name.description - schemas.APILayerServer.properties.name.readOnly - schemas.APILayerServer.properties.name.type - schemas.APILayerServer.properties.osVersion.description - schemas.APILayerServer.properties.osVersion.readOnly - schemas.APILayerServer.properties.osVersion.type - schemas.APILayerServer.properties.resources.description - schemas.APILayerServer.properties.resources.items.$ref - schemas.APILayerServer.properties.resources.readOnly - schemas.APILayerServer.properties.resources.type - schemas.APILayerServer.type - schemas.AvailabilityGroup.description - schemas.AvailabilityGroup.id - schemas.AvailabilityGroup.properties.databases.description - schemas.AvailabilityGroup.properties.databases.items.type - schemas.AvailabilityGroup.properties.databases.readOnly - schemas.AvailabilityGroup.properties.databases.type - schemas.AvailabilityGroup.properties.name.description - schemas.AvailabilityGroup.properties.name.readOnly - schemas.AvailabilityGroup.properties.name.type - schemas.AvailabilityGroup.properties.primaryServer.description - schemas.AvailabilityGroup.properties.primaryServer.readOnly - schemas.AvailabilityGroup.properties.primaryServer.type - schemas.AvailabilityGroup.properties.secondaryServers.description - schemas.AvailabilityGroup.properties.secondaryServers.items.type - schemas.AvailabilityGroup.properties.secondaryServers.readOnly - schemas.AvailabilityGroup.properties.secondaryServers.type - schemas.AvailabilityGroup.type - schemas.BackendServer.description - schemas.BackendServer.id - schemas.BackendServer.properties.backupFile.description - schemas.BackendServer.properties.backupFile.readOnly - schemas.BackendServer.properties.backupFile.type - schemas.BackendServer.properties.backupSchedule.description - schemas.BackendServer.properties.backupSchedule.readOnly - schemas.BackendServer.properties.backupSchedule.type - schemas.BackendServer.properties.name.description - schemas.BackendServer.properties.name.readOnly - schemas.BackendServer.properties.name.type - schemas.BackendServer.properties.osVersion.description - schemas.BackendServer.properties.osVersion.readOnly - schemas.BackendServer.properties.osVersion.type - schemas.BackendServer.properties.resources.description - schemas.BackendServer.properties.resources.items.$ref - schemas.BackendServer.properties.resources.readOnly - schemas.BackendServer.properties.resources.type - schemas.BackendServer.type - schemas.Cluster.description - schemas.Cluster.id - schemas.Cluster.properties.nodes.description - schemas.Cluster.properties.nodes.items.type - schemas.Cluster.properties.nodes.readOnly - schemas.Cluster.properties.nodes.type - schemas.Cluster.properties.witnessServer.description - schemas.Cluster.properties.witnessServer.readOnly - schemas.Cluster.properties.witnessServer.type - schemas.Cluster.type - schemas.Database.description - schemas.Database.id - schemas.Database.properties.backupFile.description - schemas.Database.properties.backupFile.readOnly - schemas.Database.properties.backupFile.type - schemas.Database.properties.backupSchedule.description - schemas.Database.properties.backupSchedule.readOnly - schemas.Database.properties.backupSchedule.type - schemas.Database.properties.hostVm.description - schemas.Database.properties.hostVm.readOnly - schemas.Database.properties.hostVm.type - schemas.Database.properties.name.description - schemas.Database.properties.name.readOnly - schemas.Database.properties.name.type - schemas.Database.type - schemas.FrontEndServer.description - schemas.FrontEndServer.id - schemas.FrontEndServer.properties.name.description - schemas.FrontEndServer.properties.name.readOnly - schemas.FrontEndServer.properties.name.type - schemas.FrontEndServer.properties.osVersion.description - schemas.FrontEndServer.properties.osVersion.readOnly - schemas.FrontEndServer.properties.osVersion.type - schemas.FrontEndServer.properties.resources.description - schemas.FrontEndServer.properties.resources.items.$ref - schemas.FrontEndServer.properties.resources.readOnly - schemas.FrontEndServer.properties.resources.type - schemas.FrontEndServer.type - schemas.LoadBalancerServer.description - schemas.LoadBalancerServer.id - schemas.LoadBalancerServer.properties.ip.description - schemas.LoadBalancerServer.properties.ip.readOnly - schemas.LoadBalancerServer.properties.ip.type - schemas.LoadBalancerServer.properties.vm.description - schemas.LoadBalancerServer.properties.vm.readOnly - schemas.LoadBalancerServer.properties.vm.type - schemas.LoadBalancerServer.type - schemas.SqlserverWorkload.description - schemas.SqlserverWorkload.id - schemas.SqlserverWorkload.properties.ags.description - schemas.SqlserverWorkload.properties.ags.items.$ref - schemas.SqlserverWorkload.properties.ags.readOnly - schemas.SqlserverWorkload.properties.ags.type - schemas.SqlserverWorkload.properties.cluster.$ref - schemas.SqlserverWorkload.properties.cluster.description - schemas.SqlserverWorkload.properties.cluster.readOnly - schemas.SqlserverWorkload.properties.databases.description - schemas.SqlserverWorkload.properties.databases.items.$ref - schemas.SqlserverWorkload.properties.databases.readOnly - schemas.SqlserverWorkload.properties.databases.type - schemas.SqlserverWorkload.properties.loadBalancerServer.$ref - schemas.SqlserverWorkload.properties.loadBalancerServer.description - schemas.SqlserverWorkload.properties.loadBalancerServer.readOnly - schemas.SqlserverWorkload.type - schemas.ThreeTierWorkload.description - schemas.ThreeTierWorkload.id - schemas.ThreeTierWorkload.properties.apiLayer.$ref - schemas.ThreeTierWorkload.properties.apiLayer.description - schemas.ThreeTierWorkload.properties.apiLayer.readOnly - schemas.ThreeTierWorkload.properties.backend.$ref - schemas.ThreeTierWorkload.properties.backend.description - schemas.ThreeTierWorkload.properties.backend.readOnly - schemas.ThreeTierWorkload.properties.endpoint.description - schemas.ThreeTierWorkload.properties.endpoint.readOnly - schemas.ThreeTierWorkload.properties.endpoint.type - schemas.ThreeTierWorkload.properties.frontend.$ref - schemas.ThreeTierWorkload.properties.frontend.description - schemas.ThreeTierWorkload.properties.frontend.readOnly - schemas.ThreeTierWorkload.type - schemas.WorkloadProfile.properties.sqlserverWorkload.$ref - schemas.WorkloadProfile.properties.sqlserverWorkload.description - schemas.WorkloadProfile.properties.threeTierWorkload.$ref - schemas.WorkloadProfile.properties.threeTierWorkload.description The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type - schemas.SapDiscoveryResourceInstancePropertiesDiskMount.properties.diskNames.description - schemas.SapDiscoveryResourceInstancePropertiesDiskMount.properties.diskNames.items.type - schemas.SapDiscoveryResourceInstancePropertiesDiskMount.properties.diskNames.type - schemas.UpcomingMaintenanceEvent.properties.onHostMaintenance.description - schemas.UpcomingMaintenanceEvent.properties.onHostMaintenance.type The following keys were changed: - schemas.Evaluation.description
1 parent 3f07a5c commit e63df22

File tree

2 files changed

+32
-430
lines changed

2 files changed

+32
-430
lines changed

discovery/workloadmanager-v1.json

Lines changed: 19 additions & 252 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@
143143
"name"
144144
],
145145
"parameters": {
146+
"extraLocationTypes": {
147+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
148+
"location": "query",
149+
"repeated": true,
150+
"type": "string"
151+
},
146152
"filter": {
147153
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
148154
"location": "query",
@@ -922,34 +928,9 @@
922928
}
923929
}
924930
},
925-
"revision": "20250310",
931+
"revision": "20250416",
926932
"rootUrl": "https://workloadmanager.googleapis.com/",
927933
"schemas": {
928-
"APILayerServer": {
929-
"description": "The API layer server",
930-
"id": "APILayerServer",
931-
"properties": {
932-
"name": {
933-
"description": "Output only. The api layer name",
934-
"readOnly": true,
935-
"type": "string"
936-
},
937-
"osVersion": {
938-
"description": "Output only. OS information",
939-
"readOnly": true,
940-
"type": "string"
941-
},
942-
"resources": {
943-
"description": "Output only. resources in the component",
944-
"items": {
945-
"$ref": "CloudResource"
946-
},
947-
"readOnly": true,
948-
"type": "array"
949-
}
950-
},
951-
"type": "object"
952-
},
953934
"AgentCommand": {
954935
"description": "* An AgentCommand specifies a one-time executable program for the agent to run.",
955936
"id": "AgentCommand",
@@ -968,74 +949,6 @@
968949
},
969950
"type": "object"
970951
},
971-
"AvailabilityGroup": {
972-
"description": "The availability groups for sqlserver",
973-
"id": "AvailabilityGroup",
974-
"properties": {
975-
"databases": {
976-
"description": "Output only. The databases",
977-
"items": {
978-
"type": "string"
979-
},
980-
"readOnly": true,
981-
"type": "array"
982-
},
983-
"name": {
984-
"description": "Output only. The availability group name",
985-
"readOnly": true,
986-
"type": "string"
987-
},
988-
"primaryServer": {
989-
"description": "Output only. The primary server",
990-
"readOnly": true,
991-
"type": "string"
992-
},
993-
"secondaryServers": {
994-
"description": "Output only. The secondary servers",
995-
"items": {
996-
"type": "string"
997-
},
998-
"readOnly": true,
999-
"type": "array"
1000-
}
1001-
},
1002-
"type": "object"
1003-
},
1004-
"BackendServer": {
1005-
"description": "The backend server",
1006-
"id": "BackendServer",
1007-
"properties": {
1008-
"backupFile": {
1009-
"description": "Output only. The backup file",
1010-
"readOnly": true,
1011-
"type": "string"
1012-
},
1013-
"backupSchedule": {
1014-
"description": "Output only. The backup schedule",
1015-
"readOnly": true,
1016-
"type": "string"
1017-
},
1018-
"name": {
1019-
"description": "Output only. The backend name",
1020-
"readOnly": true,
1021-
"type": "string"
1022-
},
1023-
"osVersion": {
1024-
"description": "Output only. OS information",
1025-
"readOnly": true,
1026-
"type": "string"
1027-
},
1028-
"resources": {
1029-
"description": "Output only. resources in the component",
1030-
"items": {
1031-
"$ref": "CloudResource"
1032-
},
1033-
"readOnly": true,
1034-
"type": "array"
1035-
}
1036-
},
1037-
"type": "object"
1038-
},
1039952
"BackupProperties": {
1040953
"description": "Backup properties.",
1041954
"id": "BackupProperties",
@@ -1134,26 +1047,6 @@
11341047
},
11351048
"type": "object"
11361049
},
1137-
"Cluster": {
1138-
"description": "The cluster for sqlserver",
1139-
"id": "Cluster",
1140-
"properties": {
1141-
"nodes": {
1142-
"description": "Output only. The nodes",
1143-
"items": {
1144-
"type": "string"
1145-
},
1146-
"readOnly": true,
1147-
"type": "array"
1148-
},
1149-
"witnessServer": {
1150-
"description": "Output only. The witness server",
1151-
"readOnly": true,
1152-
"type": "string"
1153-
}
1154-
},
1155-
"type": "object"
1156-
},
11571050
"Command": {
11581051
"description": "* Command specifies the type of command to execute.",
11591052
"id": "Command",
@@ -1235,33 +1128,6 @@
12351128
},
12361129
"type": "object"
12371130
},
1238-
"Database": {
1239-
"description": "The database for sqlserver",
1240-
"id": "Database",
1241-
"properties": {
1242-
"backupFile": {
1243-
"description": "Output only. The backup file",
1244-
"readOnly": true,
1245-
"type": "string"
1246-
},
1247-
"backupSchedule": {
1248-
"description": "Output only. The backup schedule",
1249-
"readOnly": true,
1250-
"type": "string"
1251-
},
1252-
"hostVm": {
1253-
"description": "Output only. The host VM",
1254-
"readOnly": true,
1255-
"type": "string"
1256-
},
1257-
"name": {
1258-
"description": "Output only. The database name",
1259-
"readOnly": true,
1260-
"type": "string"
1261-
}
1262-
},
1263-
"type": "object"
1264-
},
12651131
"DatabaseProperties": {
12661132
"description": "Database Properties.",
12671133
"id": "DatabaseProperties",
@@ -1304,7 +1170,7 @@
13041170
"type": "object"
13051171
},
13061172
"Evaluation": {
1307-
"description": "LINT.IfChange Message describing Evaluation object",
1173+
"description": "Message describing Evaluation object",
13081174
"id": "Evaluation",
13091175
"properties": {
13101176
"bigQueryDestination": {
@@ -1574,31 +1440,6 @@
15741440
},
15751441
"type": "object"
15761442
},
1577-
"FrontEndServer": {
1578-
"description": "The front end server",
1579-
"id": "FrontEndServer",
1580-
"properties": {
1581-
"name": {
1582-
"description": "Output only. The frontend name",
1583-
"readOnly": true,
1584-
"type": "string"
1585-
},
1586-
"osVersion": {
1587-
"description": "Output only. OS information",
1588-
"readOnly": true,
1589-
"type": "string"
1590-
},
1591-
"resources": {
1592-
"description": "Output only. resources in the component",
1593-
"items": {
1594-
"$ref": "CloudResource"
1595-
},
1596-
"readOnly": true,
1597-
"type": "array"
1598-
}
1599-
},
1600-
"type": "object"
1601-
},
16021443
"GceInstanceFilter": {
16031444
"description": "Message describing compute engine instance filter",
16041445
"id": "GceInstanceFilter",
@@ -2007,23 +1848,6 @@
20071848
},
20081849
"type": "object"
20091850
},
2010-
"LoadBalancerServer": {
2011-
"description": "The load balancer for sqlserver",
2012-
"id": "LoadBalancerServer",
2013-
"properties": {
2014-
"ip": {
2015-
"description": "Output only. The IP address",
2016-
"readOnly": true,
2017-
"type": "string"
2018-
},
2019-
"vm": {
2020-
"description": "Output only. The VM name",
2021-
"readOnly": true,
2022-
"type": "string"
2023-
}
2024-
},
2025-
"type": "object"
2026-
},
20271851
"Location": {
20281852
"description": "A resource that represents a Google Cloud location.",
20291853
"id": "Location",
@@ -2830,6 +2654,13 @@
28302654
"description": "Disk mount on the instance.",
28312655
"id": "SapDiscoveryResourceInstancePropertiesDiskMount",
28322656
"properties": {
2657+
"diskNames": {
2658+
"description": "Optional. Names of the disks providing this mount point.",
2659+
"items": {
2660+
"type": "string"
2661+
},
2662+
"type": "array"
2663+
},
28332664
"mountPoint": {
28342665
"description": "Optional. Filesystem mount point.",
28352666
"type": "string"
@@ -3157,39 +2988,6 @@
31572988
},
31582989
"type": "object"
31592990
},
3160-
"SqlserverWorkload": {
3161-
"description": "The body of sqlserver workload",
3162-
"id": "SqlserverWorkload",
3163-
"properties": {
3164-
"ags": {
3165-
"description": "Output only. The availability groups for sqlserver",
3166-
"items": {
3167-
"$ref": "AvailabilityGroup"
3168-
},
3169-
"readOnly": true,
3170-
"type": "array"
3171-
},
3172-
"cluster": {
3173-
"$ref": "Cluster",
3174-
"description": "Output only. The cluster for sqlserver",
3175-
"readOnly": true
3176-
},
3177-
"databases": {
3178-
"description": "Output only. The databases for sqlserver",
3179-
"items": {
3180-
"$ref": "Database"
3181-
},
3182-
"readOnly": true,
3183-
"type": "array"
3184-
},
3185-
"loadBalancerServer": {
3186-
"$ref": "LoadBalancerServer",
3187-
"description": "Output only. The load balancer for sqlserver",
3188-
"readOnly": true
3189-
}
3190-
},
3191-
"type": "object"
3192-
},
31932991
"Status": {
31942992
"description": "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).",
31952993
"id": "Status",
@@ -3242,33 +3040,6 @@
32423040
},
32433041
"type": "object"
32443042
},
3245-
"ThreeTierWorkload": {
3246-
"description": "The body of three tier workload",
3247-
"id": "ThreeTierWorkload",
3248-
"properties": {
3249-
"apiLayer": {
3250-
"$ref": "APILayerServer",
3251-
"description": "Output only. The API layer for three tier workload",
3252-
"readOnly": true
3253-
},
3254-
"backend": {
3255-
"$ref": "BackendServer",
3256-
"description": "Output only. The backend for three tier workload",
3257-
"readOnly": true
3258-
},
3259-
"endpoint": {
3260-
"description": "Output only. the workload endpoint",
3261-
"readOnly": true,
3262-
"type": "string"
3263-
},
3264-
"frontend": {
3265-
"$ref": "FrontEndServer",
3266-
"description": "Output only. The frontend for three tier workload",
3267-
"readOnly": true
3268-
}
3269-
},
3270-
"type": "object"
3271-
},
32723043
"TorsoValidation": {
32733044
"description": "The schema of torso workload validation data.",
32743045
"id": "TorsoValidation",
@@ -3324,6 +3095,10 @@
33243095
"description": "Optional. Maintenance status",
33253096
"type": "string"
33263097
},
3098+
"onHostMaintenance": {
3099+
"description": "Optional. Instance maintenance behavior. Could be \"MIGRATE\" or \"TERMINATE\".",
3100+
"type": "string"
3101+
},
33273102
"startTime": {
33283103
"description": "Optional. Start time",
33293104
"format": "google-datetime",
@@ -3397,10 +3172,6 @@
33973172
"$ref": "SapWorkload",
33983173
"description": "The sap workload content"
33993174
},
3400-
"sqlserverWorkload": {
3401-
"$ref": "SqlserverWorkload",
3402-
"description": "The sqlserver workload content"
3403-
},
34043175
"state": {
34053176
"deprecated": true,
34063177
"description": "Output only. [output only] the current state if a a workload",
@@ -3421,10 +3192,6 @@
34213192
"readOnly": true,
34223193
"type": "string"
34233194
},
3424-
"threeTierWorkload": {
3425-
"$ref": "ThreeTierWorkload",
3426-
"description": "The 3 tier web app workload content"
3427-
},
34283195
"workloadType": {
34293196
"description": "Required. The type of the workload",
34303197
"enum": [

0 commit comments

Comments
 (0)