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 available for the Google Cloud Dialogflow v2 API class \u003ccode\u003eEncryptionSpecService.EncryptionSpecServiceBase\u003c/code\u003e is 4.26.0, with numerous previous versions dating back to 3.2.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEncryptionSpecService.EncryptionSpecServiceBase\u003c/code\u003e serves as the base class for server-side implementations of \u003ccode\u003eEncryptionSpecService\u003c/code\u003e within the Google.Cloud.Dialogflow.V2 namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetEncryptionSpec\u003c/code\u003e method retrieves location-level encryption key specifications, accepting a \u003ccode\u003eGetEncryptionSpecRequest\u003c/code\u003e and a \u003ccode\u003eServerCallContext\u003c/code\u003e as parameters, and returning an \u003ccode\u003eEncryptionSpec\u003c/code\u003e wrapped in a task.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInitializeEncryptionSpec\u003c/code\u003e method is used to initialize a location-level encryption key specification, and it accepts an \u003ccode\u003eInitializeEncryptionSpecRequest\u003c/code\u003e and a \u003ccode\u003eServerCallContext\u003c/code\u003e, returning an \u003ccode\u003eOperation\u003c/code\u003e wrapped in a task.\u003c/p\u003e\n"],["\u003cp\u003eThe class's methods include \u003ccode\u003eGetEncryptionSpec\u003c/code\u003e for retrieving specifications and \u003ccode\u003eInitializeEncryptionSpec\u003c/code\u003e for setting them up, while also inheriting base methods like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]