Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GrpcAction.
GrpcAction checks the health of a container using a gRPC service.
Generated from protobuf message google.cloud.aiplatform.v1.Probe.GrpcAction
Namespace
Google \ Cloud \ AIPlatform \ V1 \ ProbeMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ port
int
Port number of the gRPC service. Number must be in the range 1 to 65535.
↳ service
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.
getPort
Port number of the gRPC service. Number must be in the range 1 to 65535.
int
setPort
Port number of the gRPC service. Number must be in the range 1 to 65535.
var
int
$this
getService
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.
string
setService
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.
var
string
$this

