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 message google.monitoring.v3.UptimeCheckIp
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.
Generated from protobuf field .google.monitoring.v3.UptimeCheckRegion region = 1;
Returns | |
---|---|
Type | Description |
int |
setRegion
A broad region category in which the IP address is located.
Generated from protobuf field .google.monitoring.v3.UptimeCheckRegion region = 1;
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.
Generated from protobuf field string location = 2;
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.
Generated from protobuf field string location = 2;
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.
Generated from protobuf field string ip_address = 3;
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.
Generated from protobuf field string ip_address = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |