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 Google Cloud API Keys v2 API manages the HTTP referrers (websites) 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 can be constructed either with default settings or by copying the properties from another \u003ccode\u003eBrowserKeyRestrictions\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt contains an \u003ccode\u003eAllowedReferrers\u003c/code\u003e property, which is a list of regular expressions representing the URLs authorized to make API calls with the associated key.\u003c/p\u003e\n"]]],[],null,[]]