Table of Contents

Class EncryptionSpec

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Represents a customer-managed encryption key spec that can be applied to a top-level resource.

public class EncryptionSpec
Inheritance
EncryptionSpec
Inherited Members
Extension Methods

Properties

KmsKeyName

Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the compute resource is created.

[JsonPropertyName("kmsKeyName")]
public string? KmsKeyName { get; set; }

Property Value

string