public sealed class GRPCAction : IMessage<GRPCAction>, IEquatable<GRPCAction>, IDeepCloneable<GRPCAction>, IBufferMessage, IMessageReference 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
Google.Cloud.Run.V2Assembly
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; }Optional. Port number of the gRPC service. Number must be in the range 1 to
- If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Service
public string Service { get; set; }Optional. 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 |
|