initial commit after reworking code for v1 of googleapis