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 moreSource§impl Debug for MigrateRuntimeRequest
impl Debug for MigrateRuntimeRequest
Source§impl Default for MigrateRuntimeRequest
impl Default for MigrateRuntimeRequest
Source§fn default() -> MigrateRuntimeRequest
fn default() -> MigrateRuntimeRequest
Source§impl<'de> Deserialize<'de> for MigrateRuntimeRequest
impl<'de> Deserialize<'de> for MigrateRuntimeRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for MigrateRuntimeRequest
impl Serialize for MigrateRuntimeRequest
impl RequestValue for MigrateRuntimeRequest
Auto Trait Implementations§
impl Freeze for MigrateRuntimeRequest
impl RefUnwindSafe for MigrateRuntimeRequest
impl Send for MigrateRuntimeRequest
impl Sync for MigrateRuntimeRequest
impl Unpin for MigrateRuntimeRequest
impl UnwindSafe for MigrateRuntimeRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more