Cloud Run Admin v2 API - Class GRPCAction (2.2.0)

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.

Inheritance

object > GRPCAction

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

GRPCAction()

public GRPCAction()

GRPCAction(GRPCAction)

public GRPCAction(GRPCAction other)
Parameter
NameDescription
otherGRPCAction

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 the exposed port of the container, which is the value of container.ports[0].containerPort.

Property Value
TypeDescription
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
TypeDescription
string