[[["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 reCAPTCHA Enterprise v1 API class Key is 2.17.0.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides reference documentation and code samples for the \u003ccode\u003eKey\u003c/code\u003e class within the Google Cloud reCAPTCHA Enterprise v1 API, which is used to identify and configure applications using reCAPTCHA Enterprise.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKey\u003c/code\u003e class supports settings for various platforms, including Android, iOS, web, and reCAPTCHA Express.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKey\u003c/code\u003e class can be created with a human-readable display name and labels for management purposes, and has a designated creation timestamp.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple properties available for the Key class that includes testing options, and settings for Web Application Firewalls, Android, iOS and Web keys.\u003c/p\u003e\n"]]],[],null,["# Google Cloud reCAPTCHA Enterprise v1 API - Class Key (2.18.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.18.0 (latest)](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.17.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.16.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.15.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.14.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.13.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.12.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.11.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.10.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.9.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.8.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.7.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.6.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.5.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.4.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.3.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.2.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.1.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.0.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.6.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.5.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.4.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.3.0/Google.Cloud.RecaptchaEnterprise.V1.Key)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.2.0/Google.Cloud.RecaptchaEnterprise.V1.Key) \n\n public sealed class Key : IMessage\u003cKey\u003e, IEquatable\u003cKey\u003e, IDeepCloneable\u003cKey\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class Key.\n\nA key used to identify and configure applications (web and/or mobile) that\nuse reCAPTCHA Enterprise. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Key \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Key](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.Key), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Key](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.Key), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Key](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.Key), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.RecaptchaEnterprise.V1](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.RecaptchaEnterprise.V1.dll\n\nConstructors\n------------\n\n### Key()\n\n public Key()\n\n### Key(Key)\n\n public Key(Key other)\n\nProperties\n----------\n\n### AndroidSettings\n\n public AndroidKeySettings AndroidSettings { get; set; }\n\nSettings for keys that can be used by Android apps.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The timestamp corresponding to the creation of this key.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nRequired. Human-readable display name of this key. Modifiable by user.\n\n### ExpressSettings\n\n public ExpressKeySettings ExpressSettings { get; set; }\n\nSettings for keys that can be used by reCAPTCHA Express.\n\n### IosSettings\n\n public IOSKeySettings IosSettings { get; set; }\n\nSettings for keys that can be used by iOS apps.\n\n### KeyName\n\n public KeyName KeyName { get; set; }\n\n[KeyName](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.KeyName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.Key#Google_Cloud_RecaptchaEnterprise_V1_Key_Name) resource name property.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nOptional. See [Creating and managing labels](https://cloud.google.com/recaptcha/docs/labels).\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. The resource name for the Key in the format\n`projects/{project}/keys/{key}`.\n\n### PlatformSettingsCase\n\n public Key.PlatformSettingsOneofCase PlatformSettingsCase { get; }\n\n### TestingOptions\n\n public TestingOptions TestingOptions { get; set; }\n\nOptional. Options for user acceptance testing.\n\n### WafSettings\n\n public WafSettings WafSettings { get; set; }\n\nOptional. Settings for WAF\n\n### WebSettings\n\n public WebKeySettings WebSettings { get; set; }\n\nSettings for keys that can be used by websites."]]