Skip to content

Commit 6c5ce85

Browse files
yoshi-automationsofisl
authored andcommitted
feat(workloadmanager): update the API
#### workloadmanager:v1 The following keys were added: - schemas.AgentStates.description - schemas.AgentStates.id - schemas.AgentStates.properties.availableVersion.description - schemas.AgentStates.properties.availableVersion.type - schemas.AgentStates.properties.installedVersion.description - schemas.AgentStates.properties.installedVersion.type - schemas.AgentStates.type - schemas.Evaluation.properties.kmsKey.description - schemas.Evaluation.properties.kmsKey.type - schemas.SapInstanceProperties.properties.agentStates.$ref - schemas.SapInstanceProperties.properties.agentStates.description
1 parent b7fcf93 commit 6c5ce85

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

discovery/workloadmanager-v1.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@
879879
}
880880
}
881881
},
882-
"revision": "20250714",
882+
"revision": "20250727",
883883
"rootUrl": "https://workloadmanager.googleapis.com/",
884884
"schemas": {
885885
"AgentCommand": {
@@ -900,6 +900,21 @@
900900
},
901901
"type": "object"
902902
},
903+
"AgentStates": {
904+
"description": "Agent status.",
905+
"id": "AgentStates",
906+
"properties": {
907+
"availableVersion": {
908+
"description": "Optional. The available version of the agent in artifact registry.",
909+
"type": "string"
910+
},
911+
"installedVersion": {
912+
"description": "Optional. The installed version of the agent on the host.",
913+
"type": "string"
914+
}
915+
},
916+
"type": "object"
917+
},
903918
"AgentStatus": {
904919
"description": "The schema of agent status data.",
905920
"id": "AgentStatus",
@@ -1367,6 +1382,10 @@
13671382
],
13681383
"type": "string"
13691384
},
1385+
"kmsKey": {
1386+
"description": "Optional. Immutable. Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*.",
1387+
"type": "string"
1388+
},
13701389
"labels": {
13711390
"additionalProperties": {
13721391
"type": "string"
@@ -2807,6 +2826,10 @@
28072826
"description": "SAP instance properties.",
28082827
"id": "SapInstanceProperties",
28092828
"properties": {
2829+
"agentStates": {
2830+
"$ref": "AgentStates",
2831+
"description": "Optional. Sap Instance Agent status."
2832+
},
28102833
"numbers": {
28112834
"description": "Optional. SAP Instance numbers. They are from '00' to '99'.",
28122835
"items": {

src/apis/workloadmanager/v1.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,19 @@ export namespace workloadmanager_v1 {
137137
*/
138138
parameters?: {[key: string]: string} | null;
139139
}
140+
/**
141+
* Agent status.
142+
*/
143+
export interface Schema$AgentStates {
144+
/**
145+
* Optional. The available version of the agent in artifact registry.
146+
*/
147+
availableVersion?: string | null;
148+
/**
149+
* Optional. The installed version of the agent on the host.
150+
*/
151+
installedVersion?: string | null;
152+
}
140153
/**
141154
* The schema of agent status data.
142155
*/
@@ -371,6 +384,10 @@ export namespace workloadmanager_v1 {
371384
* Evaluation type
372385
*/
373386
evaluationType?: string | null;
387+
/**
388+
* Optional. Immutable. Customer-managed encryption key name, in the format projects/x/locations/x/keyRings/x/cryptoKeys/x.
389+
*/
390+
kmsKey?: string | null;
374391
/**
375392
* Labels as key value pairs
376393
*/
@@ -1345,6 +1362,10 @@ export namespace workloadmanager_v1 {
13451362
* SAP instance properties.
13461363
*/
13471364
export interface Schema$SapInstanceProperties {
1365+
/**
1366+
* Optional. Sap Instance Agent status.
1367+
*/
1368+
agentStates?: Schema$AgentStates;
13481369
/**
13491370
* Optional. SAP Instance numbers. They are from '00' to '99'.
13501371
*/
@@ -2217,6 +2238,7 @@ export namespace workloadmanager_v1 {
22172238
* // "customRulesBucket": "my_customRulesBucket",
22182239
* // "description": "my_description",
22192240
* // "evaluationType": "my_evaluationType",
2241+
* // "kmsKey": "my_kmsKey",
22202242
* // "labels": {},
22212243
* // "name": "my_name",
22222244
* // "resourceFilter": {},
@@ -2522,6 +2544,7 @@ export namespace workloadmanager_v1 {
25222544
* // "customRulesBucket": "my_customRulesBucket",
25232545
* // "description": "my_description",
25242546
* // "evaluationType": "my_evaluationType",
2547+
* // "kmsKey": "my_kmsKey",
25252548
* // "labels": {},
25262549
* // "name": "my_name",
25272550
* // "resourceFilter": {},

0 commit comments

Comments
 (0)