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 page provides documentation for the \u003ccode\u003eEncryptionSpecService.EncryptionSpecServiceBase\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, covering versions from 3.2.0 to the latest 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionSpecService.EncryptionSpecServiceBase\u003c/code\u003e class serves as a base for implementing server-side functionality for the \u003ccode\u003eEncryptionSpecService\u003c/code\u003e and it inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the \u003ccode\u003eEncryptionSpecService.EncryptionSpecServiceBase\u003c/code\u003e class is \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e, and it is contained within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThis class has methods to get the key specification with \u003ccode\u003eGetEncryptionSpec\u003c/code\u003e, and to initiate the encryption key specification using \u003ccode\u003eInitializeEncryptionSpec\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetEncryptionSpec\u003c/code\u003e and \u003ccode\u003eInitializeEncryptionSpec\u003c/code\u003e methods interact with client requests and \u003ccode\u003eServerCallContext\u003c/code\u003e to handle encryption key operations, and they return the responses wrapped in a Task.\u003c/p\u003e\n"]]],[],null,[]]