Class: Google::Cloud::Run::V2::HTTPGetAction

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

HTTPGetAction describes an action based on HTTP Get requests.

Instance Attribute Summary collapse

Instance Attribute Details

#http_headers::Array<::Google::Cloud::Run::V2::HTTPHeader>

Returns Custom headers to set in the request. HTTP allows repeated headers.

Returns:



427
428
429
430
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 427

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

#path::String

Returns Path to access on the HTTP server. Defaults to '/'.

Returns:

  • (::String)

    Path to access on the HTTP server. Defaults to '/'.



427
428
429
430
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 427

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

#port::Integer

Returns Port number to access on the container. 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 to access on the container. 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.



427
428
429
430
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 427

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