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-04-09 UTC."],[[["This webpage provides reference documentation for the `TCPSocketAction` class within the Google Cloud Run Admin v2 API, specifically for .NET."],["The `TCPSocketAction` class, found in the `Google.Cloud.Run.V2` namespace, is used to describe actions based on opening a TCP socket and implements several interfaces like `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The webpage offers version-specific links to the `TCPSocketAction` class documentation, ranging from version 1.0.0-beta02 to the latest, 2.13.0."],["The class has a `Port` property of type integer that represents the port number to access on the container, defaulting to the first exposed port if not set."],["The `TCPSocketAction` class provides two constructors: a default constructor and a constructor that accepts another `TCPSocketAction` instance as a parameter."]]],[]]