public sealed class RetrieveLegacySecretKeyResponse : IMessage<RetrieveLegacySecretKeyResponse>, IEquatable<RetrieveLegacySecretKeyResponse>, IDeepCloneable<RetrieveLegacySecretKeyResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class RetrieveLegacySecretKeyResponse.
Secret key is used only in legacy reCAPTCHA. It must be used in a 3rd party
integration with legacy reCAPTCHA.
The secret key (also known as shared secret) authorizes communication
between your application backend and the reCAPTCHA Enterprise server to
create an assessment.
The secret key needs to be kept safe for security purposes.
[[["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 webpage provides reference documentation and code samples for the \u003ccode\u003eRetrieveLegacySecretKeyResponse\u003c/code\u003e class within the Google Cloud reCAPTCHA Enterprise v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.17.0, with a history of versions dating back to 1.2.0, all with links to their corresponding \u003ccode\u003eRetrieveLegacySecretKeyResponse\u003c/code\u003e documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRetrieveLegacySecretKeyResponse\u003c/code\u003e is used for legacy reCAPTCHA integration, implementing several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLegacySecretKey\u003c/code\u003e property, of type string, is used to authorize communication between the application and the reCAPTCHA server for creating an assessment and must be kept secure.\u003c/p\u003e\n"],["\u003cp\u003eThere are 2 constructors for this class, one default and one that takes in the \u003ccode\u003eRetrieveLegacySecretKeyResponse\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]