Interface BrowserKeyRestrictionsOrBuilder (0.14.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the allowedReferrers.