public sealed class TransientCryptoKey : IMessage<TransientCryptoKey>, IEquatable<TransientCryptoKey>, IDeepCloneable<TransientCryptoKey>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class TransientCryptoKey.
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["The `TransientCryptoKey` class in the Google Cloud Data Loss Prevention v2 API provides a mechanism for generating a random data crypto key."],["The generated crypto key is temporary and will be discarded once the associated request is completed."],["The class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, for functionality such as message handling, equality comparisons, deep cloning, and buffer message management."],["The `TransientCryptoKey` class includes a `Name` property, which is used to differentiate keys, allowing for the generation of unique keys based on the name provided."],["This page provides version information for `TransientCryptoKey`, with version 4.16.0 being the latest, and versions ranging back to 2.15.0."]]],[]]