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, detailing its functionality and available methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionSpecService.EncryptionSpecServiceBase\u003c/code\u003e class is an abstract base for server-side implementations of the \u003ccode\u003eEncryptionSpecService\u003c/code\u003e, used in managing location-level encryption key specifications.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetEncryptionSpec\u003c/code\u003e method retrieves a location's encryption key specification, receiving a \u003ccode\u003eGetEncryptionSpecRequest\u003c/code\u003e and returning an \u003ccode\u003eEncryptionSpec\u003c/code\u003e wrapped in a \u003ccode\u003eTask\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInitializeEncryptionSpec\u003c/code\u003e method initializes a location-level encryption key specification, accepting an \u003ccode\u003eInitializeEncryptionSpecRequest\u003c/code\u003e and returning an \u003ccode\u003eOperation\u003c/code\u003e wrapped in a \u003ccode\u003eTask\u003c/code\u003e, with the caveat that initialization is immutable after completion and throws an error if resources are already created.\u003c/p\u003e\n"],["\u003cp\u003eA full list of previous versions is available, starting from 3.2.0 up until the latest version, 4.26.0, allowing users to reference specific releases of the documentation.\u003c/p\u003e\n"]]],[],null,[]]