Skip to content

Commit

Permalink
fix(osconfig): update the API
Browse files Browse the repository at this point in the history
#### osconfig:v1

The following keys were changed:
- schemas.InventoryItem.properties.type.enumDescriptions
- schemas.OSPolicyResourceExecResourceExec.properties.outputFilePath.description
  • Loading branch information
yoshi-automation authored and sofisl committed Sep 4, 2024
1 parent 83b879c commit 16514a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions discovery/osconfig-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@
}
}
},
"revision": "20240602",
"revision": "20240901",
"rootUrl": "https://osconfig.googleapis.com/",
"schemas": {
"AptSettings": {
Expand Down Expand Up @@ -1565,7 +1565,7 @@
"AVAILABLE_PACKAGE"
],
"enumDescriptions": [
"Invalid. An type must be specified.",
"Invalid. A type must be specified.",
"This represents a package that is installed on the VM.",
"This represents an update that is available for a package."
],
Expand Down Expand Up @@ -2480,7 +2480,7 @@
"type": "string"
},
"outputFilePath": {
"description": "Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.",
"description": "Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 500K bytes.",
"type": "string"
},
"script": {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/osconfig/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ export namespace osconfig_v1 {
*/
interpreter?: string | null;
/**
* Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
* Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 500K bytes.
*/
outputFilePath?: string | null;
/**
Expand Down

0 comments on commit 16514a1

Please sign in to comment.