public sealed class TcpCheck : IMessage<UptimeCheckConfig.Types.TcpCheck>, IEquatable<UptimeCheckConfig.Types.TcpCheck>, IDeepCloneable<UptimeCheckConfig.Types.TcpCheck>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class UptimeCheckConfig.Types.TcpCheck.
Information required for a TCP Uptime check request.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eUptimeCheckConfig.Types.TcpCheck\u003c/code\u003e class within the Google Cloud Monitoring v3 API, detailing its use in creating TCP uptime checks.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTcpCheck\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a list of available versions of the \u003ccode\u003eTcpCheck\u003c/code\u003e class, ranging from version 3.15.0 (latest) down to 2.3.0, with version 3.2.0 being highlighted.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTcpCheck\u003c/code\u003e class has a \u003ccode\u003ePort\u003c/code\u003e property of type \u003ccode\u003eInt32\u003c/code\u003e, which specifies the TCP port on the server to check and is required for configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe page details two constructors for the \u003ccode\u003eTcpCheck\u003c/code\u003e class: a parameterless constructor, and one that accepts another \u003ccode\u003eUptimeCheckConfig.Types.TcpCheck\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"]]],[],null,[]]