Reference documentation and code samples for the Stackdriver Monitoring V3 Client class TcpCheck.
Information required for a TCP Uptime check request.
Generated from protobuf messagegoogle.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 themonitored_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 themonitored_resource) to
construct the full URL. Required.
Returns
Type
Description
int
setPort
The TCP port on the server against which to run the check. Will be
combined with host (specified within themonitored_resource) to
construct the full URL. Required.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]