Struct google_api_proto::google::cloud::alloydb::v1alpha::instance::PscInstanceConfig
source · pub struct PscInstanceConfig {
pub service_attachment_link: String,
pub allowed_consumer_projects: Vec<String>,
pub allowed_consumer_networks: Vec<String>,
pub psc_interface_configs: Vec<PscInterfaceConfig>,
pub outgoing_service_attachment_links: Vec<String>,
pub psc_enabled: bool,
}
Expand description
PscInstanceConfig contains PSC related configuration at an instance level.
Fields§
§service_attachment_link: String
Output only. The service attachment created when Private
Service Connect (PSC) is enabled for the instance.
The name of the resource will be in the format of
projects/
allowed_consumer_projects: Vec<String>
Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
allowed_consumer_networks: Vec<String>
Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
psc_interface_configs: Vec<PscInterfaceConfig>
Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.
outgoing_service_attachment_links: Vec<String>
Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.
psc_enabled: bool
Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.
Trait Implementations§
source§impl Clone for PscInstanceConfig
impl Clone for PscInstanceConfig
source§fn clone(&self) -> PscInstanceConfig
fn clone(&self) -> PscInstanceConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PscInstanceConfig
impl Debug for PscInstanceConfig
source§impl Default for PscInstanceConfig
impl Default for PscInstanceConfig
source§impl Message for PscInstanceConfig
impl Message for PscInstanceConfig
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 PscInstanceConfig
impl PartialEq for PscInstanceConfig
source§fn eq(&self, other: &PscInstanceConfig) -> bool
fn eq(&self, other: &PscInstanceConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PscInstanceConfig
Auto Trait Implementations§
impl Freeze for PscInstanceConfig
impl RefUnwindSafe for PscInstanceConfig
impl Send for PscInstanceConfig
impl Sync for PscInstanceConfig
impl Unpin for PscInstanceConfig
impl UnwindSafe for PscInstanceConfig
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