Cloud Run V2 API - Class Google::Cloud::Run::V2::GRPCAction (v0.6.0)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::GRPCAction.

GRPCAction describes an action involving a GRPC port.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#port

def port() -> ::Integer
Returns
  • (::Integer) — Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to 8080.

#port=

def port=(value) -> ::Integer
Parameter
  • value (::Integer) — Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to 8080.
Returns
  • (::Integer) — Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to 8080.

#service

def service() -> ::String
Returns
  • (::String) — 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.

#service=

def service=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.