Struct google_api_proto::google::cloud::clouddms::v1::GenerateTcpProxyScriptRequest
source · pub struct GenerateTcpProxyScriptRequest {
pub migration_job: String,
pub vm_name: String,
pub vm_machine_type: String,
pub vm_zone: String,
pub vm_subnet: String,
}
Expand description
Request message for ‘GenerateTcpProxyScript’ request.
Fields§
§migration_job: String
Name of the migration job resource to generate the TCP Proxy script.
vm_name: String
Required. The name of the Compute instance that will host the proxy.
vm_machine_type: String
Required. The type of the Compute instance that will host the proxy.
vm_zone: 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.
vm_subnet: 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.
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 Message for GenerateTcpProxyScriptRequest
impl Message for GenerateTcpProxyScriptRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for GenerateTcpProxyScriptRequest
impl PartialEq for GenerateTcpProxyScriptRequest
source§fn eq(&self, other: &GenerateTcpProxyScriptRequest) -> bool
fn eq(&self, other: &GenerateTcpProxyScriptRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request