Stackdriver Monitoring V3 Client - Class TcpCheck (1.2.2)

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

Information required for a TCP Uptime check request.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ port
int

The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource ) to construct the full URL. Required.

getPort

The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource ) to construct the full URL. Required.

Generated from protobuf field int32 port = 1;

Returns
Type
Description
int

setPort

The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource ) to construct the full URL. Required.

Generated from protobuf field int32 port = 1;

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: