Class TCPSocketAction
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
TCPSocketAction describes an action based on opening a socket
Inheritance
System.Object
TCPSocketAction
Implements
Namespace: Google.Apis.CloudRun.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class TCPSocketAction : object, IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Host
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Optional: Host name to connect to, defaults to the pod IP.
Declaration
public virtual string Host { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Port
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
Declaration
public virtual IntOrString Port { get; set; }
Property Value
| Type | Description |
|---|---|
| IntOrString |