Class: Google::Cloud::AIPlatform::V1::Probe::TcpSocketAction

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/model.rb

Overview

TcpSocketAction probes the health of a container by opening a TCP socket connection.

Instance Attribute Summary collapse

Instance Attribute Details

#host::String

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



986
987
988
989
# File 'proto_docs/google/cloud/aiplatform/v1/model.rb', line 986

class TcpSocketAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#port::Integer

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



986
987
988
989
# File 'proto_docs/google/cloud/aiplatform/v1/model.rb', line 986

class TcpSocketAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end