Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Probe::GrpcAction.
GrpcAction checks the health of a container using a gRPC service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#port
def port() -> ::Integer
Returns
- (::Integer) — Port number of the gRPC service. Number must be in the range 1 to 65535.
#port=
def port=(value) -> ::Integer
Parameter
- value (::Integer) — Port number of the gRPC service. Number must be in the range 1 to 65535.
Returns
- (::Integer) — Port number of the gRPC service. Number must be in the range 1 to 65535.
#service
def service() -> ::String
Returns
-
(::String) — Service is the name of the service to place in the gRPC
HealthCheckRequest (see
https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
If this is not specified, the default behavior is defined by gRPC.
#service=
def service=(value) -> ::String
Parameter
-
value (::String) — Service is the name of the service to place in the gRPC
HealthCheckRequest (see
https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
If this is not specified, the default behavior is defined by gRPC.
Returns
-
(::String) — Service is the name of the service to place in the gRPC
HealthCheckRequest (see
https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
If this is not specified, the default behavior is defined by gRPC.