Skip to content

Commit

Permalink
feat(notebooks): update the API
Browse files Browse the repository at this point in the history
#### notebooks:v2

The following keys were added:
- schemas.GceSetup.properties.minCpuPlatform.description
- schemas.GceSetup.properties.minCpuPlatform.type
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 16, 2024
1 parent a4725af commit 177b423
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion discovery/notebooks-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@
}
}
},
"revision": "20240613",
"revision": "20240731",
"rootUrl": "https://notebooks.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -1306,6 +1306,10 @@
"description": "Optional. Custom metadata to apply to this instance.",
"type": "object"
},
"minCpuPlatform": {
"description": "Optional. The minimum CPU platform to use for this instance. The list of valid values can be found in https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform#availablezones",
"type": "string"
},
"networkInterfaces": {
"description": "Optional. The network interfaces for the VM. Supports only one interface.",
"items": {
Expand Down
4 changes: 4 additions & 0 deletions src/apis/notebooks/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,10 @@ export namespace notebooks_v2 {
* Optional. Custom metadata to apply to this instance.
*/
metadata?: {[key: string]: string} | null;
/**
* Optional. The minimum CPU platform to use for this instance. The list of valid values can be found in https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform#availablezones
*/
minCpuPlatform?: string | null;
/**
* Optional. The network interfaces for the VM. Supports only one interface.
*/
Expand Down

0 comments on commit 177b423

Please sign in to comment.