public sealed class TCPSocketAction : IMessage<TCPSocketAction>, IEquatable<TCPSocketAction>, IDeepCloneable<TCPSocketAction>, IBufferMessage, IMessageReference 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; }Optional. Port number to access on the container. Must be in the range 1 to
- 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 |
|