public sealed class InterconnectMacsecPreSharedKey : IMessage<InterconnectMacsecPreSharedKey>, IEquatable<InterconnectMacsecPreSharedKey>, IDeepCloneable<InterconnectMacsecPreSharedKey>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class InterconnectMacsecPreSharedKey.
Describes a pre-shared key used to setup MACsec in static connectivity association key (CAK) mode.
Required. A name for this pre-shared key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
A RFC3339 timestamp on or after which the key is valid. startTime can be in the future. If the keychain has a single key, startTime can be omitted. If the keychain has multiple keys, startTime is mandatory for each key. The start times of keys must be in increasing order. The start times of two consecutive keys must be at least 6 hours apart.
[[["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\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, detailing its properties, inheritance, and implemented interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e class is used to describe a pre-shared key for setting up MACsec in static connectivity association key (CAK) mode.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a list of available versions for the Google Cloud Compute Engine v1 API class, ranging from version 1.0.0 to the latest version 3.6.0, and displays the current version the user is viewing, which is version 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties for setting the name of the pre-shared key, which must comply with specific formatting requirements, and the start time of the key's validity, with restrictions on formatting and multiple keys.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation shows that the 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, while inheriting from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]