Cloud Run V2 API - Class Google::Cloud::Run::V2::TCPSocketAction (v0.4.0)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::TCPSocketAction.

TCPSocketAction describes an action based on opening a socket

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#port

def port() -> ::Integer
Returns
  • (::Integer) — Port number to access on the container. Must be in the range 1 to 65535.

#port=

def port=(value) -> ::Integer
Parameter
  • value (::Integer) — Port number to access on the container. Must be in the range 1 to 65535.
Returns
  • (::Integer) — Port number to access on the container. Must be in the range 1 to 65535.