Skip to content

Commit 52b703a

Browse files
feat(orgpolicy): update the API
#### orgpolicy:v2 The following keys were added: - schemas.GoogleCloudOrgpolicyV2Constraint.properties.equivalentConstraint.description - schemas.GoogleCloudOrgpolicyV2Constraint.properties.equivalentConstraint.type
1 parent 7400caa commit 52b703a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

‎discovery/orgpolicy-v2.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@
930930
}
931931
}
932932
},
933-
"revision": "20250117",
933+
"revision": "20250418",
934934
"rootUrl": "https://orgpolicy.googleapis.com/",
935935
"schemas": {
936936
"GoogleCloudOrgpolicyV2AlternatePolicySpec": {
@@ -978,6 +978,10 @@
978978
"description": "The human readable name. Mutable.",
979979
"type": "string"
980980
},
981+
"equivalentConstraint": {
982+
"description": "Managed constraint and canned constraint sometimes can have equivalents. This field is used to store the equivalent constraint name.",
983+
"type": "string"
984+
},
981985
"listConstraint": {
982986
"$ref": "GoogleCloudOrgpolicyV2ConstraintListConstraint",
983987
"description": "Defines this constraint as being a list constraint."

‎src/apis/orgpolicy/v2.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ export namespace orgpolicy_v2 {
161161
* The human readable name. Mutable.
162162
*/
163163
displayName?: string | null;
164+
/**
165+
* Managed constraint and canned constraint sometimes can have equivalents. This field is used to store the equivalent constraint name.
166+
*/
167+
equivalentConstraint?: string | null;
164168
/**
165169
* Defines this constraint as being a list constraint.
166170
*/

0 commit comments

Comments
 (0)