API Keys v2 API - Class BrowserKeyRestrictions (1.2.0)

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.

Inheritance

object > BrowserKeyRestrictions

Namespace

Google.Cloud.ApiKeys.V2

Assembly

Google.Cloud.ApiKeys.V2.dll

Constructors

BrowserKeyRestrictions()

public BrowserKeyRestrictions()

BrowserKeyRestrictions(BrowserKeyRestrictions)

public BrowserKeyRestrictions(BrowserKeyRestrictions other)
Parameter
NameDescription
otherBrowserKeyRestrictions

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
TypeDescription
RepeatedFieldstring