Struct google_accesscontextmanager1::api::EgressFrom
source · pub struct EgressFrom {
pub identities: Option<Vec<String>>,
pub identity_type: Option<String>,
pub source_restriction: Option<String>,
pub sources: Option<Vec<EgressSource>>,
}
Expand description
Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also 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§
§identities: Option<Vec<String>>
A list of identities that are allowed access through this EgressPolicy, in the format of user:{email_id}
or serviceAccount:{email_id}
.
identity_type: Option<String>
Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities
field will be allowed access.
source_restriction: Option<String>
Whether to enforce traffic restrictions based on sources
field. If the sources
fields is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED
.
sources: Option<Vec<EgressSource>>
Sources that this EgressPolicy authorizes access from. If this field is not empty, then source_restriction
must be set to SOURCE_RESTRICTION_ENABLED
.
Trait Implementations§
source§impl Clone for EgressFrom
impl Clone for EgressFrom
source§fn clone(&self) -> EgressFrom
fn clone(&self) -> EgressFrom
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more