Interface IpOverrideDataOrBuilder (3.45.0)

public interface IpOverrideDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIp()

public abstract String getIp()

Required. The IP address to override (can be IPv4, IPv6 or CIDR). The IP override must be a valid IPv4 or IPv6 address, or a CIDR range. The IP override must be a public IP address. Example of IPv4: 168.192.5.6 Example of IPv6: 2001:0000:130F:0000:0000:09C0:876A:130B Example of IPv4 with CIDR: 168.192.5.0/24 Example of IPv6 with CIDR: 2001:0DB8🔢:/48

string ip = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }

Returns
Type Description
String

The ip.

getIpBytes()

public abstract ByteString getIpBytes()

Required. The IP address to override (can be IPv4, IPv6 or CIDR). The IP override must be a valid IPv4 or IPv6 address, or a CIDR range. The IP override must be a public IP address. Example of IPv4: 168.192.5.6 Example of IPv6: 2001:0000:130F:0000:0000:09C0:876A:130B Example of IPv4 with CIDR: 168.192.5.0/24 Example of IPv6 with CIDR: 2001:0DB8🔢:/48

string ip = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for ip.

getOverrideType()

public abstract IpOverrideData.OverrideType getOverrideType()

Required. Describes the type of IP override.

.google.cloud.recaptchaenterprise.v1.IpOverrideData.OverrideType override_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IpOverrideData.OverrideType

The overrideType.

getOverrideTypeValue()

public abstract int getOverrideTypeValue()

Required. Describes the type of IP override.

.google.cloud.recaptchaenterprise.v1.IpOverrideData.OverrideType override_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for overrideType.