IngressPolicy class
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.
Constructors
- IngressPolicy({IngressFrom? ingressFrom, IngressTo? ingressTo})
- IngressPolicy.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ingressFrom ↔ IngressFrom?
-
Defines the conditions on the source of a request causing this
IngressPolicy to apply.
getter/setter pair
- ingressTo ↔ IngressTo?
-
Defines the conditions on the ApiOperation and request destination that
cause this IngressPolicy to apply.
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