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"]],[["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-03-21 UTC."],[[["This webpage provides documentation for the `TCPSocketAction` class within the Google Cloud Run Admin v2 API, specifically for the .NET environment."],["The `TCPSocketAction` class, which describes an action based on opening a socket, is part of the `Google.Cloud.Run.V2` namespace, and is implemented by the `Google.Cloud.Run.V2.dll` assembly."],["The current latest version available for this class is 2.13.0, with a history of versions ranging from 2.13.0 down to 1.0.0-beta02 being documented."],["`TCPSocketAction` has two constructors: a default constructor and one that accepts another `TCPSocketAction` instance as a parameter for copying purposes."],["The `Port` property, of type integer, allows setting the port number for socket access, with a valid range between 1 and 65535, defaulting to the container's exposed port if not specified."]]],[]]