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 \ UptimeCheckConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int |
setPingsCount
Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |