EgressTo class

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 also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match operations AND resources fields in order to be allowed egress out of the perimeter.

Constructors

EgressTo({List<String>? externalResources, List<ApiOperation>? operations, List<String>? resources})
EgressTo.fromJson(Map json_)

Properties

externalResources List<String>?
A list of external resources that are allowed to be accessed.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
operations List<ApiOperation>?
A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom.
getter/setter pair
resources List<String>?
A list of resources, currently only projects in the form projects/, that are allowed to be accessed by sources defined in the corresponding EgressFrom.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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