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"]],[["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 \u003ccode\u003eBrowserKeyRestrictions\u003c/code\u003e class in the API Keys v2 API allows defining HTTP referrers (websites) that are permitted to utilize a specific API key.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffer-based operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBrowserKeyRestrictions\u003c/code\u003e class offers two constructors: a default constructor and another that accepts an existing \u003ccode\u003eBrowserKeyRestrictions\u003c/code\u003e instance for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAllowedReferrers\u003c/code\u003e property is a \u003ccode\u003eRepeatedField<string>\u003c/code\u003e that stores a list of regular expressions representing the URLs allowed to make API calls using the associated key.\u003c/p\u003e\n"],["\u003cp\u003eThe current version in the provided content, version 1.1.0, is one of five available versions, with the most current being 1.4.0, which also implements \u003ccode\u003eBrowserKeyRestrictions\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]