Skip to content

Commit e203985

Browse files
feat(chromepolicy): update the api
#### chromepolicy:v1 The following keys were added: - schemas.GoogleChromePolicyVersionsV1FieldConstraints.properties.uploadedFileConstraints.$ref (Total Keys: 1) - schemas.GoogleChromePolicyVersionsV1UploadedFileConstraints (Total Keys: 6)
1 parent 8bb9390 commit e203985

File tree

2 files changed

+64
-1
lines changed

2 files changed

+64
-1
lines changed

docs/dyn/chromepolicy_v1.customers.policySchemas.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,12 @@ <h3>Method Details</h3>
181181
&quot;maximum&quot;: &quot;A String&quot;, # Maximum value.
182182
&quot;minimum&quot;: &quot;A String&quot;, # Minimum value.
183183
},
184+
&quot;uploadedFileConstraints&quot;: { # Constraints on the uploaded file of a file policy. # Constraints on the uploaded file of a file policy. If present, this policy requires a URL that can be fetched by uploading a file with the constraints specified in this proto.
185+
&quot;sizeLimitBytes&quot;: &quot;A String&quot;, # The size limit of uploaded files for a setting, in bytes.
186+
&quot;supportedContentTypes&quot;: [ # File types that can be uploaded for a setting.
187+
&quot;A String&quot;,
188+
],
189+
},
184190
},
185191
&quot;fieldDependencies&quot;: [ # Output only. Provides a list of fields and values. At least one of the fields must have the corresponding value in order for this field to be allowed to be set.
186192
{ # The field and the value it must have for another field to be allowed to be set.
@@ -349,6 +355,12 @@ <h3>Method Details</h3>
349355
&quot;maximum&quot;: &quot;A String&quot;, # Maximum value.
350356
&quot;minimum&quot;: &quot;A String&quot;, # Minimum value.
351357
},
358+
&quot;uploadedFileConstraints&quot;: { # Constraints on the uploaded file of a file policy. # Constraints on the uploaded file of a file policy. If present, this policy requires a URL that can be fetched by uploading a file with the constraints specified in this proto.
359+
&quot;sizeLimitBytes&quot;: &quot;A String&quot;, # The size limit of uploaded files for a setting, in bytes.
360+
&quot;supportedContentTypes&quot;: [ # File types that can be uploaded for a setting.
361+
&quot;A String&quot;,
362+
],
363+
},
352364
},
353365
&quot;fieldDependencies&quot;: [ # Output only. Provides a list of fields and values. At least one of the fields must have the corresponding value in order for this field to be allowed to be set.
354366
{ # The field and the value it must have for another field to be allowed to be set.

googleapiclient/discovery_cache/documents/chromepolicy.v1.json

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@
557557
}
558558
}
559559
},
560-
"revision": "20240107",
560+
"revision": "20240111",
561561
"rootUrl": "https://chromepolicy.googleapis.com/",
562562
"schemas": {
563563
"GoogleChromePolicyVersionsV1AdditionalTargetKeyName": {
@@ -762,6 +762,10 @@
762762
"numericRangeConstraint": {
763763
"$ref": "GoogleChromePolicyVersionsV1NumericRangeConstraint",
764764
"description": "The allowed range for numeric fields."
765+
},
766+
"uploadedFileConstraints": {
767+
"$ref": "GoogleChromePolicyVersionsV1UploadedFileConstraints",
768+
"description": "Constraints on the uploaded file of a file policy. If present, this policy requires a URL that can be fetched by uploading a file with the constraints specified in this proto."
765769
}
766770
},
767771
"type": "object"
@@ -1520,6 +1524,53 @@
15201524
},
15211525
"type": "object"
15221526
},
1527+
"GoogleChromePolicyVersionsV1UploadedFileConstraints": {
1528+
"description": "Constraints on the uploaded file of a file policy.",
1529+
"id": "GoogleChromePolicyVersionsV1UploadedFileConstraints",
1530+
"properties": {
1531+
"sizeLimitBytes": {
1532+
"description": "The size limit of uploaded files for a setting, in bytes.",
1533+
"format": "int64",
1534+
"type": "string"
1535+
},
1536+
"supportedContentTypes": {
1537+
"description": "File types that can be uploaded for a setting.",
1538+
"items": {
1539+
"enum": [
1540+
"CONTENT_TYPE_UNSPECIFIED",
1541+
"CONTENT_TYPE_PLAIN_TEXT",
1542+
"CONTENT_TYPE_HTML",
1543+
"CONTENT_TYPE_IMAGE_JPEG",
1544+
"CONTENT_TYPE_IMAGE_GIF",
1545+
"CONTENT_TYPE_IMAGE_PNG",
1546+
"CONTENT_TYPE_JSON",
1547+
"CONTENT_TYPE_ZIP",
1548+
"CONTENT_TYPE_GZIP",
1549+
"CONTENT_TYPE_CSV",
1550+
"CONTENT_TYPE_YAML",
1551+
"CONTENT_TYPE_IMAGE_WEBP"
1552+
],
1553+
"enumDescriptions": [
1554+
"Unspecified content type.",
1555+
"Plain text.",
1556+
"HTML.",
1557+
"JPEG.",
1558+
"GIF.",
1559+
"PNG.",
1560+
"JSON.",
1561+
"ZIP.",
1562+
"GZIP.",
1563+
"CSV.",
1564+
"YAML.",
1565+
"WEBP."
1566+
],
1567+
"type": "string"
1568+
},
1569+
"type": "array"
1570+
}
1571+
},
1572+
"type": "object"
1573+
},
15231574
"GoogleProtobufEmpty": {
15241575
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
15251576
"id": "GoogleProtobufEmpty",

0 commit comments

Comments
 (0)