Skip to content

Commit

Permalink
feat(chromepolicy): update the api
Browse files Browse the repository at this point in the history
#### chromepolicy:v1

The following keys were added:
- schemas.GoogleChromePolicyVersionsV1FieldConstraints.properties.uploadedFileConstraints.$ref (Total Keys: 1)
- schemas.GoogleChromePolicyVersionsV1UploadedFileConstraints (Total Keys: 6)
  • Loading branch information
yoshi-automation committed Jan 16, 2024
1 parent 8bb9390 commit e203985
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docs/dyn/chromepolicy_v1.customers.policySchemas.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ <h3>Method Details</h3>
&quot;maximum&quot;: &quot;A String&quot;, # Maximum value.
&quot;minimum&quot;: &quot;A String&quot;, # Minimum value.
},
&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.
&quot;sizeLimitBytes&quot;: &quot;A String&quot;, # The size limit of uploaded files for a setting, in bytes.
&quot;supportedContentTypes&quot;: [ # File types that can be uploaded for a setting.
&quot;A String&quot;,
],
},
},
&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.
{ # The field and the value it must have for another field to be allowed to be set.
Expand Down Expand Up @@ -349,6 +355,12 @@ <h3>Method Details</h3>
&quot;maximum&quot;: &quot;A String&quot;, # Maximum value.
&quot;minimum&quot;: &quot;A String&quot;, # Minimum value.
},
&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.
&quot;sizeLimitBytes&quot;: &quot;A String&quot;, # The size limit of uploaded files for a setting, in bytes.
&quot;supportedContentTypes&quot;: [ # File types that can be uploaded for a setting.
&quot;A String&quot;,
],
},
},
&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.
{ # The field and the value it must have for another field to be allowed to be set.
Expand Down
53 changes: 52 additions & 1 deletion googleapiclient/discovery_cache/documents/chromepolicy.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@
}
}
},
"revision": "20240107",
"revision": "20240111",
"rootUrl": "https://chromepolicy.googleapis.com/",
"schemas": {
"GoogleChromePolicyVersionsV1AdditionalTargetKeyName": {
Expand Down Expand Up @@ -762,6 +762,10 @@
"numericRangeConstraint": {
"$ref": "GoogleChromePolicyVersionsV1NumericRangeConstraint",
"description": "The allowed range for numeric fields."
},
"uploadedFileConstraints": {
"$ref": "GoogleChromePolicyVersionsV1UploadedFileConstraints",
"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."
}
},
"type": "object"
Expand Down Expand Up @@ -1520,6 +1524,53 @@
},
"type": "object"
},
"GoogleChromePolicyVersionsV1UploadedFileConstraints": {
"description": "Constraints on the uploaded file of a file policy.",
"id": "GoogleChromePolicyVersionsV1UploadedFileConstraints",
"properties": {
"sizeLimitBytes": {
"description": "The size limit of uploaded files for a setting, in bytes.",
"format": "int64",
"type": "string"
},
"supportedContentTypes": {
"description": "File types that can be uploaded for a setting.",
"items": {
"enum": [
"CONTENT_TYPE_UNSPECIFIED",
"CONTENT_TYPE_PLAIN_TEXT",
"CONTENT_TYPE_HTML",
"CONTENT_TYPE_IMAGE_JPEG",
"CONTENT_TYPE_IMAGE_GIF",
"CONTENT_TYPE_IMAGE_PNG",
"CONTENT_TYPE_JSON",
"CONTENT_TYPE_ZIP",
"CONTENT_TYPE_GZIP",
"CONTENT_TYPE_CSV",
"CONTENT_TYPE_YAML",
"CONTENT_TYPE_IMAGE_WEBP"
],
"enumDescriptions": [
"Unspecified content type.",
"Plain text.",
"HTML.",
"JPEG.",
"GIF.",
"PNG.",
"JSON.",
"ZIP.",
"GZIP.",
"CSV.",
"YAML.",
"WEBP."
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleProtobufEmpty": {
"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); }",
"id": "GoogleProtobufEmpty",
Expand Down

0 comments on commit e203985

Please sign in to comment.