Skip to content

Commit f835f12

Browse files
yoshi-automationquirogas
authored andcommitted
feat(servicecontrol): update the API
#### servicecontrol:v1 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 a1ade6e commit f835f12

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

discovery/servicecontrol-v1.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
}
198198
}
199199
},
200-
"revision": "20250820",
200+
"revision": "20251125",
201201
"rootUrl": "https://servicecontrol.googleapis.com/",
202202
"schemas": {
203203
"AllocateInfo": {
@@ -2292,6 +2292,14 @@
22922292
"description": "Optional. Constraint name",
22932293
"type": "string"
22942294
},
2295+
"constraintViolationInfo": {
2296+
"additionalProperties": {
2297+
"description": "Properties of the object.",
2298+
"type": "any"
2299+
},
2300+
"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.",
2301+
"type": "object"
2302+
},
22952303
"errorMessage": {
22962304
"description": "Optional. Error message that policy is indicating.",
22972305
"type": "string"

src/apis/servicecontrol/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,6 +1579,10 @@ export namespace servicecontrol_v1 {
15791579
* Optional. Constraint name
15801580
*/
15811581
constraint?: string | null;
1582+
/**
1583+
* 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.
1584+
*/
1585+
constraintViolationInfo?: {[key: string]: any} | null;
15821586
/**
15831587
* Optional. Error message that policy is indicating.
15841588
*/

0 commit comments

Comments
 (0)