1.9.1 (latest) 1.9.0 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::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-cloud-asset-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-cloud-asset-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-cloud-asset-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-cloud-asset-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-cloud-asset-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-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-IngressSource)\>) --- Sources that this \[IngressPolicy\] \[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy\] authorizes access from.