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.
Implements
IMessageBrowserKeyRestrictions, IEquatableBrowserKeyRestrictions, IDeepCloneableBrowserKeyRestrictions, IBufferMessage, IMessageNamespace
Google.Cloud.ApiKeys.V2Assembly
Google.Cloud.ApiKeys.V2.dll
Constructors
BrowserKeyRestrictions()
public BrowserKeyRestrictions()
BrowserKeyRestrictions(BrowserKeyRestrictions)
public BrowserKeyRestrictions(BrowserKeyRestrictions other)
Parameter | |
---|---|
Name | Description |
other | BrowserKeyRestrictions |
Properties
AllowedReferrers
public RepeatedField<string> AllowedReferrers { get; }
A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |