public sealed class IngressPolicy : IMessage<ServicePerimeterConfig.Types.IngressPolicy>, IEquatable<ServicePerimeterConfig.Types.IngressPolicy>, IDeepCloneable<ServicePerimeterConfig.Types.IngressPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity Access Context Manager v1 API class ServicePerimeterConfig.Types.IngressPolicy.
Policy for ingress into [ServicePerimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter].
[IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
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]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.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] [google.identity.accesscontextmanager.v1.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.
Implements
IMessage<ServicePerimeterConfig.Types.IngressPolicy>, IEquatable<ServicePerimeterConfig.Types.IngressPolicy>, IDeepCloneable<ServicePerimeterConfig.Types.IngressPolicy>, IBufferMessage, IMessageNamespace
Google.Identity.AccessContextManager.V1Assembly
Google.Identity.AccessContextManager.V1.dll
Constructors
IngressPolicy()
public IngressPolicy()
IngressPolicy(ServicePerimeterConfig.Types.IngressPolicy)
public IngressPolicy(ServicePerimeterConfig.Types.IngressPolicy other)
Parameter | |
---|---|
Name | Description |
other | ServicePerimeterConfig.Types.IngressPolicy |
Properties
IngressFrom
public ServicePerimeterConfig.Types.IngressFrom IngressFrom { get; set; }
Defines the conditions on the source of a request causing this [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply.
Property Value | |
---|---|
Type | Description |
ServicePerimeterConfig.Types.IngressFrom |
IngressTo
public ServicePerimeterConfig.Types.IngressTo IngressTo { get; set; }
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.
Property Value | |
---|---|
Type | Description |
ServicePerimeterConfig.Types.IngressTo |