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 Optional. Port number of the gRPC service. Number must be in the range 1 to

  1. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.

Returns:

  • (::Integer)

    Optional. Port number of the gRPC service. Number must be in the range 1 to

    1. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.


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

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

#service::String

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

Returns:



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

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