diff --git a/src/email-audit-v1.json b/src/email-audit-v1.json new file mode 100644 index 00000000..afc5a89f --- /dev/null +++ b/src/email-audit-v1.json @@ -0,0 +1,34 @@ +{ + "kind": "discovery#restDescription", + "discoveryVersion": "v1", + "id": "email-audit:v1", + "name": "email-audit", + "version": "v1", + "revision": "20130823", + "title": "Email Audit API", + "description": "Lets you perform Google Apps email audits", + "ownerDomain": "google.com", + "ownerName": "Google", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "documentationLink": "https://developers.google.com/admin-sdk/email-audit", + "protocol": "rest", + "baseUrl": "https://apps-apis.google.com/", + "rootUrl": "https://apps-apis.google.com/", + "servicePath": "/a/feeds/compliance/audit/", + "auth": { + "oauth2": { + "scopes": { + "https://apps-apis.google.com/a/feeds/compliance/audit/": { + "description": "Manage email audits" + } + } + } + }, + "schemas": { + }, + "resources": { + } +} diff --git a/src/email-settings-v2.json b/src/email-settings-v2.json new file mode 100644 index 00000000..9a2f5ec4 --- /dev/null +++ b/src/email-settings-v2.json @@ -0,0 +1,34 @@ +{ + "kind": "discovery#restDescription", + "discoveryVersion": "v1", + "id": "email-settings:v2", + "name": "email-settings", + "version": "v2", + "revision": "20160616", + "title": "Email Settings API", + "description": "Lets you manage Google Apps Email Settings", + "ownerDomain": "google.com", + "ownerName": "Google", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "documentationLink": "https://developers.google.com/admin-sdk/email-settings", + "protocol": "rest", + "baseUrl": "https://apps-apis.google.com/", + "rootUrl": "https://apps-apis.google.com/", + "servicePath": "/a/feeds/emailsettings/2.0/", + "auth": { + "oauth2": { + "scopes": { + "https://apps-apis.google.com/a/feeds/emailsettings/2.0/": { + "description": "Manage email settings" + } + } + } + }, + "schemas": { + }, + "resources": { + } +} diff --git a/src/gam.spec b/src/gam.spec index 69593922..2f482746 100644 --- a/src/gam.spec +++ b/src/gam.spec @@ -1,25 +1,27 @@ -# -*- mode: python -*- -a = Analysis(['gam.py'], - pathex=['C:\\Users\\jlee\\Documents\\GitHub\\GAM'], - hiddenimports=[], - hookspath=None, - excludes=['_tkinter'], - runtime_hooks=None) -for d in a.datas: - if 'pyconfig' in d[0]: - a.datas.remove(d) - break -a.datas += [('httplib2/cacerts.txt', 'httplib2\cacerts.txt', 'DATA')] -a.datas += [('admin-settings-v2.json', 'admin-settings-v2.json', 'DATA')] -a.datas += [('cloudprint-v2.json', 'cloudprint-v2.json', 'DATA')] -pyz = PYZ(a.pure) -exe = EXE(pyz, - a.scripts, - a.binaries, - a.zipfiles, - a.datas, - name='gam.exe', - debug=False, - strip=None, - upx=True, - console=True ) +# -*- mode: python -*- +a = Analysis(['gam.py'], + pathex=['C:\\Users\\jlee\\Documents\\GitHub\\GAM'], + hiddenimports=[], + hookspath=None, + excludes=['_tkinter'], + runtime_hooks=None) +for d in a.datas: + if 'pyconfig' in d[0]: + a.datas.remove(d) + break +a.datas += [('httplib2/cacerts.txt', 'httplib2\cacerts.txt', 'DATA')] +a.datas += [('admin-settings-v2.json', 'admin-settings-v2.json', 'DATA')] +a.datas += [('cloudprint-v2.json', 'cloudprint-v2.json', 'DATA')] +a.datas += [('email-audit-v1.json', 'email-audit-v1.json', 'DATA')] +a.datas += [('email-settings-v2.json', 'email-settings-v2.json', 'DATA')] +pyz = PYZ(a.pure) +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + name='gam.exe', + debug=False, + strip=None, + upx=True, + console=True )