# Class GRPCAction (0.16.1)

0.16.1 (latest) 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.19 0.9.1 0.8.1 0.7.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0

    GRPCAction(mapping=None, *, ignore_unknown_fields=False, **kwargs)

GRPCAction describes an action involving a GRPC port.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `port` | `int` Optional. 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. |
| `service` | `str` 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. |