1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.2 0.32.0 0.31.0 0.30.0 0.29.3 0.28.1 0.27.0 0.26.1 0.25.0 0.24.0 0.23.0 0.22.0 0.21.1 0.20.1 0.19.0 0.18.0 0.17.3 Reference documentation and code samples for the Cloud Asset V1 API class Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::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.

<br />

Individual ingress policies can be limited by restricting which
services and/or actions they match using the `ingress_to` field.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ingress_from

    def ingress_from() -> ::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressFrom

**Returns**

- ([::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressFrom](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-IngressFrom)) --- Defines the conditions on the source of a request causing this \[IngressPolicy\] \[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy\] to apply.

### #ingress_from=

    def ingress_from=(value) -> ::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressFrom

**Parameter**

- **value** ([::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressFrom](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-IngressFrom)) --- Defines the conditions on the source of a request causing this \[IngressPolicy\] \[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy\] to apply.
**Returns**

- ([::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressFrom](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-IngressFrom)) --- Defines the conditions on the source of a request causing this \[IngressPolicy\] \[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy\] to apply.

### #ingress_to

    def ingress_to() -> ::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressTo

**Returns**

- ([::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressTo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-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.

### #ingress_to=

    def ingress_to=(value) -> ::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressTo

**Parameter**

- **value** ([::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressTo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-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.
**Returns**

- ([::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressTo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-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.