Reference documentation and code samples for the Stackdriver Monitoring V3 Client class UptimeCheckIp.
Contains the region, location, and list of IP
addresses where checkers in the location run from.
Generated from protobuf messagegoogle.monitoring.v3.UptimeCheckIp
Namespace
Google \ Cloud \ Monitoring \ V3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ region
int
A broad region category in which the IP address is located.
↳ location
string
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
↳ ip_address
string
The IP address from which the Uptime check originates. This is a fully specified IP address (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not rely on the IP addresses being in IPv4 format indefinitely, and should support interpreting this field in either IPv4 or IPv6 format.
getRegion
A broad region category in which the IP address is located.
Returns
Type
Description
int
setRegion
A broad region category in which the IP address is located.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getLocation
A more specific location within the region that typically encodes
a particular city/town/metro (and its containing state/province or country)
within the broader umbrella region category.
Returns
Type
Description
string
setLocation
A more specific location within the region that typically encodes
a particular city/town/metro (and its containing state/province or country)
within the broader umbrella region category.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getIpAddress
The IP address from which the Uptime check originates. This is a fully
specified IP address (not an IP address range). Most IP addresses, as of
this publication, are in IPv4 format; however, one should not rely on the
IP addresses being in IPv4 format indefinitely, and should support
interpreting this field in either IPv4 or IPv6 format.
Returns
Type
Description
string
setIpAddress
The IP address from which the Uptime check originates. This is a fully
specified IP address (not an IP address range). Most IP addresses, as of
this publication, are in IPv4 format; however, one should not rely on the
IP addresses being in IPv4 format indefinitely, and should support
interpreting this field in either IPv4 or IPv6 format.
[[["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,["# Stackdriver Monitoring V3 Client - Class UptimeCheckIp (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-monitoring/latest/V3.UptimeCheckIp)\n- [2.1.1](/php/docs/reference/cloud-monitoring/2.1.1/V3.UptimeCheckIp)\n- [2.0.1](/php/docs/reference/cloud-monitoring/2.0.1/V3.UptimeCheckIp)\n- [1.12.1](/php/docs/reference/cloud-monitoring/1.12.1/V3.UptimeCheckIp)\n- [1.11.1](/php/docs/reference/cloud-monitoring/1.11.1/V3.UptimeCheckIp)\n- [1.10.3](/php/docs/reference/cloud-monitoring/1.10.3/V3.UptimeCheckIp)\n- [1.9.0](/php/docs/reference/cloud-monitoring/1.9.0/V3.UptimeCheckIp)\n- [1.8.0](/php/docs/reference/cloud-monitoring/1.8.0/V3.UptimeCheckIp)\n- [1.7.1](/php/docs/reference/cloud-monitoring/1.7.1/V3.UptimeCheckIp)\n- [1.6.0](/php/docs/reference/cloud-monitoring/1.6.0/V3.UptimeCheckIp)\n- [1.5.1](/php/docs/reference/cloud-monitoring/1.5.1/V3.UptimeCheckIp)\n- [1.4.0](/php/docs/reference/cloud-monitoring/1.4.0/V3.UptimeCheckIp)\n- [1.3.2](/php/docs/reference/cloud-monitoring/1.3.2/V3.UptimeCheckIp)\n- [1.2.2](/php/docs/reference/cloud-monitoring/1.2.2/V3.UptimeCheckIp) \nReference documentation and code samples for the Stackdriver Monitoring V3 Client class UptimeCheckIp.\n\nContains the region, location, and list of IP\naddresses where checkers in the location run from.\n\nGenerated from protobuf message `google.monitoring.v3.UptimeCheckIp`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Monitoring \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getRegion\n\nA broad region category in which the IP address is located.\n\n### setRegion\n\nA broad region category in which the IP address is located.\n\n### getLocation\n\nA more specific location within the region that typically encodes\na particular city/town/metro (and its containing state/province or country)\nwithin the broader umbrella region category.\n\n### setLocation\n\nA more specific location within the region that typically encodes\na particular city/town/metro (and its containing state/province or country)\nwithin the broader umbrella region category.\n\n### getIpAddress\n\nThe IP address from which the Uptime check originates. This is a fully\nspecified IP address (not an IP address range). Most IP addresses, as of\nthis publication, are in IPv4 format; however, one should not rely on the\nIP addresses being in IPv4 format indefinitely, and should support\ninterpreting this field in either IPv4 or IPv6 format.\n\n### setIpAddress\n\nThe IP address from which the Uptime check originates. This is a fully\nspecified IP address (not an IP address range). Most IP addresses, as of\nthis publication, are in IPv4 format; however, one should not rely on the\nIP addresses being in IPv4 format indefinitely, and should support\ninterpreting this field in either IPv4 or IPv6 format."]]