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 Optional. Custom headers to set in the request. HTTP allows repeated headers.

Returns:



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

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

#path::String

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

Returns:

  • (::String)

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



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

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

#port::Integer

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


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

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