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.
Implements
IMessageTransientCryptoKey, IEquatableTransientCryptoKey, IDeepCloneableTransientCryptoKey, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
TransientCryptoKey()
public TransientCryptoKey()
TransientCryptoKey(TransientCryptoKey)
public TransientCryptoKey(TransientCryptoKey other)
Parameter | |
---|---|
Name | Description |
other |
TransientCryptoKey |
Properties
Name
public string Name { get; set; }
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).
Property Value | |
---|---|
Type | Description |
string |