# Network Services V1 API - Class Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationConfig (v2.10.1)

2.10.1 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.2.0 0.1.0 Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationConfig.

Configuration to provide isolation support for the associated Backend
Service.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #isolation_granularity

    def isolation_granularity() -> ::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationGranularity

**Returns**

- ([::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationGranularity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-ServiceLbPolicy-IsolationGranularity)) --- Optional. The isolation granularity of the load balancer.

### #isolation_granularity=

    def isolation_granularity=(value) -> ::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationGranularity

**Parameter**

- **value** ([::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationGranularity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-ServiceLbPolicy-IsolationGranularity)) --- Optional. The isolation granularity of the load balancer.
**Returns**

- ([::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationGranularity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-ServiceLbPolicy-IsolationGranularity)) --- Optional. The isolation granularity of the load balancer.

### #isolation_mode

    def isolation_mode() -> ::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationMode

**Returns**

- ([::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationMode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-ServiceLbPolicy-IsolationMode)) --- Optional. The isolation mode of the load balancer.

### #isolation_mode=

    def isolation_mode=(value) -> ::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationMode

**Parameter**

- **value** ([::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationMode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-ServiceLbPolicy-IsolationMode)) --- Optional. The isolation mode of the load balancer.
**Returns**

- ([::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationMode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-ServiceLbPolicy-IsolationMode)) --- Optional. The isolation mode of the load balancer.