EgressFrom class

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.

Constructors

EgressFrom({List<String>? identities, String? identityType, String? sourceRestriction, List<EgressSource>? sources})
EgressFrom.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
identities List<String>?
A list of identities that are allowed access through this [EgressPolicy], in the format of user:{email_id} or serviceAccount:{email_id}.
getter/setter pair
identityType String?
Specifies the type of identities that are allowed access to outside the perimeter.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceRestriction String?
Whether to enforce traffic restrictions based on sources field.
getter/setter pair
sources List<EgressSource>?
Sources that this EgressPolicy authorizes access from.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited