Struct google_cloudasset1_beta1::api::GoogleIdentityAccesscontextmanagerV1EgressPolicy [−][src]
pub struct GoogleIdentityAccesscontextmanagerV1EgressPolicy {
pub egress_from: Option<GoogleIdentityAccesscontextmanagerV1EgressFrom>,
pub egress_to: Option<GoogleIdentityAccesscontextmanagerV1EgressTo>,
}
Expand description
Policy for egress from perimeter. EgressPolicies match requests based on egress_from
and egress_to
stanzas. For an EgressPolicy to match, both egress_from
and egress_to
stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the resources that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo.
This type is not used in any activity, and only used as part of another schema.
Fields
egress_from: Option<GoogleIdentityAccesscontextmanagerV1EgressFrom>
Defines conditions on the source of a request causing this EgressPolicy to apply.
egress_to: Option<GoogleIdentityAccesscontextmanagerV1EgressTo>
Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more