Skip to content

Commit ecaafc4

Browse files
feat(chromepolicy): update the api
#### chromepolicy:v1 The following keys were added: - schemas.GoogleChromePolicyV1PolicySchema.properties.validTargetResources (Total Keys: 3)
1 parent e8c7e8d commit ecaafc4

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

docs/dyn/chromepolicy_v1.customers.policySchemas.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ <h3>Method Details</h3>
106106
Returns:
107107
An object of the form:
108108

109-
{ # Resource representing a policy schema. Next ID: 10
109+
{ # Resource representing a policy schema. Next ID: 11
110110
&quot;accessRestrictions&quot;: [ # Output only. Specific access restrictions related to this policy.
111111
&quot;A String&quot;,
112112
],
@@ -203,6 +203,9 @@ <h3>Method Details</h3>
203203
&quot;policyDescription&quot;: &quot;A String&quot;, # Output only. Description about the policy schema for user consumption.
204204
&quot;schemaName&quot;: &quot;A String&quot;, # Output only. The full qualified name of the policy schema. This value is used to fill the field `policy_schema` in PolicyValue when calling BatchInheritOrgUnitPolicies or BatchModifyOrgUnitPolicies.
205205
&quot;supportUri&quot;: &quot;A String&quot;, # Output only. URI to related support article for this schema.
206+
&quot;validTargetResources&quot;: [ # Output only. Information about applicable target resources for the policy.
207+
&quot;A String&quot;,
208+
],
206209
}</pre>
207210
</div>
208211

@@ -226,7 +229,7 @@ <h3>Method Details</h3>
226229
{ # Response message for listing policy schemas that match a filter.
227230
&quot;nextPageToken&quot;: &quot;A String&quot;, # The page token used to get the next page of policy schemas.
228231
&quot;policySchemas&quot;: [ # The list of policy schemas that match the query.
229-
{ # Resource representing a policy schema. Next ID: 10
232+
{ # Resource representing a policy schema. Next ID: 11
230233
&quot;accessRestrictions&quot;: [ # Output only. Specific access restrictions related to this policy.
231234
&quot;A String&quot;,
232235
],
@@ -323,6 +326,9 @@ <h3>Method Details</h3>
323326
&quot;policyDescription&quot;: &quot;A String&quot;, # Output only. Description about the policy schema for user consumption.
324327
&quot;schemaName&quot;: &quot;A String&quot;, # Output only. The full qualified name of the policy schema. This value is used to fill the field `policy_schema` in PolicyValue when calling BatchInheritOrgUnitPolicies or BatchModifyOrgUnitPolicies.
325328
&quot;supportUri&quot;: &quot;A String&quot;, # Output only. URI to related support article for this schema.
329+
&quot;validTargetResources&quot;: [ # Output only. Information about applicable target resources for the policy.
330+
&quot;A String&quot;,
331+
],
326332
},
327333
],
328334
}</pre>

googleapiclient/discovery_cache/documents/chromepolicy.v1.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@
324324
}
325325
}
326326
},
327-
"revision": "20211002",
327+
"revision": "20211008",
328328
"rootUrl": "https://chromepolicy.googleapis.com/",
329329
"schemas": {
330330
"GoogleChromePolicyV1AdditionalTargetKeyName": {
@@ -424,7 +424,7 @@
424424
"type": "object"
425425
},
426426
"GoogleChromePolicyV1PolicySchema": {
427-
"description": "Resource representing a policy schema. Next ID: 10",
427+
"description": "Resource representing a policy schema. Next ID: 11",
428428
"id": "GoogleChromePolicyV1PolicySchema",
429429
"properties": {
430430
"accessRestrictions": {
@@ -481,6 +481,24 @@
481481
"description": "Output only. URI to related support article for this schema.",
482482
"readOnly": true,
483483
"type": "string"
484+
},
485+
"validTargetResources": {
486+
"description": "Output only. Information about applicable target resources for the policy.",
487+
"items": {
488+
"enum": [
489+
"TARGET_RESOURCE_UNSPECIFIED",
490+
"ORG_UNIT",
491+
"GROUP"
492+
],
493+
"enumDescriptions": [
494+
"Unspecified target resource.",
495+
"Organizational Unit target resource.",
496+
"Group target resource."
497+
],
498+
"type": "string"
499+
},
500+
"readOnly": true,
501+
"type": "array"
484502
}
485503
},
486504
"type": "object"

0 commit comments

Comments
 (0)