1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class SingleRegionKey : IMessage<SingleRegionKey>, IEquatable<SingleRegionKey>, IDeepCloneable<SingleRegionKey>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class SingleRegionKey.

Metadata for single-regional CMEKs.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SingleRegionKey

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SingleRegionKey](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SingleRegionKey), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SingleRegionKey](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SingleRegionKey), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SingleRegionKey](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SingleRegionKey), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### SingleRegionKey()

    public SingleRegionKey()

### SingleRegionKey(SingleRegionKey)

    public SingleRegionKey(SingleRegionKey other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SingleRegionKey` |

## Properties

### KmsKey

    public string KmsKey { get; set; }

Required. Single-regional kms key resource name which will be used to
encrypt resources
`projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### KmsKeyAsCryptoKeysName

    public CryptoKeysName KmsKeyAsCryptoKeysName { get; set; }

[CryptoKeysName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CryptoKeysName)-typed view over the [KmsKey](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SingleRegionKey#Google_Cloud_DiscoveryEngine_V1Beta_SingleRegionKey_KmsKey) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CryptoKeysName` |   |