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
Implements
IMessageTCPSocketAction, IEquatableTCPSocketAction, IDeepCloneableTCPSocketAction, IBufferMessage, IMessageNamespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
TCPSocketAction()
public TCPSocketAction()
TCPSocketAction(TCPSocketAction)
public TCPSocketAction(TCPSocketAction other)
Parameter | |
---|---|
Name | Description |
other | TCPSocketAction |
Properties
Port
public int Port { get; set; }
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.
Property Value | |
---|---|
Type | Description |
int |