pub struct ConsumerPscConfig {
pub consumer_instance_project: Option<String>,
pub disable_global_access: Option<bool>,
pub network: Option<String>,
pub producer_instance_id: Option<String>,
pub project: Option<String>,
pub service_attachment_ip_address_map: Option<HashMap<String, String>>,
pub state: Option<String>,
}Expand description
Allow the producer to specify which consumers can connect to it.
This type is not used in any activity, and only used as part of another schema.
Fields§
§consumer_instance_project: Option<String>Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who’s created a producer instance, this is the project of the producer instance. Format: ‘projects/’ Eg. ‘projects/consumer-project’ or ‘projects/1234’
disable_global_access: Option<bool>This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
network: Option<String>The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
producer_instance_id: Option<String>Immutable. An immutable identifier for the producer instance.
project: Option<String>The consumer project where PSC connections are allowed to be created in.
service_attachment_ip_address_map: Option<HashMap<String, String>>Output only. A map to store mapping between customer vip and target service attachment. Only service attachment with producer specified ip addresses are stored here.
state: Option<String>Output only. Overall state of PSC Connections management for this consumer psc config.
Trait Implementations§
Source§impl Clone for ConsumerPscConfig
impl Clone for ConsumerPscConfig
Source§fn clone(&self) -> ConsumerPscConfig
fn clone(&self) -> ConsumerPscConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConsumerPscConfig
impl Debug for ConsumerPscConfig
Source§impl Default for ConsumerPscConfig
impl Default for ConsumerPscConfig
Source§fn default() -> ConsumerPscConfig
fn default() -> ConsumerPscConfig
Source§impl<'de> Deserialize<'de> for ConsumerPscConfig
impl<'de> Deserialize<'de> for ConsumerPscConfig
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>,
Source§impl Serialize for ConsumerPscConfig
impl Serialize for ConsumerPscConfig
impl Part for ConsumerPscConfig
Auto Trait Implementations§
impl Freeze for ConsumerPscConfig
impl RefUnwindSafe for ConsumerPscConfig
impl Send for ConsumerPscConfig
impl Sync for ConsumerPscConfig
impl Unpin for ConsumerPscConfig
impl UnwindSafe for ConsumerPscConfig
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