pub struct PscInstanceConfig {
pub service_attachment_link: String,
pub allowed_consumer_projects: Vec<String>,
pub psc_dns_name: String,
pub psc_interface_configs: Vec<PscInterfaceConfig>,
}
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/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>
allowed_consumer_projects: Vec<String>
Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
psc_dns_name: String
Output only. The DNS name of the instance for PSC connectivity.
Name convention:
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. Currently we only support 0 or 1 PSC interface.
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
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
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> 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