# Access Context Manager V1 API - Class Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::VpcAccessibleServices (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::VpcAccessibleServices.

Specifies how APIs are allowed to communicate within the Service
Perimeter.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allowed_services

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

**Returns**

- (::Array\<::String\>) --- The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.

### #allowed_services=

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

**Parameter**

- **value** (::Array\<::String\>) --- The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.
**Returns**

- (::Array\<::String\>) --- The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.

### #enable_restriction

    def enable_restriction() -> ::Boolean

**Returns**

- (::Boolean) --- Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.

### #enable_restriction=

    def enable_restriction=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.
**Returns**

- (::Boolean) --- Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.