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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Class GRPCAction (0.10.19)\n\nVersion latestkeyboard_arrow_down\n\n- [0.10.19 (latest)](/python/docs/reference/run/latest/google.cloud.run_v2.types.GRPCAction)\n- [0.10.18](/python/docs/reference/run/0.10.18/google.cloud.run_v2.types.GRPCAction)\n- [0.9.1](/python/docs/reference/run/0.9.1/google.cloud.run_v2.types.GRPCAction)\n- [0.8.1](/python/docs/reference/run/0.8.1/google.cloud.run_v2.types.GRPCAction)\n- [0.7.1](/python/docs/reference/run/0.7.1/google.cloud.run_v2.types.GRPCAction)\n- [0.6.0](/python/docs/reference/run/0.6.0/google.cloud.run_v2.types.GRPCAction)\n- [0.5.0](/python/docs/reference/run/0.5.0/google.cloud.run_v2.types.GRPCAction)\n- [0.4.2](/python/docs/reference/run/0.4.2/google.cloud.run_v2.types.GRPCAction)\n- [0.3.0](/python/docs/reference/run/0.3.0/google.cloud.run_v2.types.GRPCAction)\n- [0.2.1](/python/docs/reference/run/0.2.1/google.cloud.run_v2.types.GRPCAction)\n- [0.1.0](/python/docs/reference/run/0.1.0/google.cloud.run_v2.types.GRPCAction) \n\n GRPCAction(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nGRPCAction describes an action involving a GRPC port."]]