Struct google_api_proto::google::cloud::clouddms::v1::SqlIpConfig
source · pub struct SqlIpConfig {
pub enable_ipv4: Option<bool>,
pub private_network: String,
pub allocated_ip_range: String,
pub require_ssl: Option<bool>,
pub authorized_networks: Vec<SqlAclEntry>,
}
Expand description
IP Management configuration.
Fields§
§enable_ipv4: Option<bool>
Whether the instance should be assigned an IPv4 address or not.
private_network: String
The resource link for the VPC network from which the Cloud SQL instance is
accessible for private IP. For example,
projects/myProject/global/networks/default
. This setting can
be updated, but it cannot be removed after it is set.
allocated_ip_range: String
Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can’t be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant.
require_ssl: Option<bool>
Whether SSL connections over IP should be enforced or not.
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
‘slash’ notation (e.g. 192.168.100.0/24
).
Trait Implementations§
source§impl Clone for SqlIpConfig
impl Clone for SqlIpConfig
source§fn clone(&self) -> SqlIpConfig
fn clone(&self) -> SqlIpConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SqlIpConfig
impl Debug for SqlIpConfig
source§impl Default for SqlIpConfig
impl Default for SqlIpConfig
source§impl Message for SqlIpConfig
impl Message for SqlIpConfig
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 SqlIpConfig
impl PartialEq for SqlIpConfig
source§fn eq(&self, other: &SqlIpConfig) -> bool
fn eq(&self, other: &SqlIpConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SqlIpConfig
Auto Trait Implementations§
impl Freeze for SqlIpConfig
impl RefUnwindSafe for SqlIpConfig
impl Send for SqlIpConfig
impl Sync for SqlIpConfig
impl Unpin for SqlIpConfig
impl UnwindSafe for SqlIpConfig
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