[google|compute] Refactor Compute to use the new shared methods