Stackdriver Monitoring V3 Client - Class UptimeCheckIp (1.10.3)

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

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.

Parameter
Name Description
var string
Returns
Type Description
$this