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::IngressSource.

The source that \[IngressPolicy\]
\[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy\]
authorizes access from.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #access_level

    def access_level() -> ::String

**Returns**

- (::String) --- An \[AccessLevel\] \[google.identity.accesscontextmanager.v1.AccessLevel\] resource name that allow resources within the \[ServicePerimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] to be accessed from the internet. \[AccessLevels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] listed must be in the same policy as this \[ServicePerimeter\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\]. Referencing a nonexistent \[AccessLevel\] \[google.identity.accesscontextmanager.v1.AccessLevel\] will cause an error. If no \[AccessLevel\] \[google.identity.accesscontextmanager.v1.AccessLevel\] names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all \[IngressSources\] \[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource\] will be allowed.


  Note: The following fields are mutually exclusive: `access_level`, `resource`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #access_level=

    def access_level=(value) -> ::String

**Parameter**

- **value** (::String) --- An \[AccessLevel\] \[google.identity.accesscontextmanager.v1.AccessLevel\] resource name that allow resources within the \[ServicePerimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] to be accessed from the internet. \[AccessLevels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] listed must be in the same policy as this \[ServicePerimeter\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\]. Referencing a nonexistent \[AccessLevel\] \[google.identity.accesscontextmanager.v1.AccessLevel\] will cause an error. If no \[AccessLevel\] \[google.identity.accesscontextmanager.v1.AccessLevel\] names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all \[IngressSources\] \[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource\] will be allowed.


  Note: The following fields are mutually exclusive: `access_level`, `resource`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- An \[AccessLevel\] \[google.identity.accesscontextmanager.v1.AccessLevel\] resource name that allow resources within the \[ServicePerimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] to be accessed from the internet. \[AccessLevels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] listed must be in the same policy as this \[ServicePerimeter\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\]. Referencing a nonexistent \[AccessLevel\] \[google.identity.accesscontextmanager.v1.AccessLevel\] will cause an error. If no \[AccessLevel\] \[google.identity.accesscontextmanager.v1.AccessLevel\] names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all \[IngressSources\] \[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource\] will be allowed.


  Note: The following fields are mutually exclusive: `access_level`, `resource`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #resource

    def resource() -> ::String

**Returns**

- (::String) --- A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format: `projects/{project_number}` The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.


  Note: The following fields are mutually exclusive: `resource`, `access_level`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #resource=

    def resource=(value) -> ::String

**Parameter**

- **value** (::String) --- A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format: `projects/{project_number}` The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.


  Note: The following fields are mutually exclusive: `resource`, `access_level`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format: `projects/{project_number}` The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.


  Note: The following fields are mutually exclusive: `resource`, `access_level`. If a field in that set is populated, all other fields in the set will automatically be cleared.