class Google::Apis::RunV1::HttpGetAction

Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get requests.

Attributes

host[RW]

(Optional) Host name to connect to, defaults to the pod IP. You probably want to set “Host” in httpHeaders instead. Corresponds to the JSON property `host` @return [String]

http_headers[RW]

(Optional) Custom headers to set in the request. HTTP allows repeated headers. Corresponds to the JSON property `httpHeaders` @return [Array<Google::Apis::RunV1::HttpHeader>]

path[RW]

(Optional) Path to access on the HTTP server. Corresponds to the JSON property `path` @return [String]

scheme[RW]

(Optional) Scheme to use for connecting to the host. Defaults to HTTP. Corresponds to the JSON property `scheme` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/run_v1/classes.rb, line 1035
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/run_v1/classes.rb, line 1040
def update!(**args)
  @host = args[:host] if args.key?(:host)
  @http_headers = args[:http_headers] if args.key?(:http_headers)
  @path = args[:path] if args.key?(:path)
  @scheme = args[:scheme] if args.key?(:scheme)
end