Skip to content

Commit

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

The following keys were changed:
- schemas.OSPolicyResourceExecResourceExec.properties.script.description
- schemas.OSPolicyResourceFileResource.properties.content.description

#### osconfig:v1

The following keys were changed:
- schemas.OSPolicyResourceExecResourceExec.properties.script.description
- schemas.OSPolicyResourceFileResource.properties.content.description
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 2, 2023
1 parent 02f050b commit 3e34814
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions discovery/osconfig-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@
}
}
},
"revision": "20221014",
"revision": "20230129",
"rootUrl": "https://osconfig.googleapis.com/",
"schemas": {
"AptSettings": {
Expand Down Expand Up @@ -2401,7 +2401,7 @@
"type": "string"
},
"script": {
"description": "An inline script. The size of the script is limited to 1024 characters.",
"description": "An inline script. The size of the script is limited to 32KiB.",
"type": "string"
}
},
Expand Down Expand Up @@ -2470,7 +2470,7 @@
"id": "OSPolicyResourceFileResource",
"properties": {
"content": {
"description": "A a file with this content. The size of the content is limited to 1024 characters.",
"description": "A a file with this content. The size of the content is limited to 32KiB.",
"type": "string"
},
"file": {
Expand Down
6 changes: 3 additions & 3 deletions discovery/osconfig-v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@
}
}
},
"revision": "20220319",
"revision": "20230129",
"rootUrl": "https://osconfig.googleapis.com/",
"schemas": {
"CVSSv3": {
Expand Down Expand Up @@ -2100,7 +2100,7 @@
"type": "string"
},
"script": {
"description": "An inline script. The size of the script is limited to 1024 characters.",
"description": "An inline script. The size of the script is limited to 32KiB.",
"type": "string"
}
},
Expand Down Expand Up @@ -2169,7 +2169,7 @@
"id": "OSPolicyResourceFileResource",
"properties": {
"content": {
"description": "A a file with this content. The size of the content is limited to 1024 characters.",
"description": "A a file with this content. The size of the content is limited to 32KiB.",
"type": "string"
},
"file": {
Expand Down
4 changes: 2 additions & 2 deletions src/apis/osconfig/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ export namespace osconfig_v1 {
*/
outputFilePath?: string | null;
/**
* An inline script. The size of the script is limited to 1024 characters.
* An inline script. The size of the script is limited to 32KiB.
*/
script?: string | null;
}
Expand Down Expand Up @@ -1158,7 +1158,7 @@ export namespace osconfig_v1 {
*/
export interface Schema$OSPolicyResourceFileResource {
/**
* A a file with this content. The size of the content is limited to 1024 characters.
* A a file with this content. The size of the content is limited to 32KiB.
*/
content?: string | null;
/**
Expand Down
4 changes: 2 additions & 2 deletions src/apis/osconfig/v1alpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ export namespace osconfig_v1alpha {
*/
outputFilePath?: string | null;
/**
* An inline script. The size of the script is limited to 1024 characters.
* An inline script. The size of the script is limited to 32KiB.
*/
script?: string | null;
}
Expand Down Expand Up @@ -1123,7 +1123,7 @@ export namespace osconfig_v1alpha {
*/
export interface Schema$OSPolicyResourceFileResource {
/**
* A a file with this content. The size of the content is limited to 1024 characters.
* A a file with this content. The size of the content is limited to 32KiB.
*/
content?: string | null;
/**
Expand Down

0 comments on commit 3e34814

Please sign in to comment.