Interface BrowserKeyRestrictionsOrBuilder (0.53.0)

public interface BrowserKeyRestrictionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedReferrers(int index)

public abstract String getAllowedReferrers(int index)

A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.

repeated string allowed_referrers = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedReferrers at the given index.

getAllowedReferrersBytes(int index)

public abstract ByteString getAllowedReferrersBytes(int index)

A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.

repeated string allowed_referrers = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedReferrers at the given index.

getAllowedReferrersCount()

public abstract int getAllowedReferrersCount()

A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.

repeated string allowed_referrers = 1;

Returns
Type Description
int

The count of allowedReferrers.

getAllowedReferrersList()

public abstract List<String> getAllowedReferrersList()

A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.

repeated string allowed_referrers = 1;

Returns
Type Description
List<String>

A list containing the allowedReferrers.