Cloud Run Admin v2 API - Class GRPCAction (2.10.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
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

  1. 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