|
692 | 692 | "https://www.googleapis.com/auth/cloud-platform"
|
693 | 693 | ]
|
694 | 694 | },
|
| 695 | + "migrate": { |
| 696 | + "description": "Migrates an existing User-Managed Notebook to Workbench Instances.", |
| 697 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:migrate", |
| 698 | + "httpMethod": "POST", |
| 699 | + "id": "notebooks.projects.locations.instances.migrate", |
| 700 | + "parameterOrder": [ |
| 701 | + "name" |
| 702 | + ], |
| 703 | + "parameters": { |
| 704 | + "name": { |
| 705 | + "description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", |
| 706 | + "location": "path", |
| 707 | + "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", |
| 708 | + "required": true, |
| 709 | + "type": "string" |
| 710 | + } |
| 711 | + }, |
| 712 | + "path": "v1/{+name}:migrate", |
| 713 | + "request": { |
| 714 | + "$ref": "MigrateInstanceRequest" |
| 715 | + }, |
| 716 | + "response": { |
| 717 | + "$ref": "Operation" |
| 718 | + }, |
| 719 | + "scopes": [ |
| 720 | + "https://www.googleapis.com/auth/cloud-platform" |
| 721 | + ] |
| 722 | + }, |
695 | 723 | "register": {
|
696 | 724 | "description": "Registers an existing legacy notebook instance to the Notebooks API server. Legacy instances are instances created with the legacy Compute Engine calls. They are not manageable by the Notebooks API out of the box. This call makes these instances manageable by the Notebooks API.",
|
697 | 725 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances:register",
|
|
1493 | 1521 | "https://www.googleapis.com/auth/cloud-platform"
|
1494 | 1522 | ]
|
1495 | 1523 | },
|
| 1524 | + "migrate": { |
| 1525 | + "description": "Migrate an existing Runtime to a new Workbench Instance.", |
| 1526 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:migrate", |
| 1527 | + "httpMethod": "POST", |
| 1528 | + "id": "notebooks.projects.locations.runtimes.migrate", |
| 1529 | + "parameterOrder": [ |
| 1530 | + "name" |
| 1531 | + ], |
| 1532 | + "parameters": { |
| 1533 | + "name": { |
| 1534 | + "description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", |
| 1535 | + "location": "path", |
| 1536 | + "pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", |
| 1537 | + "required": true, |
| 1538 | + "type": "string" |
| 1539 | + } |
| 1540 | + }, |
| 1541 | + "path": "v1/{+name}:migrate", |
| 1542 | + "request": { |
| 1543 | + "$ref": "MigrateRuntimeRequest" |
| 1544 | + }, |
| 1545 | + "response": { |
| 1546 | + "$ref": "Operation" |
| 1547 | + }, |
| 1548 | + "scopes": [ |
| 1549 | + "https://www.googleapis.com/auth/cloud-platform" |
| 1550 | + ] |
| 1551 | + }, |
1496 | 1552 | "patch": {
|
1497 | 1553 | "description": "Update Notebook Runtime configuration.",
|
1498 | 1554 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}",
|
|
1952 | 2008 | }
|
1953 | 2009 | }
|
1954 | 2010 | },
|
1955 |
| - "revision": "20230926", |
| 2011 | + "revision": "20231003", |
1956 | 2012 | "rootUrl": "https://notebooks.googleapis.com/",
|
1957 | 2013 | "schemas": {
|
1958 | 2014 | "AcceleratorConfig": {
|
|
2835 | 2891 | ],
|
2836 | 2892 | "enumDescriptions": [
|
2837 | 2893 | "Default type.",
|
2838 |
| - "The UmN uses an machine type that's unsupported in WbI. It will be migrated with the default machine type n2-standard-4. Users can change the machine type after the migration.", |
| 2894 | + "The UmN uses an machine type that's unsupported in WbI. It will be migrated with the default machine type e2-standard-4. Users can change the machine type after the migration.", |
2839 | 2895 | "The UmN uses an accelerator type that's unsupported in WbI. It will be migrated without an accelerator. User can attach an accelerator after the migration.",
|
2840 | 2896 | "The UmN uses an operating system that's unsupported in WbI (e.g. Debian 10, Ubuntu). It will be replaced with Debian 11 in WbI.",
|
2841 | 2897 | "This UmN is configured with no_remove_data_disk, which is no longer available in WbI.",
|
|
3182 | 3238 | },
|
3183 | 3239 | "type": "object"
|
3184 | 3240 | },
|
| 3241 | + "MigrateInstanceRequest": { |
| 3242 | + "description": "Request for migrating a User-Managed Notebook to Workbench Instances.", |
| 3243 | + "id": "MigrateInstanceRequest", |
| 3244 | + "properties": { |
| 3245 | + "postStartupScriptOption": { |
| 3246 | + "description": "Optional. Specifies the behavior of post startup script during migration.", |
| 3247 | + "enum": [ |
| 3248 | + "POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED", |
| 3249 | + "POST_STARTUP_SCRIPT_OPTION_SKIP", |
| 3250 | + "POST_STARTUP_SCRIPT_OPTION_RERUN" |
| 3251 | + ], |
| 3252 | + "enumDescriptions": [ |
| 3253 | + "Post startup script option is not specified. Default is POST_STARTUP_SCRIPT_OPTION_SKIP.", |
| 3254 | + "Not migrate the post startup script to the new Workbench Instance.", |
| 3255 | + "Redownload and rerun the same post startup script as the User-Managed Notebook." |
| 3256 | + ], |
| 3257 | + "type": "string" |
| 3258 | + } |
| 3259 | + }, |
| 3260 | + "type": "object" |
| 3261 | + }, |
| 3262 | + "MigrateRuntimeRequest": { |
| 3263 | + "description": "Request for migrating a Runtime to a Workbench Instance.", |
| 3264 | + "id": "MigrateRuntimeRequest", |
| 3265 | + "properties": { |
| 3266 | + "network": { |
| 3267 | + "description": "Optional. Name of the VPC that the new Instance is in. This is required if the Runtime uses google-managed network. If the Runtime uses customer-owned network, it will reuse the same VPC, and this field must be empty. Format: `projects/{project_id}/global/networks/{network_id}`", |
| 3268 | + "type": "string" |
| 3269 | + }, |
| 3270 | + "postStartupScriptOption": { |
| 3271 | + "description": "Optional. Specifies the behavior of post startup script during migration.", |
| 3272 | + "enum": [ |
| 3273 | + "POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED", |
| 3274 | + "POST_STARTUP_SCRIPT_OPTION_SKIP", |
| 3275 | + "POST_STARTUP_SCRIPT_OPTION_RERUN" |
| 3276 | + ], |
| 3277 | + "enumDescriptions": [ |
| 3278 | + "Post startup script option is not specified. Default is POST_STARTUP_SCRIPT_OPTION_SKIP.", |
| 3279 | + "Not migrate the post startup script to the new Workbench Instance.", |
| 3280 | + "Redownload and rerun the same post startup script as the Google-Managed Notebook." |
| 3281 | + ], |
| 3282 | + "type": "string" |
| 3283 | + }, |
| 3284 | + "requestId": { |
| 3285 | + "description": "Optional. Idempotent request UUID.", |
| 3286 | + "type": "string" |
| 3287 | + }, |
| 3288 | + "serviceAccount": { |
| 3289 | + "description": "Optional. The service account to be included in the Compute Engine instance of the new Workbench Instance when the Runtime uses \"single user only\" mode for permission. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. When the Runtime uses service account mode for permission, it will reuse the same service account, and this field must be empty.", |
| 3290 | + "type": "string" |
| 3291 | + }, |
| 3292 | + "subnet": { |
| 3293 | + "description": "Optional. Name of the subnet that the new Instance is in. This is required if the Runtime uses google-managed network. If the Runtime uses customer-owned network, it will reuse the same subnet, and this field must be empty. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`", |
| 3294 | + "type": "string" |
| 3295 | + } |
| 3296 | + }, |
| 3297 | + "type": "object" |
| 3298 | + }, |
3185 | 3299 | "Operation": {
|
3186 | 3300 | "description": "This resource represents a long-running operation that is the result of a network API call.",
|
3187 | 3301 | "id": "Operation",
|
|
0 commit comments