Reference documentation and code samples for the Access Context Manager V1 Client class IngressPolicy.
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.
Generated from protobuf message google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy
Namespace
Google \ Identity \ AccessContextManager \ V1 \ ServicePerimeterConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ ingress_from |
IngressFrom
Defines the conditions on the source of a request causing this [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply. |
↳ ingress_to |
IngressTo
Defines the conditions on the [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] and request destination that cause this [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply. |
getIngressFrom
Defines the conditions on the source of a request causing this IngressPolicy to apply.
Returns | |
---|---|
Type | Description |
IngressFrom|null |
hasIngressFrom
clearIngressFrom
setIngressFrom
Defines the conditions on the source of a request causing this IngressPolicy to apply.
Parameter | |
---|---|
Name | Description |
var |
IngressFrom
|
Returns | |
---|---|
Type | Description |
$this |
getIngressTo
Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply.
Returns | |
---|---|
Type | Description |
IngressTo|null |
hasIngressTo
clearIngressTo
setIngressTo
Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply.
Parameter | |
---|---|
Name | Description |
var |
IngressTo
|
Returns | |
---|---|
Type | Description |
$this |