Interface ServerKeyRestrictionsOrBuilder (0.40.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the allowedIps.