public sealed class InterconnectMacsec : IMessage<InterconnectMacsec>, IEquatable<InterconnectMacsec>, IDeepCloneable<InterconnectMacsec>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class InterconnectMacsec.
Configuration information for enabling Media Access Control security (MACsec) on this Cloud Interconnect connection between Google and your on-premises router.
If set to true, the Interconnect connection is configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect connection is configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router.
public RepeatedField<InterconnectMacsecPreSharedKey> PreSharedKeys { get; }
Required. A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link.
[[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003eInterconnectMacsec\u003c/code\u003e class within the Google.Cloud.Compute.V1 API, specifically version 3.3.0 and its history down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInterconnectMacsec\u003c/code\u003e class is used to configure Media Access Control security (MACsec) on a Cloud Interconnect connection.\u003c/p\u003e\n"],["\u003cp\u003eKey features of \u003ccode\u003eInterconnectMacsec\u003c/code\u003e include the ability to set a \u003ccode\u003eFailOpen\u003c/code\u003e property, which determines if the connection allows cleartext fallback if the MACsec session fails, and a \u003ccode\u003ePreSharedKeys\u003c/code\u003e property, which manages a set of named keys and their start times.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInterconnectMacsec\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe most current version available for this class is 3.6.0.\u003c/p\u003e\n"]]],[],null,[]]