pub struct GenerateTcpProxyScriptRequest {
pub vm_machine_type: Option<String>,
pub vm_name: Option<String>,
pub vm_subnet: Option<String>,
pub vm_zone: Option<String>,
}
Expand description
Request message for ‘GenerateTcpProxyScript’ request.
§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).
Fields§
§vm_machine_type: Option<String>
Required. The type of the Compute instance that will host the proxy.
vm_name: Option<String>
Required. The name of the Compute instance that will host the proxy.
vm_subnet: Option<String>
Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: the region for the subnet must match the Compute instance region.
vm_zone: Option<String>
Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example “us-central1-b”. If not specified, uses the “-b” zone of the destination Connection Profile’s region.
Trait Implementations§
Source§impl Clone for GenerateTcpProxyScriptRequest
impl Clone for GenerateTcpProxyScriptRequest
Source§fn clone(&self) -> GenerateTcpProxyScriptRequest
fn clone(&self) -> GenerateTcpProxyScriptRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GenerateTcpProxyScriptRequest
impl Default for GenerateTcpProxyScriptRequest
Source§fn default() -> GenerateTcpProxyScriptRequest
fn default() -> GenerateTcpProxyScriptRequest
Source§impl<'de> Deserialize<'de> for GenerateTcpProxyScriptRequest
impl<'de> Deserialize<'de> for GenerateTcpProxyScriptRequest
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>,
impl RequestValue for GenerateTcpProxyScriptRequest
Auto Trait Implementations§
impl Freeze for GenerateTcpProxyScriptRequest
impl RefUnwindSafe for GenerateTcpProxyScriptRequest
impl Send for GenerateTcpProxyScriptRequest
impl Sync for GenerateTcpProxyScriptRequest
impl Unpin for GenerateTcpProxyScriptRequest
impl UnwindSafe for GenerateTcpProxyScriptRequest
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