Cloud Run Admin v2 API - Class TCPSocketAction (2.10.0)

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

Inheritance

object > TCPSocketAction

Namespace

Google.Cloud.Run.V2

Assembly

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

  1. 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