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 document provides reference information 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 describes an action based on opening a socket, is part of the \u003ccode\u003eGoogle.Cloud.Run.V2\u003c/code\u003e namespace, found in the \u003ccode\u003eGoogle.Cloud.Run.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eTCPSocketAction\u003c/code\u003e has two constructors: a default constructor \u003ccode\u003eTCPSocketAction()\u003c/code\u003e and a copy constructor \u003ccode\u003eTCPSocketAction(TCPSocketAction other)\u003c/code\u003e that takes another instance of the class as input.\u003c/p\u003e\n"],["\u003cp\u003eThe class features a \u003ccode\u003ePort\u003c/code\u003e property which allows you to specify the port number to access on the container, with values ranging between 1 to 65535, and defaults to the exposed container port if unspecified.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation also lists previous versions of this resource, from the latest 2.13.0 to 1.0.0-beta02, which can be navigated to for specific version details.\u003c/p\u003e\n"]]],[],null,[]]