Google Cloud Ai Platform V1 Client - Class GrpcAction (1.30.0)

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 \ Probe

Methods

__construct

Constructor.

Parameters
Name
Description
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.

Returns
Type
Description
int

setPort

Port number of the gRPC service. Number must be in the range 1 to 65535.

Parameter
Name
Description
var
int
Returns
Type
Description
$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.

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: