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\u003eThe latest version available for the \u003ccode\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e class is 3.6.0, which is part of the Google Cloud Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis webpage provides documentation and version history for the \u003ccode\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e class, detailing versions from 1.0.0 up to the latest 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e class describes a pre-shared key for setting up MACsec in static connectivity association key (CAK) mode, and implements multiple interfaces for various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, properties for \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003eStartTime\u003c/code\u003e, and inherited members from the \u003ccode\u003eobject\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property of \u003ccode\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e must be 1-63 characters long and start with a lowercase letter, and the \u003ccode\u003eStartTime\u003c/code\u003e property is a RFC3339 timestamp specifying when the key is valid.\u003c/p\u003e\n"]]],[],null,[]]