Struct google_cloudasset1_beta1::api::GoogleIdentityAccesscontextmanagerV1EgressTo[][src]

pub struct GoogleIdentityAccesscontextmanagerV1EgressTo {
    pub operations: Option<Vec<GoogleIdentityAccesscontextmanagerV1ApiOperation>>,
    pub resources: Option<Vec<String>>,
}
Expand description

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<GoogleIdentityAccesscontextmanagerV1ApiOperation>>

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.