Interface ServerKeyRestrictionsOrBuilder (0.32.0)

public interface ServerKeyRestrictionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedIps(int index)

public abstract String getAllowedIps(int index)

A list of the caller IP addresses that are allowed to make API calls with this key.

repeated string allowed_ips = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The allowedIps at the given index.

getAllowedIpsBytes(int index)

public abstract ByteString getAllowedIpsBytes(int index)

A list of the caller IP addresses that are allowed to make API calls with this key.

repeated string allowed_ips = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the allowedIps at the given index.

getAllowedIpsCount()

public abstract int getAllowedIpsCount()

A list of the caller IP addresses that are allowed to make API calls with this key.

repeated string allowed_ips = 1;

Returns
TypeDescription
int

The count of allowedIps.

getAllowedIpsList()

public abstract List<String> getAllowedIpsList()

A list of the caller IP addresses that are allowed to make API calls with this key.

repeated string allowed_ips = 1;

Returns
TypeDescription
List<String>

A list containing the allowedIps.