Skip to content

Commit 1bc718d

Browse files
feat(notebooks): update the API
#### notebooks:v2 The following keys were added: - schemas.ConfidentialInstanceConfig.description - schemas.ConfidentialInstanceConfig.id - schemas.ConfidentialInstanceConfig.properties.confidentialInstanceType.description - schemas.ConfidentialInstanceConfig.properties.confidentialInstanceType.enum - schemas.ConfidentialInstanceConfig.properties.confidentialInstanceType.enumDescriptions - schemas.ConfidentialInstanceConfig.properties.confidentialInstanceType.type - schemas.ConfidentialInstanceConfig.properties.enableConfidentialCompute.description - schemas.ConfidentialInstanceConfig.properties.enableConfidentialCompute.type - schemas.ConfidentialInstanceConfig.type - schemas.GceSetup.properties.confidentialInstanceConfig.$ref - schemas.GceSetup.properties.confidentialInstanceConfig.description
1 parent 3ed283d commit 1bc718d

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

‎discovery/notebooks-v2.json

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@
904904
}
905905
}
906906
},
907-
"revision": "20250224",
907+
"revision": "20250319",
908908
"rootUrl": "https://notebooks.googleapis.com/",
909909
"schemas": {
910910
"AcceleratorConfig": {
@@ -1063,6 +1063,33 @@
10631063
},
10641064
"type": "object"
10651065
},
1066+
"ConfidentialInstanceConfig": {
1067+
"description": "A set of Confidential Instance options.",
1068+
"id": "ConfidentialInstanceConfig",
1069+
"properties": {
1070+
"confidentialInstanceType": {
1071+
"description": "Optional. Defines the type of technology used by the confidential instance.",
1072+
"enum": [
1073+
"CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED",
1074+
"SEV",
1075+
"SEV_SNP",
1076+
"TDX"
1077+
],
1078+
"enumDescriptions": [
1079+
"No type specified. Do not use this value.",
1080+
"AMD Secure Encrypted Virtualization.",
1081+
"AMD Secure Encrypted Virtualization - Secure Nested Paging.",
1082+
"Intel Trust Domain eXtension."
1083+
],
1084+
"type": "string"
1085+
},
1086+
"enableConfidentialCompute": {
1087+
"description": "Optional. Defines whether the instance should have confidential compute enabled.",
1088+
"type": "boolean"
1089+
}
1090+
},
1091+
"type": "object"
1092+
},
10661093
"Config": {
10671094
"description": "Response for getting WbI configurations in a location",
10681095
"id": "Config",
@@ -1309,6 +1336,10 @@
13091336
"$ref": "BootDisk",
13101337
"description": "Optional. The boot disk for the VM."
13111338
},
1339+
"confidentialInstanceConfig": {
1340+
"$ref": "ConfidentialInstanceConfig",
1341+
"description": "Optional. Confidential instance configuration."
1342+
},
13121343
"containerImage": {
13131344
"$ref": "ContainerImage",
13141345
"description": "Optional. Use a container image to start the notebook instance."

‎src/apis/notebooks/v2.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,19 @@ export namespace notebooks_v2 {
209209
*/
210210
upgradeVersion?: string | null;
211211
}
212+
/**
213+
* A set of Confidential Instance options.
214+
*/
215+
export interface Schema$ConfidentialInstanceConfig {
216+
/**
217+
* Optional. Defines the type of technology used by the confidential instance.
218+
*/
219+
confidentialInstanceType?: string | null;
220+
/**
221+
* Optional. Defines whether the instance should have confidential compute enabled.
222+
*/
223+
enableConfidentialCompute?: boolean | null;
224+
}
212225
/**
213226
* Response for getting WbI configurations in a location
214227
*/
@@ -365,6 +378,10 @@ export namespace notebooks_v2 {
365378
* Optional. The boot disk for the VM.
366379
*/
367380
bootDisk?: Schema$BootDisk;
381+
/**
382+
* Optional. Confidential instance configuration.
383+
*/
384+
confidentialInstanceConfig?: Schema$ConfidentialInstanceConfig;
368385
/**
369386
* Optional. Use a container image to start the notebook instance.
370387
*/

0 commit comments

Comments
 (0)