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\u003eThe latest version of the Google Cloud Dialogflow v2 API is 4.26.0, with this page documenting versions down to 3.2.0 for the \u003ccode\u003eEncryptionSpecService.EncryptionSpecServiceBase\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEncryptionSpecService.EncryptionSpecServiceBase\u003c/code\u003e is the base class for server-side implementations of the \u003ccode\u003eEncryptionSpecService\u003c/code\u003e within the Dialogflow v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetEncryptionSpec\u003c/code\u003e method allows retrieving location-level encryption key specifications, taking a \u003ccode\u003eGetEncryptionSpecRequest\u003c/code\u003e and \u003ccode\u003eServerCallContext\u003c/code\u003e as parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInitializeEncryptionSpec\u003c/code\u003e method is used to set up a location-level encryption key specification, and once set up, this specification is immutable for that location.\u003c/p\u003e\n"],["\u003cp\u003eThe Dialogflow v2 API class, \u003ccode\u003eEncryptionSpecService.EncryptionSpecServiceBase\u003c/code\u003e can be found under the namespace \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]