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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class ServiceAttachmentTunnelingConfig (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.ServiceAttachmentTunnelingConfig)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.ServiceAttachmentTunnelingConfig) \n\n ServiceAttachmentTunnelingConfig(\n mapping=None, *, ignore_unknown_fields=False, **kwargs\n )\n\nUse to configure this PSC connection in tunneling mode. In\ntunneling mode traffic from consumer to producer will be\nencapsulated as it crosses the VPC boundary and traffic from\nproducer to consumer will be decapsulated in the same manner.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\nClasses\n-------\n\n### EncapsulationProfile\n\n EncapsulationProfile(value)\n\nSpecify the encapsulation protocol and what metadata to\ninclude in incoming encapsulated packet headers.\n\n### RoutingMode\n\n RoutingMode(value)\n\nHow this Service Attachment will treat traffic sent to the\ntunnel_ip, destined for the consumer network."]]