class Google::Cloud::Env::ComputeMetadata::Response

def initialize status, body, headers

Parameters:
  • headers (Hash{String=>String}) -- The HTTP response headers.
  • body (String) -- The HTTP body as a string
  • status (Integer) -- The HTTP status, normally 200
def initialize status, body, headers
  @status = status
  @body = body
  @headers = headers
  @retrieval_monotonic_time = Process.clock_gettime Process::CLOCK_MONOTONIC
end