All newer APIs support a v2 Discovery URL that is preferred.
They have a fallback v1 URL also but in some cases this fallback
discovery file doesn't have all APIs and methods. We will use
v2 for all APIs that support it.
Also remove some old GPlus commands that are deprecated.
* Consolidate callGAPIpages() implementation and add docstrings on all GAPI execution-related methods
callGAPIpages was previously broken out into a few subroutines which contained a couple lines of code and weren't being used elsewhere in the code. The main "GAPI" execution methods were also missing documentation which made it hard to tell what they did and/or how to use their parameters.
* Fix oauth2client library name
* Add csvsheet <String> and targetname - to get drivefile
Standarize id: and uid: processing
* Update var.py for Sheets API
* Handle revisionId in download of non Google files
* create project cleanu
Google now puts a leading \n on client_id and client_secret; handle them.
Update instructions,
* Fix instructions.
* Add comment explaining extra raw_input
calendar.timegm(time.gmtime()) and int(time.time()) return the same value. import calendar can be droped as it caused a name conflict later on.
With import dns.resolver moved to the top, try except ImportError can be dropped.
* Multiple small fixes
Allow mixed case when creating/updating/deleting alias: 362/378, 8068, 8622, 10162
Recode callGAPIpages for future benefits: 890/940
Handle out of range start_time end_time values in gam report: 1441/1444
Work around API bug where primary can't be used as calendarId: 2979/2980
Code cleanup in doCalendarAddEvent: 3507/3600
Get integers with subroutine: 228-236, multiple calls
Minimize data download in doDeleteGuardian: 2330/2348
Add contentmanager/fileorganizer role: 3984/4074
* Fix typos
* Code cleanup calendar ACL commands; add sendnotifications
* Correct documentation error
* Add operatingSystemType to user posix attribute
* Add Jay's changes
group member delivery settings, check max sheet bytes on CSV upload
* Cleanup writeCSVfile sheet size checking
* Revert "Add Jay's changes"
This reverts commit 9eb90ba7d7.
* Revert "Cleanup writeCSVfile sheet size checking"
This reverts commit 139a2f7f4c.
* More reverting
* Use openFile/closeFile to avoid traps
This code isn't necessary, it will happen as part of close
f.flush()
os.fsync(f.fileno())
* Put flush/sync back
* Fix my mistake, keep pylint happy, set export folder
5439/5440: copy/paste mistake
7531/7550: file and object are Python objects, pylint gets very unhappy when you redefine them
7529, 7534, 7564: Use user-defined drive folder
* Cleanup download message
* Add textcolor and backgroundcolor to add/update label
pylint cleanup in new valult code
* Check that both textcolor and backgroundcolor are specified
1) Handle errors in gam-install.sh if user asks for unknown version
2) Over the last few days users get created but their org unit doesn't get assigned. If you say `gam ou /Path/To/Ou print users` you get a trap because you get a user with a primaryEmail and no orgUnitPath.
3) Make delete label take labels like all other label commands
4) Add data transfer service abbreviations like drive; this avoids an API call