1.5.0 (latest) 1.4.0 1.3.0 1.2.0 1.1.0 1.0.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](https://learn.microsoft.com/dotnet/api/system.object) \> BrowserKeyRestrictions

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[BrowserKeyRestrictions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiKeys.V2/latest/Google.Cloud.ApiKeys.V2.BrowserKeyRestrictions.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BrowserKeyRestrictions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiKeys.V2/latest/Google.Cloud.ApiKeys.V2.BrowserKeyRestrictions.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[BrowserKeyRestrictions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiKeys.V2/latest/Google.Cloud.ApiKeys.V2.BrowserKeyRestrictions.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ApiKeys.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiKeys.V2/latest/Google.Cloud.ApiKeys.V2.md.txt)

## Assembly

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` |   |