# Class ServiceAttachmentTunnelingConfig (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    ServiceAttachmentTunnelingConfig(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

Use to configure this PSC connection in tunneling mode. In
tunneling mode traffic from consumer to producer will be
encapsulated as it crosses the VPC boundary and traffic from
producer to consumer will be decapsulated in the same manner.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `encapsulation_profile` | `str` Specify the encapsulation protocol and what metadata to include in incoming encapsulated packet headers. Check the EncapsulationProfile enum for the list of possible values. This field is a member of `oneof`_ `_encapsulation_profile`. |
| `routing_mode` | `str` How this Service Attachment will treat traffic sent to the tunnel_ip, destined for the consumer network. Check the RoutingMode enum for the list of possible values. This field is a member of `oneof`_ `_routing_mode`. |

## Classes

### EncapsulationProfile

    EncapsulationProfile(value)

Specify the encapsulation protocol and what metadata to
include in incoming encapsulated packet headers.

### RoutingMode

    RoutingMode(value)

How this Service Attachment will treat traffic sent to the
tunnel_ip, destined for the consumer network.