pub struct PscConfig {
pub allowed_google_producers_resource_hierarchy_level: Option<Vec<String>>,
pub limit: Option<i64>,
pub producer_instance_location: Option<String>,
pub subnetworks: Option<Vec<String>>,
}Expand description
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allowed_google_producers_resource_hierarchy_level: Option<Vec<String>>Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both ‘organizations/foo’ and ‘projects/bar’ as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the ‘foo’ organization or the ‘bar’ project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is / where is one of ‘projects’, ‘folders’, or ‘organizations’ and is either the ID or the number of the resource type. Format for each allowed_google_producers_resource_hierarchy_level value: ‘projects/’ or ‘folders/’ or ‘organizations/’ Eg. [projects/my-project-id, projects/567, folders/891, organizations/123]
limit: Option<i64>Optional. Max number of PSC connections for this policy.
producer_instance_location: Option<String>Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
subnetworks: Option<Vec<String>>The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PscConfig
impl<'de> Deserialize<'de> for PscConfig
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>,
impl Part for PscConfig
Auto Trait Implementations§
impl Freeze for PscConfig
impl RefUnwindSafe for PscConfig
impl Send for PscConfig
impl Sync for PscConfig
impl Unpin for PscConfig
impl UnwindSafe for PscConfig
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