public sealed class BrowserKeyRestrictions : IMessage<BrowserKeyRestrictions>, IEquatable<BrowserKeyRestrictions>, IDeepCloneable<BrowserKeyRestrictions>, IBufferMessage, IMessage
Reference documentation and code samples for the API Keys v2 API class BrowserKeyRestrictions.
The HTTP referrers (websites) that are allowed to use the key.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eBrowserKeyRestrictions\u003c/code\u003e class within the Google.Cloud.ApiKeys.V2 API, detailing its purpose and usage in managing API key restrictions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBrowserKeyRestrictions\u003c/code\u003e class is designed to specify the HTTP referrers (websites) permitted to use a particular API key.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBrowserKeyRestrictions\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API is 1.4.0, with prior versions including 1.3.0, 1.2.0, 1.1.0, and 1.0.0 also available, and the class has a \u003ccode\u003eRepeatedField\u003c/code\u003e property called \u003ccode\u003eAllowedReferrers\u003c/code\u003e to define allowed URLs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBrowserKeyRestrictions\u003c/code\u003e class offers two constructors: a default constructor \u003ccode\u003eBrowserKeyRestrictions()\u003c/code\u003e and an overloaded constructor \u003ccode\u003eBrowserKeyRestrictions(BrowserKeyRestrictions other)\u003c/code\u003e for creating new instances.\u003c/p\u003e\n"]]],[],null,[]]