class Google::Cloud::Env::ComputeMetadata

def expiration_time_of path, query: nil

Returns:
  • (Numeric, nil, false) -
def expiration_time_of path, query: nil
  state = @cache.internal_state [path, query]
  return false unless state[0] == :success
  state[2]
end