Struct google_accesscontextmanager1::api::ServicePerimeterConfig[][src]

pub struct ServicePerimeterConfig {
    pub access_levels: Option<Vec<String>>,
    pub egress_policies: Option<Vec<EgressPolicy>>,
    pub ingress_policies: Option<Vec<IngressPolicy>>,
    pub resources: Option<Vec<String>>,
    pub restricted_services: Option<Vec<String>>,
    pub vpc_accessible_services: Option<VpcAccessibleServices>,
}

ServicePerimeterConfig specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.

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

Fields

access_levels: Option<Vec<String>>

A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: "accessPolicies/MY_POLICY/accessLevels/MY_LEVEL". For Service Perimeter Bridge, must be empty.

egress_policies: Option<Vec<EgressPolicy>>

List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge.

ingress_policies: Option<Vec<IngressPolicy>>

List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge.

resources: Option<Vec<String>>

A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}

restricted_services: Option<Vec<String>>

Google Cloud services that are subject to the Service Perimeter restrictions. For example, if storage.googleapis.com is specified, access to the storage buckets inside the perimeter must meet the perimeter’s access restrictions.

vpc_accessible_services: Option<VpcAccessibleServices>

Configuration for APIs allowed within Perimeter.

Trait Implementations

impl Clone for ServicePerimeterConfig[src]

impl Debug for ServicePerimeterConfig[src]

impl Default for ServicePerimeterConfig[src]

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

impl Part for ServicePerimeterConfig[src]

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