Class: Google::Cloud::Run::V2::GRPCAction

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/k8s.min.rb

Overview

GRPCAction describes an action involving a GRPC port.

Instance Attribute Summary collapse

Instance Attribute Details

#port::Integer

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

Returns:

  • (::Integer)

    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.



466
467
468
469
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 466

class GRPCAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#service::String

Returns 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:



466
467
468
469
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 466

class GRPCAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end