Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Probe::TcpSocketAction.
TcpSocketAction probes the health of a container by opening a TCP socket connection.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#host
def host() -> ::String
Returns
- (::String) — Optional: Host name to connect to, defaults to the model serving container's IP.
#host=
def host=(value) -> ::String
Parameter
- value (::String) — Optional: Host name to connect to, defaults to the model serving container's IP.
Returns
- (::String) — Optional: Host name to connect to, defaults to the model serving container's IP.
#port
def port() -> ::Integer
Returns
- (::Integer) — Number of the port to access on the container. Number must be in the range 1 to 65535.
#port=
def port=(value) -> ::Integer
Parameter
- value (::Integer) — Number of the port to access on the container. Number must be in the range 1 to 65535.
Returns
- (::Integer) — Number of the port to access on the container. Number must be in the range 1 to 65535.