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 within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace is version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThis page documents the \u003ccode\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e class, which is used for setting up MACsec in static connectivity association key (CAK) mode.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e class has properties such as \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003eStartTime\u003c/code\u003e, and it includes constructors for creating instances of the class.\u003c/p\u003e\n"],["\u003cp\u003eThere is a range of versions, from 1.0.0 up to the latest 3.6.0, for the \u003ccode\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e class in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, all accessible from the content provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]