Skip to content

Commit b7b21a1

Browse files
yoshi-automationquirogas
authored andcommitted
feat(servicecontrol): update the API
#### servicecontrol:v2 The following keys were added: - schemas.ViolationInfo.properties.constraintViolationInfo.additionalProperties.description - schemas.ViolationInfo.properties.constraintViolationInfo.additionalProperties.type - schemas.ViolationInfo.properties.constraintViolationInfo.description - schemas.ViolationInfo.properties.constraintViolationInfo.type
1 parent 75cfbb6 commit b7b21a1

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

discovery/servicecontrol-v2.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
}
170170
}
171171
},
172-
"revision": "20250820",
172+
"revision": "20251125",
173173
"rootUrl": "https://servicecontrol.googleapis.com/",
174174
"schemas": {
175175
"Api": {
@@ -1309,6 +1309,14 @@
13091309
"description": "Optional. Constraint name",
13101310
"type": "string"
13111311
},
1312+
"constraintViolationInfo": {
1313+
"additionalProperties": {
1314+
"description": "Properties of the object.",
1315+
"type": "any"
1316+
},
1317+
"description": "Optional. Provides extra information for the specific violated constraint. See the constraint's documentation to determine if this field is populated and what the structure of the message should be.",
1318+
"type": "object"
1319+
},
13121320
"errorMessage": {
13131321
"description": "Optional. Error message that policy is indicating.",
13141322
"type": "string"

src/apis/servicecontrol/v2.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,10 @@ export namespace servicecontrol_v2 {
973973
* Optional. Constraint name
974974
*/
975975
constraint?: string | null;
976+
/**
977+
* Optional. Provides extra information for the specific violated constraint. See the constraint's documentation to determine if this field is populated and what the structure of the message should be.
978+
*/
979+
constraintViolationInfo?: {[key: string]: any} | null;
976980
/**
977981
* Optional. Error message that policy is indicating.
978982
*/

0 commit comments

Comments
 (0)