Skip to content

Commit 5654776

Browse files
feat(chromepolicy): update the api
#### chromepolicy:v1 The following keys were added: - schemas.GoogleChromePolicyV1PolicySchemaFieldDependencies (Total Keys: 4)
1 parent 8ad80b2 commit 5654776

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

docs/dyn/chromepolicy_v1.customers.policySchemas.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,12 @@ <h3>Method Details</h3>
173173
{ # Provides detailed information for a particular field that is part of a PolicySchema.
174174
&quot;description&quot;: &quot;A String&quot;, # Output only. The description for the field.
175175
&quot;field&quot;: &quot;A String&quot;, # Output only. The name of the field for associated with this description.
176+
&quot;fieldDependencies&quot;: [ # Output only. Provides a list of fields and the values they must have for this field to be allowed to be set.
177+
{ # The field and the value it must have for another field to be allowed to be set.
178+
&quot;sourceField&quot;: &quot;A String&quot;, # The source field which this field depends on.
179+
&quot;sourceFieldValue&quot;: &quot;A String&quot;, # The value which the source field must have for this field to be allowed to be set.
180+
},
181+
],
176182
&quot;inputConstraint&quot;: &quot;A String&quot;, # Output only. Any input constraints associated on the values for the field.
177183
&quot;knownValueDescriptions&quot;: [ # Output only. If the field has a set of know values, this field will provide a description for these values.
178184
{ # Provides detailed information about a known value that is allowed for a particular field in a PolicySchema.
@@ -287,6 +293,12 @@ <h3>Method Details</h3>
287293
{ # Provides detailed information for a particular field that is part of a PolicySchema.
288294
&quot;description&quot;: &quot;A String&quot;, # Output only. The description for the field.
289295
&quot;field&quot;: &quot;A String&quot;, # Output only. The name of the field for associated with this description.
296+
&quot;fieldDependencies&quot;: [ # Output only. Provides a list of fields and the values they must have for this field to be allowed to be set.
297+
{ # The field and the value it must have for another field to be allowed to be set.
298+
&quot;sourceField&quot;: &quot;A String&quot;, # The source field which this field depends on.
299+
&quot;sourceFieldValue&quot;: &quot;A String&quot;, # The value which the source field must have for this field to be allowed to be set.
300+
},
301+
],
290302
&quot;inputConstraint&quot;: &quot;A String&quot;, # Output only. Any input constraints associated on the values for the field.
291303
&quot;knownValueDescriptions&quot;: [ # Output only. If the field has a set of know values, this field will provide a description for these values.
292304
{ # Provides detailed information about a known value that is allowed for a particular field in a PolicySchema.

googleapiclient/discovery_cache/documents/chromepolicy.v1.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@
324324
}
325325
}
326326
},
327-
"revision": "20210723",
327+
"revision": "20210731",
328328
"rootUrl": "https://chromepolicy.googleapis.com/",
329329
"schemas": {
330330
"GoogleChromePolicyV1AdditionalTargetKeyName": {
@@ -485,6 +485,21 @@
485485
},
486486
"type": "object"
487487
},
488+
"GoogleChromePolicyV1PolicySchemaFieldDependencies": {
489+
"description": "The field and the value it must have for another field to be allowed to be set.",
490+
"id": "GoogleChromePolicyV1PolicySchemaFieldDependencies",
491+
"properties": {
492+
"sourceField": {
493+
"description": "The source field which this field depends on.",
494+
"type": "string"
495+
},
496+
"sourceFieldValue": {
497+
"description": "The value which the source field must have for this field to be allowed to be set.",
498+
"type": "string"
499+
}
500+
},
501+
"type": "object"
502+
},
488503
"GoogleChromePolicyV1PolicySchemaFieldDescription": {
489504
"description": "Provides detailed information for a particular field that is part of a PolicySchema.",
490505
"id": "GoogleChromePolicyV1PolicySchemaFieldDescription",
@@ -499,6 +514,14 @@
499514
"readOnly": true,
500515
"type": "string"
501516
},
517+
"fieldDependencies": {
518+
"description": "Output only. Provides a list of fields and the values they must have for this field to be allowed to be set.",
519+
"items": {
520+
"$ref": "GoogleChromePolicyV1PolicySchemaFieldDependencies"
521+
},
522+
"readOnly": true,
523+
"type": "array"
524+
},
502525
"inputConstraint": {
503526
"description": "Output only. Any input constraints associated on the values for the field.",
504527
"readOnly": true,

0 commit comments

Comments
 (0)