|
325 | 325 | "https://www.googleapis.com/auth/cloud-platform"
|
326 | 326 | ]
|
327 | 327 | },
|
| 328 | + "getConfig": { |
| 329 | + "description": "Gets general backend configurations that might also affect the frontend. Location is required by CCFE. Although we could bypass it to send location- less request directly to the backend job, we would need CPE (go/cloud-cpe). Having the location might also be useful depending on the query.", |
| 330 | + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances:getConfig", |
| 331 | + "httpMethod": "GET", |
| 332 | + "id": "notebooks.projects.locations.instances.getConfig", |
| 333 | + "parameterOrder": [ |
| 334 | + "name" |
| 335 | + ], |
| 336 | + "parameters": { |
| 337 | + "name": { |
| 338 | + "description": "Required. Format: `projects/{project_id}/locations/{location}`", |
| 339 | + "location": "path", |
| 340 | + "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 341 | + "required": true, |
| 342 | + "type": "string" |
| 343 | + } |
| 344 | + }, |
| 345 | + "path": "v2/{+name}/instances:getConfig", |
| 346 | + "response": { |
| 347 | + "$ref": "Config" |
| 348 | + }, |
| 349 | + "scopes": [ |
| 350 | + "https://www.googleapis.com/auth/cloud-platform" |
| 351 | + ] |
| 352 | + }, |
328 | 353 | "getIamPolicy": {
|
329 | 354 | "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
|
330 | 355 | "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:getIamPolicy",
|
|
823 | 848 | }
|
824 | 849 | }
|
825 | 850 | },
|
826 |
| - "revision": "20231003", |
| 851 | + "revision": "20231019", |
827 | 852 | "rootUrl": "https://notebooks.googleapis.com/",
|
828 | 853 | "schemas": {
|
829 | 854 | "AcceleratorConfig": {
|
|
967 | 992 | },
|
968 | 993 | "type": "object"
|
969 | 994 | },
|
| 995 | + "Config": { |
| 996 | + "description": "Response for getting WbI configurations in a location", |
| 997 | + "id": "Config", |
| 998 | + "properties": { |
| 999 | + "availableImages": { |
| 1000 | + "description": "Output only. The list of available images to create a WbI.", |
| 1001 | + "items": { |
| 1002 | + "$ref": "ImageRelease" |
| 1003 | + }, |
| 1004 | + "readOnly": true, |
| 1005 | + "type": "array" |
| 1006 | + }, |
| 1007 | + "defaultValues": { |
| 1008 | + "$ref": "DefaultValues", |
| 1009 | + "description": "Output only. The default values for configuration.", |
| 1010 | + "readOnly": true |
| 1011 | + }, |
| 1012 | + "supportedValues": { |
| 1013 | + "$ref": "SupportedValues", |
| 1014 | + "description": "Output only. The supported values for configuration.", |
| 1015 | + "readOnly": true |
| 1016 | + } |
| 1017 | + }, |
| 1018 | + "type": "object" |
| 1019 | + }, |
970 | 1020 | "ContainerImage": {
|
971 | 1021 | "description": "Definition of a container image for starting a notebook instance with the environment installed in a container.",
|
972 | 1022 | "id": "ContainerImage",
|
|
1030 | 1080 | },
|
1031 | 1081 | "type": "object"
|
1032 | 1082 | },
|
| 1083 | + "DefaultValues": { |
| 1084 | + "description": "DefaultValues represents the default configuration values.", |
| 1085 | + "id": "DefaultValues", |
| 1086 | + "properties": { |
| 1087 | + "machineType": { |
| 1088 | + "description": "Output only. The default machine type used by the backend if not provided by the user.", |
| 1089 | + "readOnly": true, |
| 1090 | + "type": "string" |
| 1091 | + } |
| 1092 | + }, |
| 1093 | + "type": "object" |
| 1094 | + }, |
1033 | 1095 | "DiagnoseInstanceRequest": {
|
1034 | 1096 | "description": "Request for creating a notebook instance diagnostic file.",
|
1035 | 1097 | "id": "DiagnoseInstanceRequest",
|
|
1237 | 1299 | },
|
1238 | 1300 | "type": "object"
|
1239 | 1301 | },
|
| 1302 | + "ImageRelease": { |
| 1303 | + "description": "ConfigImage represents an image release available to create a WbI", |
| 1304 | + "id": "ImageRelease", |
| 1305 | + "properties": { |
| 1306 | + "imageName": { |
| 1307 | + "description": "Output only. The name of the image of the form workbench-instances-vYYYYmmdd--", |
| 1308 | + "readOnly": true, |
| 1309 | + "type": "string" |
| 1310 | + }, |
| 1311 | + "releaseName": { |
| 1312 | + "description": "Output only. The release of the image of the form m123", |
| 1313 | + "readOnly": true, |
| 1314 | + "type": "string" |
| 1315 | + } |
| 1316 | + }, |
| 1317 | + "type": "object" |
| 1318 | + }, |
1240 | 1319 | "Instance": {
|
1241 | 1320 | "description": "The definition of a notebook instance.",
|
1242 | 1321 | "id": "Instance",
|
|
1713 | 1792 | "properties": {},
|
1714 | 1793 | "type": "object"
|
1715 | 1794 | },
|
| 1795 | + "SupportedValues": { |
| 1796 | + "description": "SupportedValues represents the values supported by the configuration.", |
| 1797 | + "id": "SupportedValues", |
| 1798 | + "properties": { |
| 1799 | + "acceleratorTypes": { |
| 1800 | + "description": "Output only. The accelerator types supported by WbI.", |
| 1801 | + "items": { |
| 1802 | + "type": "string" |
| 1803 | + }, |
| 1804 | + "readOnly": true, |
| 1805 | + "type": "array" |
| 1806 | + }, |
| 1807 | + "machineTypes": { |
| 1808 | + "description": "Output only. The machine types supported by WbI.", |
| 1809 | + "items": { |
| 1810 | + "type": "string" |
| 1811 | + }, |
| 1812 | + "readOnly": true, |
| 1813 | + "type": "array" |
| 1814 | + } |
| 1815 | + }, |
| 1816 | + "type": "object" |
| 1817 | + }, |
1716 | 1818 | "TestIamPermissionsRequest": {
|
1717 | 1819 | "description": "Request message for `TestIamPermissions` method.",
|
1718 | 1820 | "id": "TestIamPermissionsRequest",
|
|
0 commit comments