gam7 7.3.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of gam7 might be problematic. Click here for more details.
- gam/__init__.py +77555 -0
- gam/__main__.py +40 -0
- gam/atom/__init__.py +1460 -0
- gam/atom/auth.py +41 -0
- gam/atom/client.py +214 -0
- gam/atom/core.py +535 -0
- gam/atom/data.py +327 -0
- gam/atom/http.py +354 -0
- gam/atom/http_core.py +599 -0
- gam/atom/http_interface.py +144 -0
- gam/atom/mock_http.py +123 -0
- gam/atom/mock_http_core.py +313 -0
- gam/atom/mock_service.py +235 -0
- gam/atom/service.py +723 -0
- gam/atom/token_store.py +105 -0
- gam/atom/url.py +130 -0
- gam/cacerts.pem +1130 -0
- gam/cbcm-v1.1beta1.json +593 -0
- gam/contactdelegation-v1.json +249 -0
- gam/datastudio-v1.json +486 -0
- gam/gamlib/__init__.py +17 -0
- gam/gamlib/glaction.py +308 -0
- gam/gamlib/glapi.py +837 -0
- gam/gamlib/glcfg.py +616 -0
- gam/gamlib/glclargs.py +1184 -0
- gam/gamlib/glentity.py +831 -0
- gam/gamlib/glgapi.py +817 -0
- gam/gamlib/glgdata.py +98 -0
- gam/gamlib/glglobals.py +307 -0
- gam/gamlib/glindent.py +46 -0
- gam/gamlib/glmsgs.py +547 -0
- gam/gamlib/glskus.py +246 -0
- gam/gamlib/gluprop.py +279 -0
- gam/gamlib/glverlibs.py +33 -0
- gam/gamlib/yubikey.py +202 -0
- gam/gdata/__init__.py +825 -0
- gam/gdata/alt/__init__.py +20 -0
- gam/gdata/alt/app_engine.py +101 -0
- gam/gdata/alt/appengine.py +321 -0
- gam/gdata/apps/__init__.py +526 -0
- gam/gdata/apps/audit/__init__.py +1 -0
- gam/gdata/apps/audit/service.py +278 -0
- gam/gdata/apps/contacts/__init__.py +874 -0
- gam/gdata/apps/contacts/service.py +355 -0
- gam/gdata/apps/service.py +544 -0
- gam/gdata/apps/sites/__init__.py +283 -0
- gam/gdata/apps/sites/service.py +246 -0
- gam/gdata/service.py +1714 -0
- gam/gdata/urlfetch.py +247 -0
- gam/googleapiclient/__init__.py +27 -0
- gam/googleapiclient/_auth.py +167 -0
- gam/googleapiclient/_helpers.py +207 -0
- gam/googleapiclient/channel.py +315 -0
- gam/googleapiclient/discovery.py +1662 -0
- gam/googleapiclient/discovery_cache/__init__.py +78 -0
- gam/googleapiclient/discovery_cache/appengine_memcache.py +55 -0
- gam/googleapiclient/discovery_cache/base.py +46 -0
- gam/googleapiclient/discovery_cache/file_cache.py +145 -0
- gam/googleapiclient/errors.py +197 -0
- gam/googleapiclient/http.py +1962 -0
- gam/googleapiclient/mimeparse.py +183 -0
- gam/googleapiclient/model.py +429 -0
- gam/googleapiclient/schema.py +317 -0
- gam/googleapiclient/version.py +15 -0
- gam/iso8601/__init__.py +28 -0
- gam/iso8601/iso8601.py +160 -0
- gam/serviceaccountlookup-v1.json +141 -0
- gam/six.py +982 -0
- gam7-7.3.4.dist-info/METADATA +69 -0
- gam7-7.3.4.dist-info/RECORD +72 -0
- gam7-7.3.4.dist-info/WHEEL +4 -0
- gam7-7.3.4.dist-info/licenses/LICENSE +201 -0
gam/gamlib/glentity.py
ADDED
|
@@ -0,0 +1,831 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
# Copyright (C) 2024 Ross Scroggs All Rights Reserved.
|
|
4
|
+
#
|
|
5
|
+
# All Rights Reserved.
|
|
6
|
+
#
|
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
8
|
+
# not use this file except in compliance with the License. You may obtain
|
|
9
|
+
# a copy of the License at
|
|
10
|
+
#
|
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
#
|
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
15
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
16
|
+
# License for the specific language governing permissions and limitations
|
|
17
|
+
# under the License.
|
|
18
|
+
|
|
19
|
+
"""GAM entity processing
|
|
20
|
+
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
class GamEntity():
|
|
24
|
+
|
|
25
|
+
ROLE_MANAGER = 'MANAGER'
|
|
26
|
+
ROLE_MEMBER = 'MEMBER'
|
|
27
|
+
ROLE_OWNER = 'OWNER'
|
|
28
|
+
ROLE_LIST = [ROLE_MANAGER, ROLE_MEMBER, ROLE_OWNER]
|
|
29
|
+
ROLE_USER = 'USER'
|
|
30
|
+
ROLE_MANAGER_MEMBER = ','.join([ROLE_MANAGER, ROLE_MEMBER])
|
|
31
|
+
ROLE_MANAGER_OWNER = ','.join([ROLE_MANAGER, ROLE_OWNER])
|
|
32
|
+
ROLE_MEMBER_OWNER = ','.join([ROLE_MEMBER, ROLE_OWNER])
|
|
33
|
+
ROLE_MANAGER_MEMBER_OWNER = ','.join(ROLE_LIST)
|
|
34
|
+
ROLE_PUBLIC = 'PUBLIC'
|
|
35
|
+
ROLE_ALL = ROLE_MANAGER_MEMBER_OWNER
|
|
36
|
+
|
|
37
|
+
TYPE_CBCM_BROWSER = 'CBCM_BROWSER'
|
|
38
|
+
TYPE_CUSTOMER = 'CUSTOMER'
|
|
39
|
+
TYPE_EXTERNAL = 'EXTERNAL'
|
|
40
|
+
TYPE_OTHER = 'OTHER'
|
|
41
|
+
TYPE_GROUP = 'GROUP'
|
|
42
|
+
TYPE_SERVICE_ACCOUNT = 'SERVICE_ACCOUNT'
|
|
43
|
+
TYPE_USER = 'USER'
|
|
44
|
+
|
|
45
|
+
# Keys into NAMES; arbitrary values but must be unique
|
|
46
|
+
ACCESS_TOKEN = 'atok'
|
|
47
|
+
ACCOUNT = 'acct'
|
|
48
|
+
ACTION = 'actn'
|
|
49
|
+
ACTIVITY = 'actv'
|
|
50
|
+
ADMINISTRATOR = 'admi'
|
|
51
|
+
ADMIN_ROLE = 'adro'
|
|
52
|
+
ADMIN_ROLE_ASSIGNMENT = 'adra'
|
|
53
|
+
ALERT = 'alrt'
|
|
54
|
+
ALERT_ID = 'alri'
|
|
55
|
+
ALERT_FEEDBACK = 'alfb'
|
|
56
|
+
ALERT_FEEDBACK_ID = 'alfi'
|
|
57
|
+
ALIAS = 'alia'
|
|
58
|
+
ALIAS_EMAIL = 'alie'
|
|
59
|
+
ALIAS_TARGET = 'alit'
|
|
60
|
+
ANALYTIC_ACCOUNT = 'anac'
|
|
61
|
+
ANALYTIC_ACCOUNT_SUMMARY = 'anas'
|
|
62
|
+
ANALYTIC_DATASTREAM = 'anad'
|
|
63
|
+
ANALYTIC_PROPERTY = 'anap'
|
|
64
|
+
ANALYTIC_UA_PROPERTY = 'anau'
|
|
65
|
+
API = 'api '
|
|
66
|
+
APP_ACCESS_SETTINGS = 'apps'
|
|
67
|
+
APP_ID = 'appi'
|
|
68
|
+
APP_NAME = 'appn'
|
|
69
|
+
APPLICATION_SPECIFIC_PASSWORD = 'aspa'
|
|
70
|
+
ARROWS_ENABLED = 'arro'
|
|
71
|
+
ATTACHMENT = 'atta'
|
|
72
|
+
ATTENDEE = 'atnd'
|
|
73
|
+
AUDIT_ACTIVITY_REQUEST = 'auda'
|
|
74
|
+
AUDIT_EXPORT_REQUEST = 'audx'
|
|
75
|
+
AUDIT_MONITOR_REQUEST = 'audm'
|
|
76
|
+
BACKUP_VERIFICATION_CODES = 'buvc'
|
|
77
|
+
BUILDING = 'bldg'
|
|
78
|
+
BUILDING_ID = 'bldi'
|
|
79
|
+
CAA_LEVEL = 'calv'
|
|
80
|
+
CALENDAR = 'cale'
|
|
81
|
+
CALENDAR_ACL = 'cacl'
|
|
82
|
+
CALENDAR_SETTINGS = 'cset'
|
|
83
|
+
CHANNEL_CUSTOMER = 'chcu'
|
|
84
|
+
CHANNEL_CUSTOMER_ENTITLEMENT = 'chce'
|
|
85
|
+
CHANNEL_OFFER = 'chof'
|
|
86
|
+
CHANNEL_PRODUCT = 'chpr'
|
|
87
|
+
CHANNEL_SKU = 'chsk'
|
|
88
|
+
CHAT_BOT = 'chbo'
|
|
89
|
+
CHAT_ADMIN = 'chad'
|
|
90
|
+
CHAT_EVENT = 'chev'
|
|
91
|
+
CHAT_MANAGER_USER = 'chgu'
|
|
92
|
+
CHAT_MEMBER = 'chme'
|
|
93
|
+
CHAT_MEMBER_GROUP = 'chmg'
|
|
94
|
+
CHAT_MEMBER_USER = 'chmu'
|
|
95
|
+
CHAT_MESSAGE = 'chms'
|
|
96
|
+
CHAT_MESSAGE_ID = 'chmi'
|
|
97
|
+
CHAT_SPACE = 'chsp'
|
|
98
|
+
CHAT_THREAD = 'chth'
|
|
99
|
+
CHILD_ORGANIZATIONAL_UNIT = 'corg'
|
|
100
|
+
CHROME_APP = 'capp'
|
|
101
|
+
CHROME_APP_DEVICE = 'capd'
|
|
102
|
+
CHROME_BROWSER = 'chbr'
|
|
103
|
+
CHROME_BROWSER_ENROLLMENT_TOKEN = 'cbet'
|
|
104
|
+
CHROME_CHANNEL = 'chan'
|
|
105
|
+
CHROME_DEVICE = 'chdv'
|
|
106
|
+
CHROME_MODEL = 'chmo'
|
|
107
|
+
CHROME_NETWORK_ID = 'chni'
|
|
108
|
+
CHROME_NETWORK_NAME = 'chnn'
|
|
109
|
+
CHROME_PLATFORM = 'cpla'
|
|
110
|
+
CHROME_POLICY = 'cpol'
|
|
111
|
+
CHROME_POLICY_IMAGE = 'cpim'
|
|
112
|
+
CHROME_POLICY_SCHEMA = 'cpsc'
|
|
113
|
+
CHROME_PROFILE = 'cpro'
|
|
114
|
+
CHROME_RELEASE = 'crel'
|
|
115
|
+
CHROME_VERSION = 'cver'
|
|
116
|
+
CLASSIFICATION_LABEL = 'dlab'
|
|
117
|
+
CLASSIFICATION_LABEL_FIELD_ID = 'dlfi'
|
|
118
|
+
CLASSIFICATION_LABEL_ID = 'dlid'
|
|
119
|
+
CLASSIFICATION_LABEL_NAME = 'dlna'
|
|
120
|
+
CLASSIFICATION_LABEL_PERMISSION = 'dlpe'
|
|
121
|
+
CLASSIFICATION_LABEL_PERMISSION_NAME = 'dlpn'
|
|
122
|
+
CLASSROOM_INVITATION = 'clai'
|
|
123
|
+
CLASSROOM_INVITATION_OWNER = 'clio'
|
|
124
|
+
CLASSROOM_INVITATION_STUDENT = 'clis'
|
|
125
|
+
CLASSROOM_INVITATION_TEACHER = 'clit'
|
|
126
|
+
CLASSROOM_OAUTH2_TXT_FILE = 'coa'
|
|
127
|
+
CLASSROOM_USER_PROFILE = 'clup'
|
|
128
|
+
CLIENT_ID = 'clid'
|
|
129
|
+
CLIENT_SECRETS_JSON_FILE = 'csjf'
|
|
130
|
+
CLOUD_IDENTITY_GROUP = 'cidg'
|
|
131
|
+
CLOUD_STORAGE_BUCKET = 'clsb'
|
|
132
|
+
CLOUD_STORAGE_FILE = 'clsf'
|
|
133
|
+
COLLABORATOR = 'cola'
|
|
134
|
+
COMMAND_ID = 'cmdi'
|
|
135
|
+
COMPANY_DEVICE = 'codv'
|
|
136
|
+
CONFIG_FILE = 'conf'
|
|
137
|
+
CONTACT = 'cont'
|
|
138
|
+
CONTACT_DELEGATE = 'cond'
|
|
139
|
+
CONTACT_GROUP = 'cogr'
|
|
140
|
+
CONTACT_GROUP_NAME = 'cogn'
|
|
141
|
+
COPYFROM_COURSE = 'cfco'
|
|
142
|
+
COPYFROM_GROUP = 'cfgr'
|
|
143
|
+
COURSE = 'cour'
|
|
144
|
+
COURSE_ALIAS = 'coal'
|
|
145
|
+
COURSE_ANNOUNCEMENT = 'cann'
|
|
146
|
+
COURSE_ANNOUNCEMENT_ID = 'caid'
|
|
147
|
+
COURSE_ANNOUNCEMENT_STATE = 'cast'
|
|
148
|
+
COURSE_MATERIAL_DRIVEFILE = 'comd'
|
|
149
|
+
COURSE_MATERIAL_FORM = 'comf'
|
|
150
|
+
COURSE_MATERIAL = 'cmtl'
|
|
151
|
+
COURSE_MATERIAL_ID = 'cmid'
|
|
152
|
+
COURSE_MATERIAL_STATE = 'cmst'
|
|
153
|
+
COURSE_NAME = 'cona'
|
|
154
|
+
COURSE_STATE = 'cost'
|
|
155
|
+
COURSE_SUBMISSION_ID = 'csid'
|
|
156
|
+
COURSE_SUBMISSION_STATE = 'csst'
|
|
157
|
+
COURSE_TOPIC = 'ctop'
|
|
158
|
+
COURSE_TOPIC_ID = 'ctoi'
|
|
159
|
+
COURSE_WORK = 'cwrk'
|
|
160
|
+
COURSE_WORK_ID = 'cwid'
|
|
161
|
+
COURSE_WORK_STATE = 'cwst'
|
|
162
|
+
CREATOR_ID = 'crid'
|
|
163
|
+
CREDENTIALS = 'cred'
|
|
164
|
+
CRITERIA = 'crit'
|
|
165
|
+
CROS_DEVICE = 'cros'
|
|
166
|
+
CROS_SERIAL_NUMBER = 'crsn'
|
|
167
|
+
CSE_IDENTITY = 'csei'
|
|
168
|
+
CSE_KEYPAIR = 'csek'
|
|
169
|
+
CUSTOMER_DOMAIN = 'cudo'
|
|
170
|
+
CUSTOMER_ID = 'cuid'
|
|
171
|
+
DATE = 'date'
|
|
172
|
+
DEFAULT_LANGUAGE = 'dfla'
|
|
173
|
+
DELEGATE = 'dele'
|
|
174
|
+
DELETED_USER = 'delu'
|
|
175
|
+
DELIVERY = 'deli'
|
|
176
|
+
DEVICE = 'devi'
|
|
177
|
+
DEVICE_FILE = 'devf'
|
|
178
|
+
DIRECTORY = 'drct'
|
|
179
|
+
DEVICE_USER = 'devu'
|
|
180
|
+
DEVICE_USER_CLIENT_STATE = 'ducs'
|
|
181
|
+
DISCOVERY_JSON_FILE = 'disc'
|
|
182
|
+
DOCUMENT = 'docu'
|
|
183
|
+
DOMAIN = 'doma'
|
|
184
|
+
DOMAIN_ALIAS = 'doal'
|
|
185
|
+
DOMAIN_CONTACT = 'doco'
|
|
186
|
+
DOMAIN_PEOPLE_CONTACT = 'dopc'
|
|
187
|
+
DOMAIN_PROFILE = 'dopr'
|
|
188
|
+
DRIVE_DISK_USAGE = 'drdu'
|
|
189
|
+
DRIVE_FILE = 'dfil'
|
|
190
|
+
DRIVE_FILE_COMMENT = 'filc'
|
|
191
|
+
DRIVE_FILE_ID = 'fili'
|
|
192
|
+
DRIVE_FILE_NAME = 'filn'
|
|
193
|
+
DRIVE_FILE_RENAMED = 'firn'
|
|
194
|
+
DRIVE_FILE_REVISION = 'filr'
|
|
195
|
+
DRIVE_FILE_SHORTCUT = 'fils'
|
|
196
|
+
DRIVE_FILE_OR_FOLDER = 'fifo'
|
|
197
|
+
DRIVE_FILE_OR_FOLDER_ACL = 'fiac'
|
|
198
|
+
DRIVE_FILE_OR_FOLDER_ID = 'fifi'
|
|
199
|
+
DRIVE_FOLDER = 'fold'
|
|
200
|
+
DRIVE_FOLDER_ID = 'foli'
|
|
201
|
+
DRIVE_FOLDER_NAME = 'foln'
|
|
202
|
+
DRIVE_FOLDER_PATH = 'folp'
|
|
203
|
+
DRIVE_FOLDER_RENAMED = 'forn'
|
|
204
|
+
DRIVE_FOLDER_SHORTCUT = 'fols'
|
|
205
|
+
DRIVE_ORPHAN_FILE_OR_FOLDER = 'orph'
|
|
206
|
+
DRIVE_PARENT_FOLDER = 'fipf'
|
|
207
|
+
DRIVE_PARENT_FOLDER_ID = 'fipi'
|
|
208
|
+
DRIVE_PARENT_FOLDER_REFERENCE = 'pfrf'
|
|
209
|
+
DRIVE_PATH = 'drvp'
|
|
210
|
+
DRIVE_SETTINGS = 'drvs'
|
|
211
|
+
DRIVE_SHORTCUT = 'drsc'
|
|
212
|
+
DRIVE_SHORTCUT_ID = 'dsci'
|
|
213
|
+
DRIVE_3PSHORTCUT = 'dr3s'
|
|
214
|
+
DRIVE_TRASH = 'drvt'
|
|
215
|
+
EMAIL = 'emai'
|
|
216
|
+
EMAIL_ALIAS = 'emal'
|
|
217
|
+
EMAIL_SETTINGS = 'emse'
|
|
218
|
+
END_TIME = 'endt'
|
|
219
|
+
ENTITY = 'enti'
|
|
220
|
+
EVENT = 'evnt'
|
|
221
|
+
EVENT_BIRTHDAY = 'evbd'
|
|
222
|
+
EVENT_FOCUSTIME = 'evft'
|
|
223
|
+
EVENT_OUTOFOFFICE = 'evoo'
|
|
224
|
+
EVENT_WORKINGLOCATION = 'evwl'
|
|
225
|
+
FEATURE = 'feat'
|
|
226
|
+
FIELD = 'fiel'
|
|
227
|
+
FILE = 'file'
|
|
228
|
+
FILE_PARENT_TREE = 'fptr'
|
|
229
|
+
FILTER = 'filt'
|
|
230
|
+
FORM = 'form'
|
|
231
|
+
FORM_RESPONSE = 'frmr'
|
|
232
|
+
FORWARD_ENABLED = 'fwde'
|
|
233
|
+
FORWARDING_ADDRESS = 'fwda'
|
|
234
|
+
GCP_FOLDER = 'gcpf'
|
|
235
|
+
GCP_FOLDER_NAME = 'gcpn'
|
|
236
|
+
GMAIL_PROFILE = 'gmpr'
|
|
237
|
+
GROUP = 'grou'
|
|
238
|
+
GROUP_ALIAS = 'gali'
|
|
239
|
+
GROUP_EMAIL = 'gale'
|
|
240
|
+
GROUP_MEMBERSHIP = 'gmem'
|
|
241
|
+
GROUP_MEMBERSHIP_TREE = 'gmtr'
|
|
242
|
+
GROUP_SETTINGS = 'gset'
|
|
243
|
+
GROUP_TREE = 'gtre'
|
|
244
|
+
GUARDIAN = 'guar'
|
|
245
|
+
GUARDIAN_INVITATION = 'gari'
|
|
246
|
+
GUARDIAN_AND_INVITATION = 'gani'
|
|
247
|
+
IAM_POLICY = 'iamp'
|
|
248
|
+
IMAP_ENABLED = 'imap'
|
|
249
|
+
INBOUND_SSO_ASSIGNMENT = 'insa'
|
|
250
|
+
INBOUND_SSO_CREDENTIALS = 'insc'
|
|
251
|
+
INBOUND_SSO_PROFILE = 'insp'
|
|
252
|
+
INSTANCE = 'inst'
|
|
253
|
+
ITEM = 'item'
|
|
254
|
+
ISSUER_CN = 'iscn'
|
|
255
|
+
KEYBOARD_SHORTCUTS_ENABLED = 'kbsc'
|
|
256
|
+
LABEL = 'labe'
|
|
257
|
+
LABEL_ID = 'labi'
|
|
258
|
+
LANGUAGE = 'lang'
|
|
259
|
+
LICENSE = 'lice'
|
|
260
|
+
LOCATION = 'loca'
|
|
261
|
+
LOOKERSTUDIO_ASSET = 'lsas'
|
|
262
|
+
LOOKERSTUDIO_ASSET_DATASOURCE = 'lsad'
|
|
263
|
+
LOOKERSTUDIO_ASSETID = 'lsai'
|
|
264
|
+
LOOKERSTUDIO_ASSET_REPORT = 'lsar'
|
|
265
|
+
LOOKERSTUDIO_PERMISSION = 'lspe'
|
|
266
|
+
MD5HASH = 'md5h'
|
|
267
|
+
MEET_SPACE = 'mesp'
|
|
268
|
+
MEET_CONFERENCE = 'msco'
|
|
269
|
+
MEET_PARTICIPANT = 'msps'
|
|
270
|
+
MEET_RECORDING = 'msre'
|
|
271
|
+
MEET_TRANSCRIPT = 'mstr'
|
|
272
|
+
MEMBER = 'memb'
|
|
273
|
+
MEMBER_NOT_ARCHIVED = 'mena'
|
|
274
|
+
MEMBER_ARCHIVED = 'mear'
|
|
275
|
+
MEMBER_NOT_SUSPENDED = 'mens'
|
|
276
|
+
MEMBER_SUSPENDED = 'mesu'
|
|
277
|
+
MEMBER_NOT_SUSPENDED_NOT_ARCHIVED = 'nsna'
|
|
278
|
+
MEMBER_SUSPENDED_ARCHIVED = 'suar'
|
|
279
|
+
MEMBER_RESTRICTION = 'memr'
|
|
280
|
+
MEMBER_URI = 'memu'
|
|
281
|
+
MEMBERSHIP_TREE = 'metr'
|
|
282
|
+
MESSAGE = 'mesg'
|
|
283
|
+
MIMETYPE = 'mime'
|
|
284
|
+
MOBILE_DEVICE = 'mobi'
|
|
285
|
+
NAME = 'name'
|
|
286
|
+
NOTE = 'note'
|
|
287
|
+
NOTE_ACL = 'nota'
|
|
288
|
+
NOTES_ACLS = 'naac'
|
|
289
|
+
NONEDITABLE_ALIAS = 'neal'
|
|
290
|
+
OAUTH2_TXT_FILE = 'oaut'
|
|
291
|
+
OAUTH2SERVICE_JSON_FILE = 'oau2'
|
|
292
|
+
ORGANIZATIONAL_UNIT = 'orgu'
|
|
293
|
+
OTHER_CONTACT = 'otco'
|
|
294
|
+
OWNER = 'ownr'
|
|
295
|
+
OWNER_ID = 'owid'
|
|
296
|
+
PAGE_SIZE = 'page'
|
|
297
|
+
PARENT_ORGANIZATIONAL_UNIT = 'porg'
|
|
298
|
+
PARTICIPANT = 'part'
|
|
299
|
+
PEOPLE_CONTACT = 'peco'
|
|
300
|
+
PEOPLE_CONTACT_GROUP = 'pecg'
|
|
301
|
+
PEOPLE_PHOTO = 'peph'
|
|
302
|
+
PEOPLE_PROFILE = 'pepr'
|
|
303
|
+
PERMISSION = 'perm'
|
|
304
|
+
PERMISSION_ID = 'peid'
|
|
305
|
+
PERMITTEE = 'prmt'
|
|
306
|
+
PERSONAL_DEVICE = 'pedv'
|
|
307
|
+
PHOTO = 'phot'
|
|
308
|
+
POLICY = 'poli'
|
|
309
|
+
POP_ENABLED = 'popa'
|
|
310
|
+
PRESENTATION = 'pres'
|
|
311
|
+
PRINTER = 'prin'
|
|
312
|
+
PRINTER_ID = 'prid'
|
|
313
|
+
PRINTER_MODEL = 'prmd'
|
|
314
|
+
PRIVILEGE = 'priv'
|
|
315
|
+
PRODUCT = 'prod'
|
|
316
|
+
PROFILE_SHARING_ENABLED = 'prof'
|
|
317
|
+
PROJECT = 'proj'
|
|
318
|
+
PROJECT_FOLDER = 'prjf'
|
|
319
|
+
PROJECT_ID = 'prji'
|
|
320
|
+
PUBLIC_KEY = 'pubk'
|
|
321
|
+
QUERY = 'quer'
|
|
322
|
+
RECIPIENT = 'recp'
|
|
323
|
+
RECIPIENT_BCC = 'rebc'
|
|
324
|
+
RECIPIENT_CC = 'recc'
|
|
325
|
+
REPORT = 'rept'
|
|
326
|
+
REQUEST_ID = 'reqi'
|
|
327
|
+
RESOURCE_CALENDAR = 'resc'
|
|
328
|
+
RESOURCE_ID = 'resi'
|
|
329
|
+
ROLE = 'role'
|
|
330
|
+
ROW = 'row '
|
|
331
|
+
SCOPE = 'scop'
|
|
332
|
+
SECTION = 'sect'
|
|
333
|
+
SENDAS_ADDRESS = 'sasa'
|
|
334
|
+
SENDER = 'send'
|
|
335
|
+
SERVICE = 'serv'
|
|
336
|
+
SHAREDDRIVE = 'tdrv'
|
|
337
|
+
SHAREDDRIVE_ACL = 'tdac'
|
|
338
|
+
SHAREDDRIVE_FOLDER = 'tdfo'
|
|
339
|
+
SHAREDDRIVE_ID = 'tdid'
|
|
340
|
+
SHAREDDRIVE_NAME = 'tdna'
|
|
341
|
+
SHAREDDRIVE_THEME = 'tdth'
|
|
342
|
+
SHEET = 'shet'
|
|
343
|
+
SHEET_ID = 'shti'
|
|
344
|
+
SIGNATURE = 'sign'
|
|
345
|
+
SITE = 'site'
|
|
346
|
+
SITE_ACL = 'sacl'
|
|
347
|
+
SIZE = 'size'
|
|
348
|
+
SKU = 'sku '
|
|
349
|
+
SMIME_ID = 'smid'
|
|
350
|
+
SNIPPETS_ENABLED = 'snip'
|
|
351
|
+
SSO_KEY = 'ssok'
|
|
352
|
+
SSO_SETTINGS = 'ssos'
|
|
353
|
+
SOURCE_USER = 'src'
|
|
354
|
+
SPREADSHEET = 'sprd'
|
|
355
|
+
SPREADSHEET_RANGE = 'ssrn'
|
|
356
|
+
START_TIME = 'strt'
|
|
357
|
+
STATUS = 'stat'
|
|
358
|
+
STUDENT = 'stud'
|
|
359
|
+
SUBSCRIPTION = 'subs'
|
|
360
|
+
SVCACCT = 'svac'
|
|
361
|
+
SVCACCT_KEY = 'svky'
|
|
362
|
+
TARGET_USER = 'tgt'
|
|
363
|
+
TASK = 'task'
|
|
364
|
+
TASKLIST = 'tali'
|
|
365
|
+
TEACHER = 'teac'
|
|
366
|
+
THREAD = 'thre'
|
|
367
|
+
TRANSFER_APPLICATION = 'trap'
|
|
368
|
+
TRANSFER_ID = 'trid'
|
|
369
|
+
TRANSFER_REQUEST = 'trnr'
|
|
370
|
+
TRASHED_EVENT = 'trev'
|
|
371
|
+
TRUSTED_APPLICATION = 'trus'
|
|
372
|
+
TYPE = 'type'
|
|
373
|
+
UNICODE_ENCODING_ENABLED = 'unic'
|
|
374
|
+
UNIQUE_ID = 'uniq'
|
|
375
|
+
URL = 'url '
|
|
376
|
+
USER = 'user'
|
|
377
|
+
USER_ALIAS = 'uali'
|
|
378
|
+
USER_EMAIL = 'uema'
|
|
379
|
+
USER_INVITATION = 'uinv'
|
|
380
|
+
USER_NOT_SUSPENDED = 'uns'
|
|
381
|
+
USER_SCHEMA = 'usch'
|
|
382
|
+
USER_SUSPENDED = 'usup'
|
|
383
|
+
VACATION = 'vaca'
|
|
384
|
+
VACATION_ENABLED = 'vace'
|
|
385
|
+
VALUE = 'val'
|
|
386
|
+
VAULT_EXPORT = 'vlte'
|
|
387
|
+
VAULT_HOLD = 'vlth'
|
|
388
|
+
VAULT_MATTER = 'vltm'
|
|
389
|
+
VAULT_MATTER_ARTIFACT = 'vlma'
|
|
390
|
+
VAULT_MATTER_ID = 'vlmi'
|
|
391
|
+
VAULT_OPERATION = 'vlto'
|
|
392
|
+
VAULT_QUERY = 'vltq'
|
|
393
|
+
WEBCLIPS_ENABLED = 'webc'
|
|
394
|
+
YOUTUBE_CHANNEL = 'ytch'
|
|
395
|
+
# _NAMES[0] is plural, _NAMES[1] is singular unless the item name is explicitly plural (Calendar Settings)
|
|
396
|
+
# For items with Boolean values, both entries are singular (Forward, POP)
|
|
397
|
+
# These values can be translated into other languages
|
|
398
|
+
_NAMES = {
|
|
399
|
+
ACCESS_TOKEN: ['Access Tokens', 'Access Token'],
|
|
400
|
+
ACCOUNT: ['Google Workspace Accounts', 'Google Workspace Account'],
|
|
401
|
+
ACTION: ['Actions', 'Action'],
|
|
402
|
+
ACTIVITY: ['Activities', 'Activity'],
|
|
403
|
+
ADMINISTRATOR: ['Administrators', 'Administrator'],
|
|
404
|
+
ADMIN_ROLE: ['Admin Roles', 'Admin Role'],
|
|
405
|
+
ADMIN_ROLE_ASSIGNMENT: ['Admin Role Assignments', 'Admin Role Assignment'],
|
|
406
|
+
ALERT: ['Alerts', 'Alert'],
|
|
407
|
+
ALERT_ID: ['Alert IDs', 'Alert ID'],
|
|
408
|
+
ALERT_FEEDBACK: ['Alert Feedbacks', 'Alert Feedback'],
|
|
409
|
+
ALERT_FEEDBACK_ID: ['Alert Feedback IDs', 'Alert Feedback ID'],
|
|
410
|
+
ALIAS: ['Aliases', 'Alias'],
|
|
411
|
+
ALIAS_EMAIL: ['Alias Emails', 'Alias Email'],
|
|
412
|
+
ALIAS_TARGET: ['Alias Targets', 'Alias Target'],
|
|
413
|
+
ANALYTIC_ACCOUNT: ['Analytic Accounts', 'Analytic Account'],
|
|
414
|
+
ANALYTIC_ACCOUNT_SUMMARY: ['Analytic Account Summaries', 'Analytic Account Summary'],
|
|
415
|
+
ANALYTIC_DATASTREAM: ['Analytic Datastreams', 'Analytic Datastream'],
|
|
416
|
+
ANALYTIC_PROPERTY: ['Analytic GA4 Properties', 'Analytic GA4 Property'],
|
|
417
|
+
ANALYTIC_UA_PROPERTY: ['Analytic UA Properties', 'Analytic UA Property'],
|
|
418
|
+
API: ['APIs', 'API'],
|
|
419
|
+
APP_ACCESS_SETTINGS: ['Application Access Settings', 'Application Access Settings'],
|
|
420
|
+
APP_ID: ['Application IDs', 'Application ID'],
|
|
421
|
+
APP_NAME: ['Application Names', 'Application Name'],
|
|
422
|
+
APPLICATION_SPECIFIC_PASSWORD: ['Application Specific Password IDs', 'Application Specific Password ID'],
|
|
423
|
+
ARROWS_ENABLED: ['Personal Indicator Arrows Enabled', 'Personal Indicator Arrows Enabled'],
|
|
424
|
+
ATTACHMENT: ['Attachments', 'Attachment'],
|
|
425
|
+
ATTENDEE: ['Attendees', 'Attendee'],
|
|
426
|
+
AUDIT_ACTIVITY_REQUEST: ['Audit Activity Requests', 'Audit Activity Request'],
|
|
427
|
+
AUDIT_EXPORT_REQUEST: ['Audit Export Requests', 'Audit Export Request'],
|
|
428
|
+
AUDIT_MONITOR_REQUEST: ['Audit Monitor Requests', 'Audit Monitor Request'],
|
|
429
|
+
BACKUP_VERIFICATION_CODES: ['Backup Verification Codes', 'Backup Verification Codes'],
|
|
430
|
+
BUILDING: ['Buildings', 'Building'],
|
|
431
|
+
BUILDING_ID: ['Building IDs', 'Building ID'],
|
|
432
|
+
CAA_LEVEL: ['CAA Levels', 'CAA Level'],
|
|
433
|
+
CALENDAR: ['Calendars', 'Calendar'],
|
|
434
|
+
CALENDAR_ACL: ['Calendar ACLs', 'Calendar ACL'],
|
|
435
|
+
CALENDAR_SETTINGS: ['Calendar Settings', 'Calendar Settings'],
|
|
436
|
+
CHANNEL_CUSTOMER: ['Channel Customers', 'Channel Customer'],
|
|
437
|
+
CHANNEL_CUSTOMER_ENTITLEMENT: ['Channel Customer Entitlements', 'Channel Customer Entitlement'],
|
|
438
|
+
CHANNEL_OFFER: ['Channel Offers', 'Channel Offer'],
|
|
439
|
+
CHANNEL_PRODUCT: ['Channel Products', 'Channel Product'],
|
|
440
|
+
CHANNEL_SKU: ['Channel SKUs', 'Channel SKU'],
|
|
441
|
+
CHAT_BOT: ['Chat BOTs', 'Chat BOT'],
|
|
442
|
+
CHAT_ADMIN: ['Chat Admins', 'Chat Admin'],
|
|
443
|
+
CHAT_EVENT: ['Chat Events', 'Chat Event'],
|
|
444
|
+
CHAT_MANAGER_USER: ['Chat User Managers', 'Chat User Manager'],
|
|
445
|
+
CHAT_MESSAGE: ['Chat Messages', 'Chat Message'],
|
|
446
|
+
CHAT_MESSAGE_ID: ['Chat Message IDs', 'Chat Message ID'],
|
|
447
|
+
CHAT_MEMBER: ['Chat Members', 'Chat Member'],
|
|
448
|
+
CHAT_MEMBER_GROUP: ['Chat Group Members', 'Chat Group Member'],
|
|
449
|
+
CHAT_MEMBER_USER: ['Chat User Members', 'Chat User Member'],
|
|
450
|
+
CHAT_SPACE: ['Chat Spaces', 'Chat Space'],
|
|
451
|
+
CHAT_THREAD: ['Chat Threads', 'Chat Thread'],
|
|
452
|
+
CHILD_ORGANIZATIONAL_UNIT: ['Child Organizational Units', 'Child Organizational Unit'],
|
|
453
|
+
CHROME_APP: ['Chrome Applications', 'Chrome Application'],
|
|
454
|
+
CHROME_APP_DEVICE: ['Chrome Application Devices', 'Chrome Application Device'],
|
|
455
|
+
CHROME_BROWSER: ['Chrome Browsers', 'Chrome Browser'],
|
|
456
|
+
CHROME_BROWSER_ENROLLMENT_TOKEN: ['Chrome Browser Enrollment Tokens', 'Chrome Browser Enrollment Token'],
|
|
457
|
+
CHROME_CHANNEL: ['Chrome Channels', 'Chrome Channel'],
|
|
458
|
+
CHROME_DEVICE: ['Chrome Devices', 'Chrome Device'],
|
|
459
|
+
CHROME_MODEL: ['Chrome Models', 'Chrome Model'],
|
|
460
|
+
CHROME_NETWORK_ID: ['Chrome Network IDs', 'Chrome Network ID'],
|
|
461
|
+
CHROME_NETWORK_NAME: ['Chrome Network Names', 'Chrome Network Name'],
|
|
462
|
+
CHROME_PLATFORM: ['Chrome Platforms', 'Chrome Platform'],
|
|
463
|
+
CHROME_POLICY: ['Chrome Policies', 'Chrome Policy'],
|
|
464
|
+
CHROME_POLICY_IMAGE: ['Chrome Policy Images', 'Chrome Policy Image'],
|
|
465
|
+
CHROME_POLICY_SCHEMA: ['Chrome Policy Schemas', 'Chrome Policy Schema'],
|
|
466
|
+
CHROME_PROFILE: ['Chrome Profiles', 'Chrome Profile'],
|
|
467
|
+
CHROME_RELEASE: ['Chrome Releases', 'Chrome Release'],
|
|
468
|
+
CHROME_VERSION: ['Chrome Versions', 'Chrome Version'],
|
|
469
|
+
CLASSIFICATION_LABEL: ['Classification Labels', 'Classification Label'],
|
|
470
|
+
CLASSIFICATION_LABEL_FIELD_ID: ['Classification Label Field IDs', 'Classification Label Field ID'],
|
|
471
|
+
CLASSIFICATION_LABEL_ID: ['Classification Label IDs', 'Classification Label ID'],
|
|
472
|
+
CLASSIFICATION_LABEL_NAME: ['Classification Label Names', 'Classification Label Name'],
|
|
473
|
+
CLASSIFICATION_LABEL_PERMISSION: ['Classification Label Permissions', 'Classification Label Permission'],
|
|
474
|
+
CLASSIFICATION_LABEL_PERMISSION_NAME: ['Classification Label Permission Names', 'Classification Label Permission Name'],
|
|
475
|
+
CLASSROOM_INVITATION: ['Classroom Invitations', 'Classroom Invitation'],
|
|
476
|
+
CLASSROOM_INVITATION_OWNER: ['Classroom Owner Invitations', 'Classroom Owner Invitation'],
|
|
477
|
+
CLASSROOM_INVITATION_STUDENT: ['Classroom Student Invitations', 'Classroom Student Invitation'],
|
|
478
|
+
CLASSROOM_INVITATION_TEACHER: ['Classroom Teacher Invitations', 'Classroom Teacher Invitation'],
|
|
479
|
+
CLASSROOM_OAUTH2_TXT_FILE: ['Classroom OAuth2 File', 'Classroom OAuth2 File'],
|
|
480
|
+
CLASSROOM_USER_PROFILE: ['Classroom User Profile', 'Classroom User Profile'],
|
|
481
|
+
CLIENT_ID: ['Client IDs', 'Client ID'],
|
|
482
|
+
CLIENT_SECRETS_JSON_FILE: ['Client Secrets File', 'Client Secrets File'],
|
|
483
|
+
CLOUD_IDENTITY_GROUP: ['Cloud Identity Groups', 'Cloud Identity Group'],
|
|
484
|
+
CLOUD_STORAGE_BUCKET: ['Cloud Storage Buckets', 'Cloud Storage Bucket'],
|
|
485
|
+
CLOUD_STORAGE_FILE: ['Cloud Storage Files', 'Cloud Storage File'],
|
|
486
|
+
COLLABORATOR: ['Collaborators', 'Collaborator'],
|
|
487
|
+
COMMAND_ID: ['Command IDs', 'Command ID'],
|
|
488
|
+
COMPANY_DEVICE: ['Company Devices', 'Company Device'],
|
|
489
|
+
CONFIG_FILE: ['Config File', 'Config File'],
|
|
490
|
+
CONTACT: ['Contacts', 'Contact'],
|
|
491
|
+
CONTACT_DELEGATE: ['Contact Delegates', 'Contact Delegate'],
|
|
492
|
+
CONTACT_GROUP: ['Contact Groups', 'Contact Group'],
|
|
493
|
+
CONTACT_GROUP_NAME: ['Contact Group Names', 'Contact Group Name'],
|
|
494
|
+
COPYFROM_COURSE: ['Copy From Courses', 'CopyFrom Course'],
|
|
495
|
+
COPYFROM_GROUP: ['Copy From Groups', 'CopyFrom Group'],
|
|
496
|
+
COURSE: ['Courses', 'Course'],
|
|
497
|
+
COURSE_ALIAS: ['Course Aliases', 'Course Alias'],
|
|
498
|
+
COURSE_ANNOUNCEMENT: ['Course Announcements', 'Course Announcement'],
|
|
499
|
+
COURSE_ANNOUNCEMENT_ID: ['Course Announcement IDs', 'Course Announcement ID'],
|
|
500
|
+
COURSE_ANNOUNCEMENT_STATE: ['Course Announcement States', 'Course Announcement State'],
|
|
501
|
+
COURSE_MATERIAL_DRIVEFILE: ['Course Material Drive Files', 'Course Material Drive File'],
|
|
502
|
+
COURSE_MATERIAL_FORM: ['Course Material Forms', 'Course Material Form'],
|
|
503
|
+
COURSE_MATERIAL: ['Course Materials', 'Course Material'],
|
|
504
|
+
COURSE_MATERIAL_ID: ['Course Material IDs', 'Course Material ID'],
|
|
505
|
+
COURSE_MATERIAL_STATE: ['Course Material States', 'Course Material State'],
|
|
506
|
+
COURSE_NAME: ['Course Names', 'Course Name'],
|
|
507
|
+
COURSE_STATE: ['Course States', 'Course State'],
|
|
508
|
+
COURSE_SUBMISSION_ID: ['Course Submission IDs', 'Course Submission ID'],
|
|
509
|
+
COURSE_SUBMISSION_STATE: ['Course Submission States', 'Course Submission State'],
|
|
510
|
+
COURSE_TOPIC: ['Course Topics', 'Course Topic'],
|
|
511
|
+
COURSE_TOPIC_ID: ['Course Topic IDs', 'Course Topic ID'],
|
|
512
|
+
COURSE_WORK: ['Course Works', 'Course Work'],
|
|
513
|
+
COURSE_WORK_ID: ['Course Work IDs', 'Course Work ID'],
|
|
514
|
+
COURSE_WORK_STATE: ['Course Work States', 'Course Work State'],
|
|
515
|
+
CREATOR_ID: ['Creator IDs', 'Creator ID'],
|
|
516
|
+
CREDENTIALS: ['Credentials', 'Credentials'],
|
|
517
|
+
CRITERIA: ['Criteria', 'Criteria'],
|
|
518
|
+
CROS_DEVICE: ['CrOS Devices', 'CrOS Device'],
|
|
519
|
+
CROS_SERIAL_NUMBER: ['CrOS Serial Numbers', 'CrOS Serial Numbers'],
|
|
520
|
+
CSE_IDENTITY: ['CSE Identities', 'CSE Identity'],
|
|
521
|
+
CSE_KEYPAIR: ['CSE KeyPairs', 'CSE KeyPair'],
|
|
522
|
+
CUSTOMER_DOMAIN: ['Customer Domains', 'Customer Domain'],
|
|
523
|
+
CUSTOMER_ID: ['Customer IDs', 'Customer ID'],
|
|
524
|
+
DATE: ['Dates', 'Date'],
|
|
525
|
+
DEFAULT_LANGUAGE: ['Default Language', 'Default Language'],
|
|
526
|
+
DELEGATE: ['Delegates', 'Delegate'],
|
|
527
|
+
DELETED_USER: ['Deleted Users', 'Deleted User'],
|
|
528
|
+
DELIVERY: ['Delivery', 'Delivery'],
|
|
529
|
+
DEVICE: ['Devices', 'Device'],
|
|
530
|
+
DEVICE_FILE: ['Device Files', 'Device File'],
|
|
531
|
+
DEVICE_USER: ['Device Users', 'Device User'],
|
|
532
|
+
DEVICE_USER_CLIENT_STATE: ['Device Users Client States', 'Device User Client State'],
|
|
533
|
+
DIRECTORY: ['Directories', 'Directory'],
|
|
534
|
+
DISCOVERY_JSON_FILE: ['Discovery File', 'Discovery File'],
|
|
535
|
+
DOCUMENT: ['Documents', 'Document'],
|
|
536
|
+
DOMAIN: ['Domains', 'Domain'],
|
|
537
|
+
DOMAIN_ALIAS: ['Domain Aliases', 'Domain Alias'],
|
|
538
|
+
DOMAIN_CONTACT: ['Domain Contacts', 'Domain Contact'],
|
|
539
|
+
DOMAIN_PEOPLE_CONTACT: ['Domain People Contacts', 'Domain People Contact'],
|
|
540
|
+
DOMAIN_PROFILE: ['Domain Profiles', 'Domain Profile'],
|
|
541
|
+
DRIVE_DISK_USAGE: ['Drive Disk Usages', 'Drive Disk Usage'],
|
|
542
|
+
DRIVE_FILE: ['Drive Files', 'Drive File'],
|
|
543
|
+
DRIVE_FILE_COMMENT: ['Drive File Comments', 'Drive File Comment'],
|
|
544
|
+
DRIVE_FILE_ID: ['Drive File IDs', 'Drive File ID'],
|
|
545
|
+
DRIVE_FILE_NAME: ['Drive File Names', 'Drive File Name'],
|
|
546
|
+
DRIVE_FILE_REVISION: ['Drive File Revisions', 'Drive File Revision'],
|
|
547
|
+
DRIVE_FILE_RENAMED: ['Drive Files Renamed', 'Drive File Renamed'],
|
|
548
|
+
DRIVE_FILE_SHORTCUT: ['Drive File Shortcuts', 'Drive File Shortcut'],
|
|
549
|
+
DRIVE_FILE_OR_FOLDER: ['Drive Files/Folders', 'Drive File/Folder'],
|
|
550
|
+
DRIVE_FILE_OR_FOLDER_ACL: ['Drive File/Folder ACLs', 'Drive File/Folder ACL'],
|
|
551
|
+
DRIVE_FILE_OR_FOLDER_ID: ['Drive File/Folder IDs', 'Drive File/Folder ID'],
|
|
552
|
+
DRIVE_FOLDER: ['Drive Folders', 'Drive Folder'],
|
|
553
|
+
DRIVE_FOLDER_ID: ['Drive Folder IDs', 'Drive Folder ID'],
|
|
554
|
+
DRIVE_FOLDER_NAME: ['Drive Folder Names', 'Drive Folder Name'],
|
|
555
|
+
DRIVE_FOLDER_PATH: ['Drive Folder Paths', 'Drive Folder Path'],
|
|
556
|
+
DRIVE_FOLDER_RENAMED: ['Drive Folders Renamed', 'Drive Folder Renamed'],
|
|
557
|
+
DRIVE_FOLDER_SHORTCUT: ['Drive Folder Shortcuts', 'Drive Folder Shortcut'],
|
|
558
|
+
DRIVE_ORPHAN_FILE_OR_FOLDER: ['Drive Orphan Files/Folders', 'Drive Orphan File/Folder'],
|
|
559
|
+
DRIVE_PARENT_FOLDER: ['Drive Parent Folders', 'Drive Parent Folder'],
|
|
560
|
+
DRIVE_PARENT_FOLDER_ID: ['Drive Parent Folder IDs', 'Drive Parent Folder ID'],
|
|
561
|
+
DRIVE_PARENT_FOLDER_REFERENCE: ['Drive Parent Folder References', 'Drive Parent Folder Reference'],
|
|
562
|
+
DRIVE_PATH: ['Drive Paths', 'Drive Path'],
|
|
563
|
+
DRIVE_SETTINGS: ['Drive Settings', 'Drive Settings'],
|
|
564
|
+
DRIVE_SHORTCUT: ['Drive Shortcuts', 'Drive Shortcut'],
|
|
565
|
+
DRIVE_SHORTCUT_ID: ['Drive Shortcut IDs', 'Drive Shortcut ID'],
|
|
566
|
+
DRIVE_3PSHORTCUT: ['Drive 3rd Party Shortcuts', 'Drive 3rd Party Shortcut'],
|
|
567
|
+
DRIVE_TRASH: ['Drive Trash', 'Drive Trash'],
|
|
568
|
+
EMAIL: ['Email Addresses', 'Email Address'],
|
|
569
|
+
EMAIL_ALIAS: ['Email Aliases', 'Email Alias'],
|
|
570
|
+
EMAIL_SETTINGS: ['Email Settings', 'Email Settings'],
|
|
571
|
+
END_TIME: ['End Times', 'End Time'],
|
|
572
|
+
ENTITY: ['Entities', 'Entity'],
|
|
573
|
+
EVENT: ['Events', 'Event'],
|
|
574
|
+
EVENT_BIRTHDAY: ['Borthday Events', 'Birthday Event'],
|
|
575
|
+
EVENT_FOCUSTIME: ['Focus Time Events', 'Focus Time Event'],
|
|
576
|
+
EVENT_OUTOFOFFICE: ['Out of Office Events', 'Out of Office Event'],
|
|
577
|
+
EVENT_WORKINGLOCATION: ['Working Location Events', 'Working Location Event'],
|
|
578
|
+
FEATURE: ['Features', 'Feature'],
|
|
579
|
+
FIELD: ['Fields', 'Field'],
|
|
580
|
+
FILE: ['Files', 'File'],
|
|
581
|
+
FILE_PARENT_TREE: ['File Parent Trees', 'File Parent Tree'],
|
|
582
|
+
FILTER: ['Filters', 'Filter'],
|
|
583
|
+
FORM: ['Forms', 'Form'],
|
|
584
|
+
FORM_RESPONSE: ['Form Responses', 'Form Response'],
|
|
585
|
+
FORWARD_ENABLED: ['Forward Enabled', 'Forward Enabled'],
|
|
586
|
+
FORWARDING_ADDRESS: ['Forwarding Addresses', 'Forwarding Address'],
|
|
587
|
+
GCP_FOLDER: ['GCP Folders', 'GCP Folder'],
|
|
588
|
+
GCP_FOLDER_NAME: ['GCP Folder Names', 'GCP Folder Name'],
|
|
589
|
+
GMAIL_PROFILE: ['Gmail Profile', 'Gmail Profile'],
|
|
590
|
+
GROUP: ['Groups', 'Group'],
|
|
591
|
+
GROUP_ALIAS: ['Group Aliases', 'Group Alias'],
|
|
592
|
+
GROUP_EMAIL: ['Group Emails', 'Group Email'],
|
|
593
|
+
GROUP_MEMBERSHIP: ['Group Memberships', 'Group Membership'],
|
|
594
|
+
GROUP_MEMBERSHIP_TREE: ['Group Membership Trees', 'Group Membership Tree'],
|
|
595
|
+
GROUP_SETTINGS: ['Group Settings', 'Group Settings'],
|
|
596
|
+
GROUP_TREE: ['Group Trees', 'Group Tree'],
|
|
597
|
+
GUARDIAN: ['Guardians', 'Guardian'],
|
|
598
|
+
GUARDIAN_INVITATION: ['Guardian Invitations', 'Guardian Invitation'],
|
|
599
|
+
GUARDIAN_AND_INVITATION: ['Guardians and Invitations', 'Guardian and Invitation'],
|
|
600
|
+
IAM_POLICY: ['IAM Policies', 'IAM Policy'],
|
|
601
|
+
IMAP_ENABLED: ['IMAP Enabled', 'IMAP Enabled'],
|
|
602
|
+
INBOUND_SSO_ASSIGNMENT: ['Inbound SSO Assignments', 'Inbound SSO Assignment'],
|
|
603
|
+
INBOUND_SSO_CREDENTIALS: ['Inbound SSO Credentials', 'Inbound SSO Credential'],
|
|
604
|
+
INBOUND_SSO_PROFILE: ['Inbound SSO Profiles', 'Inbound SSO Profile'],
|
|
605
|
+
INSTANCE: ['Instances', 'Instance'],
|
|
606
|
+
ISSUER_CN: ['Issuer CNs', 'Issuer CN'],
|
|
607
|
+
ITEM: ['Items', 'Item'],
|
|
608
|
+
KEYBOARD_SHORTCUTS_ENABLED: ['Keyboard Shortcuts Enabled', 'Keyboard Shortcuts Enabled'],
|
|
609
|
+
LABEL: ['Labels', 'Label'],
|
|
610
|
+
LABEL_ID: ['Label IDs', 'Label ID'],
|
|
611
|
+
LANGUAGE: ['Languages', 'Language'],
|
|
612
|
+
LICENSE: ['Licenses', 'License'],
|
|
613
|
+
LOCATION: ['Locations', 'Location'],
|
|
614
|
+
LOOKERSTUDIO_ASSET: ['Looker Studio Assets', 'Looker Studio Asset'],
|
|
615
|
+
LOOKERSTUDIO_ASSET_DATASOURCE: ['Looker Studio DATA_SOURCE Assets', 'Looker Studio DATA_SOURCE Asset'],
|
|
616
|
+
LOOKERSTUDIO_ASSETID: ['Looker Studio Asset IDs', 'Looker Studio Asset ID'],
|
|
617
|
+
LOOKERSTUDIO_ASSET_REPORT: ['Looker Studio REPORT Assets', 'Looker Studio REPORT Asset'],
|
|
618
|
+
LOOKERSTUDIO_PERMISSION: ['Looker Studio Permissions', 'Looker Studio Permission'],
|
|
619
|
+
MD5HASH: ['MD5 hash', 'MD5 Hash'],
|
|
620
|
+
MEET_SPACE: ['Meet Spaces', 'Meet Space'],
|
|
621
|
+
MEET_CONFERENCE: ['Meet Conferences', 'Meet Conference'],
|
|
622
|
+
MEET_PARTICIPANT: ['Meet Participants', 'Meet Participant'],
|
|
623
|
+
MEET_RECORDING: ['Meet Recordings', 'Meet Recording'],
|
|
624
|
+
MEET_TRANSCRIPT: ['Meet Transcripts', 'Meet Transcript'],
|
|
625
|
+
MEMBER: ['Members', 'Member'],
|
|
626
|
+
MEMBER_NOT_ARCHIVED: ['Members (Not Archived)', 'Member (Not Archived)'],
|
|
627
|
+
MEMBER_ARCHIVED: ['Members (Archived)', 'Member (Archived)'],
|
|
628
|
+
MEMBER_NOT_SUSPENDED: ['Members (Not Suspended)', 'Member (Not Suspended)'],
|
|
629
|
+
MEMBER_SUSPENDED: ['Members (Suspended)', 'Member (Suspended)'],
|
|
630
|
+
MEMBER_NOT_SUSPENDED_NOT_ARCHIVED: ['Members (Not Suspended & Not Archived)', 'Member (Not Suspended & Not Archived)'],
|
|
631
|
+
MEMBER_SUSPENDED_ARCHIVED: ['Members (Suspended & Archived)', 'Member (Suspended & Archived)'],
|
|
632
|
+
MEMBER_RESTRICTION: ['Member Restrictions', 'Member Restriction'],
|
|
633
|
+
MEMBER_URI: ['Member URIs', 'Member URI'],
|
|
634
|
+
MEMBERSHIP_TREE: ['Membership Trees', 'Membership Tree'],
|
|
635
|
+
MESSAGE: ['Messages', 'Message'],
|
|
636
|
+
MIMETYPE: ['MIME Types', 'MIME Type'],
|
|
637
|
+
MOBILE_DEVICE: ['Mobile Devices', 'Mobile Device'],
|
|
638
|
+
NAME: ['Names', 'Name'],
|
|
639
|
+
NOTE: ['Notes', 'Note'],
|
|
640
|
+
NOTE_ACL: ['Note ACLs', 'Note ACL'],
|
|
641
|
+
NOTES_ACLS: ["'Note's ACLs", "Note's ACLs"],
|
|
642
|
+
NONEDITABLE_ALIAS: ['Non-Editable Aliases', 'Non-Editable Alias'],
|
|
643
|
+
OAUTH2_TXT_FILE: ['Client OAuth2 File', 'Client OAuth2 File'],
|
|
644
|
+
OAUTH2SERVICE_JSON_FILE: ['Service Account OAuth2 File', 'Service Account OAuth2 File'],
|
|
645
|
+
ORGANIZATIONAL_UNIT: ['Organizational Units', 'Organizational Unit'],
|
|
646
|
+
OTHER_CONTACT: ['Other Contacts', 'Other Contact'],
|
|
647
|
+
OWNER: ['Owners', 'Owner'],
|
|
648
|
+
OWNER_ID: ['Owner IDs', 'Owner ID'],
|
|
649
|
+
PAGE_SIZE: ['Page Size', 'Page Size'],
|
|
650
|
+
PARENT_ORGANIZATIONAL_UNIT: ['Parent Organizational Units', 'Parent Organizational Unit'],
|
|
651
|
+
PARTICIPANT: ['Participants', 'Participant'],
|
|
652
|
+
PEOPLE_CONTACT: ['People Contacts', 'Person Contact'],
|
|
653
|
+
PEOPLE_CONTACT_GROUP: ['People Contact Groups', 'People Contact Group'],
|
|
654
|
+
PEOPLE_PHOTO: ['People Photos', 'Person Photo'],
|
|
655
|
+
PEOPLE_PROFILE: ['People Profiles', 'People Profile'],
|
|
656
|
+
PERMISSION: ['Permissions', 'Permission'],
|
|
657
|
+
PERMISSION_ID: ['Permission IDs', 'Permission ID'],
|
|
658
|
+
PERMITTEE: ['Permittees', 'Permittee'],
|
|
659
|
+
PERSONAL_DEVICE: ['Personal Devices', 'Personal Device'],
|
|
660
|
+
PHOTO: ['Photos', 'Photo'],
|
|
661
|
+
POLICY: ['Policies', 'Policy'],
|
|
662
|
+
POP_ENABLED: ['POP Enabled', 'POP Enabled'],
|
|
663
|
+
PRESENTATION: ['Presentations', 'Presentation'],
|
|
664
|
+
PRINTER: ['Printers', 'Printer'],
|
|
665
|
+
PRINTER_ID: ['Printer IDs', 'Printer ID'],
|
|
666
|
+
PRINTER_MODEL: ['Printer Models', 'Printer Model'],
|
|
667
|
+
PRIVILEGE: ['Privileges', 'Privilege'],
|
|
668
|
+
PRODUCT: ['Products', 'Product'],
|
|
669
|
+
PROFILE_SHARING_ENABLED: ['Profile Sharing Enabled', 'Profile Sharing Enabled'],
|
|
670
|
+
PROJECT: ['Projects', 'Project'],
|
|
671
|
+
PROJECT_FOLDER: ['Project Folders', 'Project Folder'],
|
|
672
|
+
PROJECT_ID: ['Project IDs', 'Project ID'],
|
|
673
|
+
PUBLIC_KEY: ['Public Key', 'Public Key'],
|
|
674
|
+
QUERY: ['Queries', 'Query'],
|
|
675
|
+
RECIPIENT: ['Recipients', 'Recipient'],
|
|
676
|
+
RECIPIENT_BCC: ['Recipients (BCC)', 'Recipient (BCC)'],
|
|
677
|
+
RECIPIENT_CC: ['Recipients (CC)', 'Recipient (CC)'],
|
|
678
|
+
REPORT: ['Reports', 'Report'],
|
|
679
|
+
REQUEST_ID: ['Request IDs', 'Request ID'],
|
|
680
|
+
RESOURCE_CALENDAR: ['Resource Calendars', 'Resource Calendar'],
|
|
681
|
+
RESOURCE_ID: ['Resource IDs', 'Resource ID'],
|
|
682
|
+
ROLE: ['Roles', 'Role'],
|
|
683
|
+
ROW: ['Rows', 'Row'],
|
|
684
|
+
SCOPE: ['Scopes', 'Scope'],
|
|
685
|
+
SECTION: ['Sections', 'Section'],
|
|
686
|
+
SENDAS_ADDRESS: ['SendAs Addresses', 'SendAs Address'],
|
|
687
|
+
SENDER: ['Senders', 'Sender'],
|
|
688
|
+
SERVICE: ['Services', 'Service'],
|
|
689
|
+
SHAREDDRIVE: ['Shared Drives', 'Shared Drive'],
|
|
690
|
+
SHAREDDRIVE_ACL: ['Shared Drive ACLs', 'Shared Drive ACL'],
|
|
691
|
+
SHAREDDRIVE_FOLDER: ['Shared Drive Folders', 'Shared Drive Folder'],
|
|
692
|
+
SHAREDDRIVE_ID: ['Shared Drive IDs', 'Shared Drive ID'],
|
|
693
|
+
SHAREDDRIVE_NAME: ['Shared Drive Names', 'Shared Drive Name'],
|
|
694
|
+
SHAREDDRIVE_THEME: ['Shared Drive Themes', 'Shared Drive Theme'],
|
|
695
|
+
SHEET: ['Sheets', 'Sheet'],
|
|
696
|
+
SHEET_ID: ['Sheet IDs', 'Sheet ID'],
|
|
697
|
+
SIGNATURE: ['Signatures', 'Signature'],
|
|
698
|
+
SITE: ['Sites', 'Site'],
|
|
699
|
+
SITE_ACL: ['Site ACLs', 'Site ACL'],
|
|
700
|
+
SIZE: ['Sizes', 'Size'],
|
|
701
|
+
SKU: ['SKUs', 'SKU'],
|
|
702
|
+
SMIME_ID: ['S/MIME Certificate IDs', 'S/MIME Certificate ID'],
|
|
703
|
+
SNIPPETS_ENABLED: ['Preview Snippets Enabled', 'Preview Snippets Enabled'],
|
|
704
|
+
SSO_KEY: ['SSO Key', 'SSO Key'],
|
|
705
|
+
SSO_SETTINGS: ['SSO Settings', 'SSO Settings'],
|
|
706
|
+
SOURCE_USER: ['Source Users', 'Source User'],
|
|
707
|
+
SPREADSHEET: ['Spreadsheets', 'Spreadsheet'],
|
|
708
|
+
SPREADSHEET_RANGE: ['Spreadsheet Ranges', 'Spreadsheet Range'],
|
|
709
|
+
START_TIME: ['Start Times', 'Start Time'],
|
|
710
|
+
STATUS: ['Status', 'Status'],
|
|
711
|
+
STUDENT: ['Students', 'Student'],
|
|
712
|
+
SUBSCRIPTION: ['Subscriptions', 'Subscription'],
|
|
713
|
+
SVCACCT: ['Service Accounts', 'Service Account'],
|
|
714
|
+
SVCACCT_KEY: ['Service Account Keys', 'Service Account Key'],
|
|
715
|
+
TARGET_USER: ['Target Users', 'Target User'],
|
|
716
|
+
TASK: ['Tasks', 'Task'],
|
|
717
|
+
TASKLIST: ['Tasklists', 'Tasklist'],
|
|
718
|
+
TEACHER: ['Teachers', 'Teacher'],
|
|
719
|
+
THREAD: ['Threads', 'Thread'],
|
|
720
|
+
TRANSFER_APPLICATION: ['Transfer Applications', 'Transfer Application'],
|
|
721
|
+
TRANSFER_ID: ['Transfer IDs', 'Transfer ID'],
|
|
722
|
+
TRANSFER_REQUEST: ['Transfer Requests', 'Transfer Request'],
|
|
723
|
+
TRASHED_EVENT: ['Trashed Events', 'Trashed Event'],
|
|
724
|
+
TRUSTED_APPLICATION: ['Trusted Applications', 'Trusted Application'],
|
|
725
|
+
TYPE: ['Types', 'Type'],
|
|
726
|
+
UNICODE_ENCODING_ENABLED: ['UTF-8 Encoding Enabled', 'UTF-8 Encoding Enabled'],
|
|
727
|
+
UNIQUE_ID: ['Unique IDs', 'Unique ID'],
|
|
728
|
+
URL: ['URLs', 'URL'],
|
|
729
|
+
USER: ['Users', 'User'],
|
|
730
|
+
USER_ALIAS: ['User Aliases', 'User Alias'],
|
|
731
|
+
USER_EMAIL: ['User Emails', 'User Email'],
|
|
732
|
+
USER_INVITATION: ['User Invitations', 'User Invitation'],
|
|
733
|
+
USER_NOT_SUSPENDED: ['Users (Not suspended)', 'User (Not suspended)'],
|
|
734
|
+
USER_SCHEMA: ['Schemas', 'Schema'],
|
|
735
|
+
USER_SUSPENDED: ['Users (Suspended)', 'User (Suspended)'],
|
|
736
|
+
VACATION: ['Vacation', 'Vacation'],
|
|
737
|
+
VACATION_ENABLED: ['Vacation Enabled', 'Vacation Enabled'],
|
|
738
|
+
VALUE: ['Values', 'Value'],
|
|
739
|
+
VAULT_EXPORT: ['Vault Exports', 'Vault Export'],
|
|
740
|
+
VAULT_HOLD: ['Vault Holds', 'Vault Hold'],
|
|
741
|
+
VAULT_MATTER: ['Vault Matters', 'Vault Matter'],
|
|
742
|
+
VAULT_MATTER_ARTIFACT: ['Vault Matter Artifacts', 'Vault Matter Artifact'],
|
|
743
|
+
VAULT_MATTER_ID: ['Vault Matter IDs', 'Vault Matter ID'],
|
|
744
|
+
VAULT_OPERATION: ['Vault Operations', 'Vault Operation'],
|
|
745
|
+
VAULT_QUERY: ['Vault Queries', 'Vault Query'],
|
|
746
|
+
WEBCLIPS_ENABLED: ['Web Clips Enabled', 'Web Clips Enabled'],
|
|
747
|
+
YOUTUBE_CHANNEL: ['YouTube Channels', 'YouTube Channel'],
|
|
748
|
+
ROLE_MANAGER: ['Managers', 'Manager'],
|
|
749
|
+
ROLE_MEMBER: ['Members', 'Member'],
|
|
750
|
+
ROLE_OWNER: ['Owners', 'Owner'],
|
|
751
|
+
ROLE_ALL: ['Members, Managers, Owners', 'Member, Manager, Owner'],
|
|
752
|
+
ROLE_USER: ['Users', 'User'],
|
|
753
|
+
ROLE_MANAGER_MEMBER: ['Members, Managers', 'Member, Manager'],
|
|
754
|
+
ROLE_MANAGER_OWNER: ['Managers, Owners', 'Manager, Owner'],
|
|
755
|
+
ROLE_MEMBER_OWNER: ['Members, Owners', 'Member, Owner'],
|
|
756
|
+
ROLE_MANAGER_MEMBER_OWNER: ['Members, Managers, Owners', 'Member, Manager, Owner'],
|
|
757
|
+
ROLE_PUBLIC: ['Public', 'Public'],
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
def __init__(self):
|
|
761
|
+
self.entityType = None
|
|
762
|
+
self.forWhom = None
|
|
763
|
+
self.preQualifier = ''
|
|
764
|
+
self.postQualifier = ''
|
|
765
|
+
|
|
766
|
+
def SetGetting(self, entityType):
|
|
767
|
+
self.entityType = entityType
|
|
768
|
+
self.preQualifier = self.postQualifier = ''
|
|
769
|
+
|
|
770
|
+
def SetGettingQuery(self, entityType, query):
|
|
771
|
+
self.entityType = entityType
|
|
772
|
+
self.preQualifier = f' that match query ({query})'
|
|
773
|
+
self.postQualifier = f' that matched query ({query})'
|
|
774
|
+
|
|
775
|
+
def SetGettingQualifier(self, entityType, qualifier):
|
|
776
|
+
self.entityType = entityType
|
|
777
|
+
self.preQualifier = self.postQualifier = qualifier
|
|
778
|
+
|
|
779
|
+
def Getting(self):
|
|
780
|
+
return self.entityType
|
|
781
|
+
|
|
782
|
+
def GettingPreQualifier(self):
|
|
783
|
+
return self.preQualifier
|
|
784
|
+
|
|
785
|
+
def GettingPostQualifier(self):
|
|
786
|
+
return self.postQualifier
|
|
787
|
+
|
|
788
|
+
def SetGettingForWhom(self, forWhom):
|
|
789
|
+
self.forWhom = forWhom
|
|
790
|
+
|
|
791
|
+
def GettingForWhom(self):
|
|
792
|
+
return self.forWhom
|
|
793
|
+
|
|
794
|
+
def Choose(self, entityType, count):
|
|
795
|
+
return self._NAMES[entityType][[0, 1][count == 1]]
|
|
796
|
+
|
|
797
|
+
def ChooseGetting(self, count):
|
|
798
|
+
return self._NAMES[self.entityType][[0, 1][count == 1]]
|
|
799
|
+
|
|
800
|
+
def Plural(self, entityType):
|
|
801
|
+
return self._NAMES[entityType][0]
|
|
802
|
+
|
|
803
|
+
def PluralGetting(self):
|
|
804
|
+
return self._NAMES[self.entityType][0]
|
|
805
|
+
|
|
806
|
+
def Singular(self, entityType):
|
|
807
|
+
return self._NAMES[entityType][1]
|
|
808
|
+
|
|
809
|
+
def SingularGetting(self):
|
|
810
|
+
return self._NAMES[self.entityType][1]
|
|
811
|
+
|
|
812
|
+
def MayTakeTime(self, entityType):
|
|
813
|
+
if entityType:
|
|
814
|
+
return f', may take some time on a large {self.Singular(entityType)}...'
|
|
815
|
+
return ''
|
|
816
|
+
|
|
817
|
+
def FormatEntityValueList(self, entityValueList):
|
|
818
|
+
evList = []
|
|
819
|
+
for j in range(0, len(entityValueList), 2):
|
|
820
|
+
evList.append(self.Singular(entityValueList[j]))
|
|
821
|
+
evList.append(entityValueList[j+1])
|
|
822
|
+
return evList
|
|
823
|
+
|
|
824
|
+
def TypeMessage(self, entityType, message):
|
|
825
|
+
return f'{self.Singular(entityType)}: {message}'
|
|
826
|
+
|
|
827
|
+
def TypeName(self, entityType, entityName):
|
|
828
|
+
return f'{self.Singular(entityType)}: {entityName}'
|
|
829
|
+
|
|
830
|
+
def TypeNameMessage(self, entityType, entityName, message):
|
|
831
|
+
return f'{self.Singular(entityType)}: {entityName} {message}'
|