Reference documentation and code samples for the Compute Engine v1 API enum InterconnectAttachment.Types.Encryption.
Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use HA VPN over Cloud Interconnect, the VLAN attachment must be created with this option.
The interconnect attachment will carry only encrypted traffic that is encrypted by an IPsec device such as HA VPN gateway; VMs cannot directly send traffic to or receive traffic from such an interconnect attachment. To use HA VPN over Cloud Interconnect, the interconnect attachment must be created with this option.
None
This is the default value, which means the Interconnect Attachment will carry unencrypted traffic. VMs will be able to send traffic to or receive traffic from such interconnect attachment.
UndefinedEncryption
A value indicating that the enum field is not set.
[[["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-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eInterconnectAttachment.Types.Encryption\u003c/code\u003e enum is 3.6.0, with multiple previous versions ranging from 3.5.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThis enum defines the encryption options for VLAN attachments, specifying whether traffic is encrypted or unencrypted.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIpsec\u003c/code\u003e field indicates that the VLAN attachment will only carry traffic encrypted by an IPsec device, disallowing direct VM communication, and is required for HA VPN over Cloud Interconnect.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNone\u003c/code\u003e field is the default, where the Interconnect Attachment carries unencrypted traffic, enabling direct VM communication.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUndefinedEncryption\u003c/code\u003e field indicates when the value is not set for the enum field.\u003c/p\u003e\n"]]],[],null,[]]