Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class IpOverrideData.
Information about the IP or IP range override.
Generated from protobuf messagegoogle.cloud.recaptchaenterprise.v1.IpOverrideData
Namespace
Google \ Cloud \ RecaptchaEnterprise \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ ip
string
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
↳ override_type
int
Required. Describes the type of IP override.
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
Returns
Type
Description
string
setIp
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Recaptcha Enterprise V1 Client - Class IpOverrideData (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-recaptcha-enterprise/latest/V1.IpOverrideData)\n- [2.1.2](/php/docs/reference/cloud-recaptcha-enterprise/2.1.2/V1.IpOverrideData)\n- [2.0.1](/php/docs/reference/cloud-recaptcha-enterprise/2.0.1/V1.IpOverrideData)\n- [1.17.2](/php/docs/reference/cloud-recaptcha-enterprise/1.17.2/V1.IpOverrideData)\n- [1.16.1](/php/docs/reference/cloud-recaptcha-enterprise/1.16.1/V1.IpOverrideData)\n- [1.15.0](/php/docs/reference/cloud-recaptcha-enterprise/1.15.0/V1.IpOverrideData)\n- [1.14.0](/php/docs/reference/cloud-recaptcha-enterprise/1.14.0/V1.IpOverrideData)\n- [1.13.0](/php/docs/reference/cloud-recaptcha-enterprise/1.13.0/V1.IpOverrideData)\n- [1.12.2](/php/docs/reference/cloud-recaptcha-enterprise/1.12.2/V1.IpOverrideData)\n- [1.8.0](/php/docs/reference/cloud-recaptcha-enterprise/1.8.0/V1.IpOverrideData)\n- [1.7.0](/php/docs/reference/cloud-recaptcha-enterprise/1.7.0/V1.IpOverrideData)\n- [1.6.0](/php/docs/reference/cloud-recaptcha-enterprise/1.6.0/V1.IpOverrideData)\n- [1.5.2](/php/docs/reference/cloud-recaptcha-enterprise/1.5.2/V1.IpOverrideData)\n- [1.4.2](/php/docs/reference/cloud-recaptcha-enterprise/1.4.2/V1.IpOverrideData)\n- [1.3.2](/php/docs/reference/cloud-recaptcha-enterprise/1.3.2/V1.IpOverrideData)\n- [1.2.6](/php/docs/reference/cloud-recaptcha-enterprise/1.2.6/V1.IpOverrideData) \nReference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class IpOverrideData.\n\nInformation about the IP or IP range override.\n\nGenerated from protobuf message `google.cloud.recaptchaenterprise.v1.IpOverrideData`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ RecaptchaEnterprise \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getIp\n\nRequired. The IP address to override (can be IPv4, IPv6 or CIDR).\n\nThe IP override must be a valid IPv4 or IPv6 address, or a CIDR range.\nThe IP override must be a public IP address.\nExample of IPv4: 168.192.5.6\nExample of IPv6: 2001:0000:130F:0000:0000:09C0:876A:130B\nExample of IPv4 with CIDR: 168.192.5.0/24\nExample of IPv6 with CIDR: 2001:0DB8🔢:/48\n\n### setIp\n\nRequired. The IP address to override (can be IPv4, IPv6 or CIDR).\n\nThe IP override must be a valid IPv4 or IPv6 address, or a CIDR range.\nThe IP override must be a public IP address.\nExample of IPv4: 168.192.5.6\nExample of IPv6: 2001:0000:130F:0000:0000:09C0:876A:130B\nExample of IPv4 with CIDR: 168.192.5.0/24\nExample of IPv6 with CIDR: 2001:0DB8🔢:/48\n\n### getOverrideType\n\nRequired. Describes the type of IP override.\n\n### setOverrideType\n\nRequired. Describes the type of IP override."]]