View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2GRPCAction (google_api_run v0.30.0)

GRPCAction describes an action involving a GRPC port.

Attributes

  • port (type: integer(), default: nil) - 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 (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Run.V2.Model.GoogleCloudRunV2GRPCAction{
  port: integer() | nil,
  service: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.