Struct google_notebooks1::api::MigrateRuntimeRequest
source · pub struct MigrateRuntimeRequest {
pub network: Option<String>,
pub post_startup_script_option: Option<String>,
pub request_id: Option<String>,
pub service_account: Option<String>,
pub subnet: Option<String>,
}
Expand description
Request for migrating a Runtime to a Workbench Instance.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations runtimes migrate projects (request)
Fields§
§network: Option<String>
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}
post_startup_script_option: Option<String>
Optional. Specifies the behavior of post startup script during migration.
request_id: Option<String>
Optional. Idempotent request UUID.
service_account: Option<String>
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 is used. When the Runtime uses service account mode for permission, it will reuse the same service account, and this field must be empty.
subnet: Option<String>
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}
Trait Implementations§
source§impl Clone for MigrateRuntimeRequest
impl Clone for MigrateRuntimeRequest
source§fn clone(&self) -> MigrateRuntimeRequest
fn clone(&self) -> MigrateRuntimeRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more