Struct google_accesscontextmanager1::api::IngressPolicy[][src]

pub struct IngressPolicy {
    pub ingress_from: Option<IngressFrom>,
    pub ingress_to: Option<IngressTo>,
}

Policy for ingress into ServicePerimeter. IngressPolicies match requests based on ingress_from and ingress_to stanzas. For an ingress policy to match, both the ingress_from and ingress_to stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the ingress_to field.

This type is not used in any activity, and only used as part of another schema.

Fields

ingress_from: Option<IngressFrom>

Defines the conditions on the source of a request causing this IngressPolicy to apply.

ingress_to: Option<IngressTo>

Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply.

Trait Implementations

impl Clone for IngressPolicy[src]

impl Debug for IngressPolicy[src]

impl Default for IngressPolicy[src]

impl<'de> Deserialize<'de> for IngressPolicy[src]

impl Part for IngressPolicy[src]

impl Serialize for IngressPolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.