Struct google_accesscontextmanager1::api::EgressTo[][src]

pub struct EgressTo {
    pub operations: Option<Vec<ApiOperation>>,
    pub resources: Option<Vec<String>>,
}

Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the resources specified. Note that if the destination of the request is protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed.

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

Fields

operations: Option<Vec<ApiOperation>>

A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list.

resources: Option<Vec<String>>

A list of resources, currently only projects in the form projects/, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.

Trait Implementations

impl Clone for EgressTo[src]

impl Debug for EgressTo[src]

impl Default for EgressTo[src]

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

impl Part for EgressTo[src]

impl Serialize for EgressTo[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.