Struct google_accesscontextmanager1::api::IngressPolicy
source · pub struct IngressPolicy {
pub ingress_from: Option<IngressFrom>,
pub ingress_to: Option<IngressTo>,
}
Expand description
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§
source§impl Clone for IngressPolicy
impl Clone for IngressPolicy
source§fn clone(&self) -> IngressPolicy
fn clone(&self) -> IngressPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more