public virtual Task<Operation> InitializeEncryptionSpec(InitializeEncryptionSpecRequest request, ServerCallContext context)
Initializes a location-level encryption key specification. An error will
be thrown if the location has resources already created before the
initialization. Once the encryption specification is initialized at a
location, it is immutable and all newly created resources under the
location will be encrypted with the existing specification.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eEncryptionSpecService.EncryptionSpecServiceBase\u003c/code\u003e class within the Google Cloud Dialogflow v2beta1 API, specifically for version 1.0.0-beta22.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionSpecService.EncryptionSpecServiceBase\u003c/code\u003e class is an abstract base class designed for server-side implementations of the \u003ccode\u003eEncryptionSpecService\u003c/code\u003e API.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two primary methods: \u003ccode\u003eGetEncryptionSpec\u003c/code\u003e, which retrieves the location-level encryption key specification, and \u003ccode\u003eInitializeEncryptionSpec\u003c/code\u003e, which initializes a location-level encryption key specification.\u003c/p\u003e\n"],["\u003cp\u003eBoth methods, \u003ccode\u003eGetEncryptionSpec\u003c/code\u003e and \u003ccode\u003eInitializeEncryptionSpec\u003c/code\u003e, interact with requests and server contexts, and return their responses wrapped in a \u003ccode\u003eTask\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionSpecService\u003c/code\u003e is found within the namespace \u003ccode\u003eGoogle.Cloud.Dialogflow.V2Beta1\u003c/code\u003e, and the associated assembly is \u003ccode\u003eGoogle.Cloud.Dialogflow.V2Beta1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]