public sealed class GRPCAction : IMessage<GRPCAction>, IEquatable<GRPCAction>, IDeepCloneable<GRPCAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class GRPCAction.
GRPCAction describes an action involving a GRPC port.
Implements
IMessageGRPCAction, IEquatableGRPCAction, IDeepCloneableGRPCAction, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.RunV2Assembly
Google.Cloud.Run.V2.dll
Constructors
GRPCAction()
public GRPCAction()
GRPCAction(GRPCAction)
public GRPCAction(GRPCAction other)
Parameter | |
---|---|
Name | Description |
other | GRPCAction |
Properties
Port
public int Port { get; set; }
Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to 8080.
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 |