public sealed class TransientCryptoKey : IMessage<TransientCryptoKey>, IEquatable<TransientCryptoKey>, IDeepCloneable<TransientCryptoKey>, IBufferMessage, IMessage
Use this to have a random data crypto key generated.
It will be discarded after the request finishes.
Required. Name of the key.
This is an arbitrary string used to differentiate different keys.
A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same.
When the data crypto key is generated, this name is not used in any way
(repeating the api call will result in a different key being generated).
[[["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-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eTransientCryptoKey\u003c/code\u003e class, which is used to generate a random data crypto key that is discarded after the request is completed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransientCryptoKey\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace and is contained within the \u003ccode\u003eGoogle.Cloud.Dlp.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a constructor to create a new \u003ccode\u003eTransientCryptoKey\u003c/code\u003e and one that accepts another \u003ccode\u003eTransientCryptoKey\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version for the \u003ccode\u003eTransientCryptoKey\u003c/code\u003e is 4.16.0, with the page providing access to previous versions, all the way down to 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property of a \u003ccode\u003eTransientCryptoKey\u003c/code\u003e instance is an arbitrary string used to differentiate keys, however, does not have an effect on the key generation itself.\u003c/p\u003e\n"]]],[],null,[]]