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 af8e656

Browse files
committedJan 24, 2023
feat(orgpolicy): update the api
#### orgpolicy:v2 The following keys were added: - resources.folders.resources.policies.methods.patch.parameters.updateMask (Total Keys: 3) - resources.organizations.resources.policies.methods.patch.parameters.updateMask (Total Keys: 3) - resources.projects.resources.policies.methods.patch.parameters.updateMask (Total Keys: 3) - schemas.GoogleCloudOrgpolicyV2Policy.properties.dryRunSpec.$ref (Total Keys: 1)
1 parent 032d453 commit af8e656

File tree

4 files changed

+599
-7
lines changed

4 files changed

+599
-7
lines changed
 

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

+192-2
Large diffs are not rendered by default.

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

+192-2
Large diffs are not rendered by default.

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

+192-2
Large diffs are not rendered by default.

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

+23-1
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,12 @@
303303
"pattern": "^folders/[^/]+/policies/[^/]+$",
304304
"required": true,
305305
"type": "string"
306+
},
307+
"updateMask": {
308+
"description": "Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.",
309+
"format": "google-fieldmask",
310+
"location": "query",
311+
"type": "string"
306312
}
307313
},
308314
"path": "v2/{+name}",
@@ -664,6 +670,12 @@
664670
"pattern": "^organizations/[^/]+/policies/[^/]+$",
665671
"required": true,
666672
"type": "string"
673+
},
674+
"updateMask": {
675+
"description": "Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.",
676+
"format": "google-fieldmask",
677+
"location": "query",
678+
"type": "string"
667679
}
668680
},
669681
"path": "v2/{+name}",
@@ -879,6 +891,12 @@
879891
"pattern": "^projects/[^/]+/policies/[^/]+$",
880892
"required": true,
881893
"type": "string"
894+
},
895+
"updateMask": {
896+
"description": "Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.",
897+
"format": "google-fieldmask",
898+
"location": "query",
899+
"type": "string"
882900
}
883901
},
884902
"path": "v2/{+name}",
@@ -897,7 +915,7 @@
897915
}
898916
}
899917
},
900-
"revision": "20230111",
918+
"revision": "20230121",
901919
"rootUrl": "https://orgpolicy.googleapis.com/",
902920
"schemas": {
903921
"GoogleCloudOrgpolicyV2AlternatePolicySpec": {
@@ -1108,6 +1126,10 @@
11081126
"$ref": "GoogleCloudOrgpolicyV2AlternatePolicySpec",
11091127
"description": "Deprecated."
11101128
},
1129+
"dryRunSpec": {
1130+
"$ref": "GoogleCloudOrgpolicyV2PolicySpec",
1131+
"description": "dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced."
1132+
},
11111133
"name": {
11121134
"description": "Immutable. The resource name of the Policy. Must be one of the following forms, where constraint_name is the name of the constraint which this Policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, \"projects/123/policies/compute.disableSerialPortAccess\". Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.",
11131135
"type": "string"

0 commit comments

Comments
 (0)
Please sign in to comment.