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
Port number to access on the container. Must be in the range 1 to 65535.
If not specified, defaults to the exposed port of the container, which is
the value of container.ports[0].containerPort.
[[["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 .NET developers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTCPSocketAction\u003c/code\u003e class, which inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, describes an action based on opening a TCP socket.\u003c/p\u003e\n"],["\u003cp\u003eThe class is available in multiple versions, ranging from 1.0.0-beta02 to 2.13.0, with version 2.13.0 being the latest, and the documentation specifically detailing version 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTCPSocketAction\u003c/code\u003e class has a \u003ccode\u003ePort\u003c/code\u003e property that allows the user to specify the port number (between 1 and 65535) for accessing the container, with a default to the container's exposed port if not specified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTCPSocketAction\u003c/code\u003e class includes a default and parameterized constructor, allowing you to create a new instance or duplicate another instance, in addition to inherited methods from the object class.\u003c/p\u003e\n"]]],[],null,[]]