public sealed class Probe.Types.GrpcAction : IMessage<Probe.Types.GrpcAction>, IEquatable<Probe.Types.GrpcAction>, IDeepCloneable<Probe.Types.GrpcAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class Probe.Types.GrpcAction.
GrpcAction checks the health of a container using a gRPC service.
Implements
IMessageProbeTypesGrpcAction, IEquatableProbeTypesGrpcAction, IDeepCloneableProbeTypesGrpcAction, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
GrpcAction()
public GrpcAction()
GrpcAction(GrpcAction)
public GrpcAction(Probe.Types.GrpcAction other)
Parameter | |
---|---|
Name | Description |
other |
ProbeTypesGrpcAction |
Properties
Port
public int Port { get; set; }
Port number of the gRPC service. Number must be in the range 1 to 65535.
Property Value | |
---|---|
Type | Description |
int |
Service
public string Service { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |