pub struct IngressFrom {
pub identities: Option<Vec<String>>,
pub identity_type: Option<String>,
pub sources: Option<Vec<IngressSource>>,
}
Expand description
Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in sources
AND identity related fields in order to match.
This type is not used in any activity, and only used as part of another schema.
Fields§
§identities: Option<Vec<String>>
A list of identities that are allowed access through IngressPolicy. Identities can be an individual user, service account, Google group, or third-party identity. The v1
identities that have the prefix user
, group
, serviceAccount
, principal
, and principalSet
in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.
identity_type: Option<String>
Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities
field will be allowed access.
sources: Option<Vec<IngressSource>>
Sources that this IngressPolicy authorizes access from.
Trait Implementations§
Source§impl Clone for IngressFrom
impl Clone for IngressFrom
Source§fn clone(&self) -> IngressFrom
fn clone(&self) -> IngressFrom
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for IngressFrom
impl Debug for IngressFrom
Source§impl Default for IngressFrom
impl Default for IngressFrom
Source§fn default() -> IngressFrom
fn default() -> IngressFrom
Source§impl<'de> Deserialize<'de> for IngressFrom
impl<'de> Deserialize<'de> for IngressFrom
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 IngressFrom
impl Serialize for IngressFrom
impl Part for IngressFrom
Auto Trait Implementations§
impl Freeze for IngressFrom
impl RefUnwindSafe for IngressFrom
impl Send for IngressFrom
impl Sync for IngressFrom
impl Unpin for IngressFrom
impl UnwindSafe for IngressFrom
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