Method: projects.locations.instances.migrate
Stay organized with collections
Save and categorize content based on your preferences.
Migrates an existing User-Managed Notebook to Workbench Instances.
HTTP request
POST https://notebooks.googleapis.com/v1/{name}:migrate
Path parameters
Parameters |
name |
string
Required. Format: projects/{projectId}/locations/{location}/instances/{instanceId}
Authorization requires one or more of the following IAM permissions on the specified resource name :
notebooks.instances.get
notebooks.instances.create
|
Request body
The request body contains data with the following structure:
Fields |
postStartupScriptOption |
enum (PostStartupScriptOption )
Optional. Specifies the behavior of post startup script during migration.
|
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
PostStartupScriptOption
Specifies the behavior of post startup script during migration.
Enums |
POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED |
Post startup script option is not specified. Default is POST_STARTUP_SCRIPT_OPTION_SKIP. |
POST_STARTUP_SCRIPT_OPTION_SKIP |
Not migrate the post startup script to the new Workbench Instance. |
POST_STARTUP_SCRIPT_OPTION_RERUN |
Redownload and rerun the same post startup script as the User-Managed Notebook. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-19 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-04-19 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-19 UTC."]]