public sealed class EncryptionSpec : IMessage<EncryptionSpec>, IEquatable<EncryptionSpec>, IDeepCloneable<EncryptionSpec>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2 API class EncryptionSpec.
A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).
Implements
IMessageEncryptionSpec, IEquatableEncryptionSpec, IDeepCloneableEncryptionSpec, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
EncryptionSpec()
public EncryptionSpec()EncryptionSpec(EncryptionSpec)
public EncryptionSpec(EncryptionSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
EncryptionSpec |
Properties
EncryptionSpecName
public EncryptionSpecName EncryptionSpecName { get; set; }EncryptionSpecName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
EncryptionSpecName |
|
KmsKey
public string KmsKey { get; set; }Required. The name of customer-managed encryption key that is used to
secure a resource and its sub-resources. If empty, the resource is secured
by the default Google encryption key. Only the key in the same location as
this resource is allowed to be used for encryption. Format:
projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec
| Property Value | |
|---|---|
| Type | Description |
string |
|