Stackdriver Monitoring V3 Client - Class PingConfig (1.5.1)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class PingConfig.

Information involved in sending ICMP pings alongside public HTTP/TCP checks. For HTTP, the pings are performed for each part of the redirect chain.

Generated from protobuf message google.monitoring.v3.UptimeCheckConfig.PingConfig

Namespace

Google \ Cloud \ Monitoring \ V3 \ UptimeCheckConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ pings_count int

Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.

getPingsCount

Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.

Returns
TypeDescription
int

setPingsCount

Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.

Parameter
NameDescription
var int
Returns
TypeDescription
$this