public sealed class EncryptionSpec : IMessage<EncryptionSpec>, IEquatable<EncryptionSpec>, IDeepCloneable<EncryptionSpec>, IBufferMessage, IMessageReference documentation and code samples for the Vector Search v1 API class EncryptionSpec.
Represents a customer-managed encryption key specification that can be applied to a Vector Search collection.
Implements
IMessageEncryptionSpec, IEquatableEncryptionSpec, IDeepCloneableEncryptionSpec, IBufferMessage, IMessageNamespace
Google.Cloud.VectorSearch.V1Assembly
Google.Cloud.VectorSearch.V1.dll
Constructors
EncryptionSpec()
public EncryptionSpec()EncryptionSpec(EncryptionSpec)
public EncryptionSpec(EncryptionSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
EncryptionSpec |
Properties
CryptoKeyName
public string CryptoKeyName { get; set; }Required. Resource name of the Cloud KMS key used to protect the resource.
The Cloud KMS key must be in the same region as the resource. It must have
the format
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
CryptoKeyNameAsCryptoKeyName
public CryptoKeyName CryptoKeyNameAsCryptoKeyName { get; set; }CryptoKeyName-typed view over the CryptoKeyName resource name property.
| Property Value | |
|---|---|
| Type | Description |
CryptoKeyName |
|