Skip to content

Commit d124474

Browse files
feat(orgpolicy): update the api
#### orgpolicy:v2 The following keys were added: - schemas.GoogleCloudOrgpolicyV2Constraint.properties.equivalentConstraint.type (Total Keys: 1)
1 parent 6678c3b commit d124474

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

docs/dyn/orgpolicy_v2.folders.constraints.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ <h3>Method Details</h3>
134134
&quot;constraintDefault&quot;: &quot;A String&quot;, # The evaluation behavior of this constraint in the absence of a policy.
135135
&quot;description&quot;: &quot;A String&quot;, # Detailed description of what this constraint controls as well as how and where it is enforced. Mutable.
136136
&quot;displayName&quot;: &quot;A String&quot;, # The human readable name. Mutable.
137+
&quot;equivalentConstraint&quot;: &quot;A String&quot;, # Managed constraint and canned constraint sometimes can have equivalents. This field is used to store the equivalent constraint name.
137138
&quot;listConstraint&quot;: { # A constraint type that allows or disallows a list of string values, which are configured in the `PolicyRule`. # Defines this constraint as being a list constraint.
138139
&quot;supportsIn&quot;: True or False, # Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `&quot;in:Python&quot;` would match any value in the &#x27;Python&#x27; group.
139140
&quot;supportsUnder&quot;: True or False, # Indicates whether subtrees of the Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `&quot;under:folders/123&quot;` would match any resource under the &#x27;folders/123&#x27; folder.

docs/dyn/orgpolicy_v2.organizations.constraints.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ <h3>Method Details</h3>
134134
&quot;constraintDefault&quot;: &quot;A String&quot;, # The evaluation behavior of this constraint in the absence of a policy.
135135
&quot;description&quot;: &quot;A String&quot;, # Detailed description of what this constraint controls as well as how and where it is enforced. Mutable.
136136
&quot;displayName&quot;: &quot;A String&quot;, # The human readable name. Mutable.
137+
&quot;equivalentConstraint&quot;: &quot;A String&quot;, # Managed constraint and canned constraint sometimes can have equivalents. This field is used to store the equivalent constraint name.
137138
&quot;listConstraint&quot;: { # A constraint type that allows or disallows a list of string values, which are configured in the `PolicyRule`. # Defines this constraint as being a list constraint.
138139
&quot;supportsIn&quot;: True or False, # Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `&quot;in:Python&quot;` would match any value in the &#x27;Python&#x27; group.
139140
&quot;supportsUnder&quot;: True or False, # Indicates whether subtrees of the Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `&quot;under:folders/123&quot;` would match any resource under the &#x27;folders/123&#x27; folder.

docs/dyn/orgpolicy_v2.projects.constraints.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ <h3>Method Details</h3>
134134
&quot;constraintDefault&quot;: &quot;A String&quot;, # The evaluation behavior of this constraint in the absence of a policy.
135135
&quot;description&quot;: &quot;A String&quot;, # Detailed description of what this constraint controls as well as how and where it is enforced. Mutable.
136136
&quot;displayName&quot;: &quot;A String&quot;, # The human readable name. Mutable.
137+
&quot;equivalentConstraint&quot;: &quot;A String&quot;, # Managed constraint and canned constraint sometimes can have equivalents. This field is used to store the equivalent constraint name.
137138
&quot;listConstraint&quot;: { # A constraint type that allows or disallows a list of string values, which are configured in the `PolicyRule`. # Defines this constraint as being a list constraint.
138139
&quot;supportsIn&quot;: True or False, # Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `&quot;in:Python&quot;` would match any value in the &#x27;Python&#x27; group.
139140
&quot;supportsUnder&quot;: True or False, # Indicates whether subtrees of the Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `&quot;under:folders/123&quot;` would match any resource under the &#x27;folders/123&#x27; folder.

googleapiclient/discovery_cache/documents/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."

0 commit comments

Comments
 (0)