public sealed class TCPSocketAction : IMessage<TCPSocketAction>, IEquatable<TCPSocketAction>, IDeepCloneable<TCPSocketAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class TCPSocketAction.
TCPSocketAction describes an action based on opening a socket
[[["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-08 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eTCPSocketAction\u003c/code\u003e class within the Google Cloud Run Admin v2 API, specifically for version 2.9.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTCPSocketAction\u003c/code\u003e is used to define an action involving the opening of a TCP socket and is derived from the base \u003ccode\u003eobject\u003c/code\u003e class, and it also implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a \u003ccode\u003ePort\u003c/code\u003e property, allowing specification of the port number to access on a container, defaulting to the container's exposed port if not explicitly set, and it is an integer value between 1 and 65535.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTCPSocketAction\u003c/code\u003e class offers two constructors; a parameterless constructor, and a second constructor that takes another \u003ccode\u003eTCPSocketAction\u003c/code\u003e as an input parameter.\u003c/p\u003e\n"],["\u003cp\u003eVarious previous versions are accessible with the most recent version being 2.13.0.\u003c/p\u003e\n"]]],[],null,[]]