# Access Context Manager V1 API - Class Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressFrom (v0.15.0)

0.15.0 (latest) 0.14.1 0.13.1 0.12.0 0.11.0 0.10.1 0.9.0 0.8.2 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Access Context Manager V1 API class Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressFrom.

Defines the conditions under which an \[IngressPolicy\]
\[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy\]
matches a request. Conditions are based on information about the source of
the request. The request must satisfy what is defined in `sources` AND
identity related fields in order to match.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #identities

    def identities() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.

### #identities=

    def identities=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
**Returns**

- (::Array\<::String\>) --- A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.

### #identity_type

    def identity_type() -> ::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IdentityType

**Returns**

- ([::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IdentityType](https://docs.cloud.google.com/ruby/docs/reference/google-identity-access_context_manager-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-IdentityType)) --- Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.

### #identity_type=

    def identity_type=(value) -> ::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IdentityType

**Parameter**

- **value** ([::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IdentityType](https://docs.cloud.google.com/ruby/docs/reference/google-identity-access_context_manager-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-IdentityType)) --- Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.
**Returns**

- ([::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IdentityType](https://docs.cloud.google.com/ruby/docs/reference/google-identity-access_context_manager-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-IdentityType)) --- Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.

### #sources

    def sources() -> ::Array<::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressSource>

**Returns**

- (::Array\<[::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressSource](https://docs.cloud.google.com/ruby/docs/reference/google-identity-access_context_manager-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-IngressSource)\>) --- Sources that this \[IngressPolicy\] \[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy\] authorizes access from.

### #sources=

    def sources=(value) -> ::Array<::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressSource>

**Parameter**

- **value** (::Array\<[::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressSource](https://docs.cloud.google.com/ruby/docs/reference/google-identity-access_context_manager-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-IngressSource)\>) --- Sources that this \[IngressPolicy\] \[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy\] authorizes access from.
**Returns**

- (::Array\<[::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::IngressSource](https://docs.cloud.google.com/ruby/docs/reference/google-identity-access_context_manager-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-IngressSource)\>) --- Sources that this \[IngressPolicy\] \[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy\] authorizes access from.