1.3.0 (latest) 1.2.4 1.1.3 1.0.4 0.5.5 0.4.5 0.3.5 Reference documentation and code samples for the Access Context Manager V1 Client class VpcAccessibleServices.

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

Generated from protobuf message `google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices`

## Namespace

Google \\ Identity \\ AccessContextManager \\ V1 \\ ServicePerimeterConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ enable_restriction` | `bool` Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. |
| `↳ allowed_services` | `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. |

### getEnableRestriction

Whether to restrict API calls within the Service Perimeter to the list of
APIs specified in 'allowed_services'.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setEnableRestriction

Whether to restrict API calls within the Service Perimeter to the list of
APIs specified in 'allowed_services'.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAllowedServices

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** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setAllowedServices

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |