The reconstruction of an inflationary universe in the context of the Galileon model or G-model, considering as attractors the scalar spectral index nS(N) and the tensor to scalar ratio r(N) as a function of the number of e-folding N is studied. By assuming a coupling of the form G(ϕ,X)=g(ϕ)X, we obtain the effective potential V and the coupling parameter g in terms of the cosmological parameters nS and r under the slow roll approximation. From some examples for nS(N) and r(N), different results for the effective potential V(ϕ) and the coupling parameter g(ϕ) are found.