Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7a60fa6

Browse files
committedMar 7, 2023
feat(orgpolicy): update the api
#### orgpolicy:v2 The following keys were added: - schemas.GoogleCloudOrgpolicyV2Constraint.properties.supportsDryRun.type (Total Keys: 1)
1 parent 37957e6 commit 7a60fa6

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed
 

‎docs/dyn/orgpolicy_v2.folders.constraints.html

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ <h3>Method Details</h3>
118118
&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.
119119
},
120120
&quot;name&quot;: &quot;A String&quot;, # Immutable. The resource name of the constraint. Must be in one of the following forms: * `projects/{project_number}/constraints/{constraint_name}` * `folders/{folder_id}/constraints/{constraint_name}` * `organizations/{organization_id}/constraints/{constraint_name}` For example, &quot;/projects/123/constraints/compute.disableSerialPortAccess&quot;.
121+
&quot;supportsDryRun&quot;: True or False, # Shows if dry run is supported for this constraint or not.
121122
},
122123
],
123124
&quot;nextPageToken&quot;: &quot;A String&quot;, # Page token used to retrieve the next page. This is currently not used.

‎docs/dyn/orgpolicy_v2.organizations.constraints.html

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ <h3>Method Details</h3>
118118
&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.
119119
},
120120
&quot;name&quot;: &quot;A String&quot;, # Immutable. The resource name of the constraint. Must be in one of the following forms: * `projects/{project_number}/constraints/{constraint_name}` * `folders/{folder_id}/constraints/{constraint_name}` * `organizations/{organization_id}/constraints/{constraint_name}` For example, &quot;/projects/123/constraints/compute.disableSerialPortAccess&quot;.
121+
&quot;supportsDryRun&quot;: True or False, # Shows if dry run is supported for this constraint or not.
121122
},
122123
],
123124
&quot;nextPageToken&quot;: &quot;A String&quot;, # Page token used to retrieve the next page. This is currently not used.

‎docs/dyn/orgpolicy_v2.projects.constraints.html

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ <h3>Method Details</h3>
118118
&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.
119119
},
120120
&quot;name&quot;: &quot;A String&quot;, # Immutable. The resource name of the constraint. Must be in one of the following forms: * `projects/{project_number}/constraints/{constraint_name}` * `folders/{folder_id}/constraints/{constraint_name}` * `organizations/{organization_id}/constraints/{constraint_name}` For example, &quot;/projects/123/constraints/compute.disableSerialPortAccess&quot;.
121+
&quot;supportsDryRun&quot;: True or False, # Shows if dry run is supported for this constraint or not.
121122
},
122123
],
123124
&quot;nextPageToken&quot;: &quot;A String&quot;, # Page token used to retrieve the next page. This is currently not used.

‎googleapiclient/discovery_cache/documents/orgpolicy.v2.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@
915915
}
916916
}
917917
},
918-
"revision": "20230226",
918+
"revision": "20230306",
919919
"rootUrl": "https://orgpolicy.googleapis.com/",
920920
"schemas": {
921921
"GoogleCloudOrgpolicyV2AlternatePolicySpec": {
@@ -970,6 +970,10 @@
970970
"name": {
971971
"description": "Immutable. The resource name of the constraint. Must be in one of the following forms: * `projects/{project_number}/constraints/{constraint_name}` * `folders/{folder_id}/constraints/{constraint_name}` * `organizations/{organization_id}/constraints/{constraint_name}` For example, \"/projects/123/constraints/compute.disableSerialPortAccess\".",
972972
"type": "string"
973+
},
974+
"supportsDryRun": {
975+
"description": "Shows if dry run is supported for this constraint or not.",
976+
"type": "boolean"
973977
}
974978
},
975979
"type": "object"

0 commit comments

Comments
 (0)
Please sign in to comment.