mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Toss some more Google+, update V1_DISCOVERY_APIS (#878)
* Toss some more Google+ * Add drive3 to V1_DISCOVERY_APIS, sort list * Update var.py
This commit is contained in:
@@ -879,7 +879,6 @@ gam info resoldsubscriptions <CustomerID> [customer_auth_token <String>]
|
|||||||
device_management|
|
device_management|
|
||||||
drive|
|
drive|
|
||||||
gmail|
|
gmail|
|
||||||
gplus|
|
|
||||||
meet|
|
meet|
|
||||||
mobile|
|
mobile|
|
||||||
sites
|
sites
|
||||||
@@ -929,8 +928,7 @@ gam info customer
|
|||||||
|
|
||||||
<DataTransferService> ::=
|
<DataTransferService> ::=
|
||||||
calendar|
|
calendar|
|
||||||
googledrive|gdrive|drive|"drive and docs"|
|
googledrive|gdrive|drive|"drive and docs"
|
||||||
gplus|googleplus|google+
|
|
||||||
<DataTransferServiceList> ::= "<DataTransferService>(,<DataTransferService>)*"
|
<DataTransferServiceList> ::= "<DataTransferService>(,<DataTransferService>)*"
|
||||||
|
|
||||||
gam create datatransfer|transfer <OldOwnerID> <DataTransferServiceList> <NewOwnerID> (<ParameterKey> <ParameterValue>)*
|
gam create datatransfer|transfer <OldOwnerID> <DataTransferServiceList> <NewOwnerID> (<ParameterKey> <ParameterValue>)*
|
||||||
@@ -1254,7 +1252,6 @@ gam <UserTypeEntity> trash messages query <QueryGmail> [doit] [max_to_trash|max_
|
|||||||
gam <UserTypeEntity> untrash messages query <QueryGmail> [doit] [max_to_untrash|max_to_process <Number>]
|
gam <UserTypeEntity> untrash messages query <QueryGmail> [doit] [max_to_untrash|max_to_process <Number>]
|
||||||
|
|
||||||
gam <UserTypeEntity> show gmailprofile [todrive]
|
gam <UserTypeEntity> show gmailprofile [todrive]
|
||||||
gam <UserTypeEntity> show gplusprofile [todrive]
|
|
||||||
|
|
||||||
gam <UserTypeEntity> create|add delegate|delegates <EmailAddress>
|
gam <UserTypeEntity> create|add delegate|delegates <EmailAddress>
|
||||||
gam <UserTypeEntity> delegate|delegates to <EmailAddress>
|
gam <UserTypeEntity> delegate|delegates to <EmailAddress>
|
||||||
|
|||||||
17
src/var.py
17
src/var.py
@@ -99,17 +99,17 @@ SKUS = {
|
|||||||
|
|
||||||
# Legacy APIs that use v1 discovery. Newer APIs should all use v2.
|
# Legacy APIs that use v1 discovery. Newer APIs should all use v2.
|
||||||
V1_DISCOVERY_APIS = {
|
V1_DISCOVERY_APIS = {
|
||||||
u'oauth2',
|
|
||||||
u'reseller',
|
|
||||||
u'storage',
|
|
||||||
u'drive',
|
|
||||||
u'admin',
|
u'admin',
|
||||||
|
u'appsactivity',
|
||||||
|
u'calendar',
|
||||||
|
u'drive',
|
||||||
|
u'gmail',
|
||||||
u'groupssettings',
|
u'groupssettings',
|
||||||
u'licensing',
|
u'licensing',
|
||||||
u'calendar',
|
u'oauth2',
|
||||||
u'appsactivity',
|
u'reseller',
|
||||||
u'siteVerification',
|
u'siteVerification',
|
||||||
u'gmail',
|
u'storage',
|
||||||
}
|
}
|
||||||
|
|
||||||
API_VER_MAPPING = {
|
API_VER_MAPPING = {
|
||||||
@@ -132,7 +132,6 @@ API_VER_MAPPING = {
|
|||||||
u'sheets': u'v4',
|
u'sheets': u'v4',
|
||||||
u'siteVerification': u'v1',
|
u'siteVerification': u'v1',
|
||||||
u'storage': u'v1',
|
u'storage': u'v1',
|
||||||
u'urlshortener': u'v1',
|
|
||||||
u'vault': u'v1',
|
u'vault': u'v1',
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -169,7 +168,6 @@ ADDRESS_FIELDS_ARGUMENT_MAP = {
|
|||||||
|
|
||||||
SERVICE_NAME_TO_ID_MAP = {
|
SERVICE_NAME_TO_ID_MAP = {
|
||||||
u'Drive and Docs': u'55656082996',
|
u'Drive and Docs': u'55656082996',
|
||||||
u'Google+': u'553547912911',
|
|
||||||
u'Calendar': u'435070579839'
|
u'Calendar': u'435070579839'
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -873,7 +871,6 @@ GAPI_USER_RATE_LIMIT_EXCEEDED = u'userRateLimitExceeded'
|
|||||||
#
|
#
|
||||||
GAPI_DEFAULT_RETRY_REASONS = [GAPI_QUOTA_EXCEEDED, GAPI_RATE_LIMIT_EXCEEDED, GAPI_USER_RATE_LIMIT_EXCEEDED, GAPI_BACKEND_ERROR, GAPI_INTERNAL_ERROR]
|
GAPI_DEFAULT_RETRY_REASONS = [GAPI_QUOTA_EXCEEDED, GAPI_RATE_LIMIT_EXCEEDED, GAPI_USER_RATE_LIMIT_EXCEEDED, GAPI_BACKEND_ERROR, GAPI_INTERNAL_ERROR]
|
||||||
GAPI_GMAIL_THROW_REASONS = [GAPI_SERVICE_NOT_AVAILABLE]
|
GAPI_GMAIL_THROW_REASONS = [GAPI_SERVICE_NOT_AVAILABLE]
|
||||||
GAPI_GPLUS_THROW_REASONS = [GAPI_SERVICE_NOT_AVAILABLE]
|
|
||||||
GAPI_GROUP_GET_THROW_REASONS = [GAPI_GROUP_NOT_FOUND, GAPI_DOMAIN_NOT_FOUND, GAPI_DOMAIN_CANNOT_USE_APIS, GAPI_FORBIDDEN, GAPI_BAD_REQUEST]
|
GAPI_GROUP_GET_THROW_REASONS = [GAPI_GROUP_NOT_FOUND, GAPI_DOMAIN_NOT_FOUND, GAPI_DOMAIN_CANNOT_USE_APIS, GAPI_FORBIDDEN, GAPI_BAD_REQUEST]
|
||||||
GAPI_GROUP_GET_RETRY_REASONS = [GAPI_INVALID, GAPI_SYSTEM_ERROR]
|
GAPI_GROUP_GET_RETRY_REASONS = [GAPI_INVALID, GAPI_SYSTEM_ERROR]
|
||||||
GAPI_MEMBERS_THROW_REASONS = [GAPI_GROUP_NOT_FOUND, GAPI_DOMAIN_NOT_FOUND, GAPI_DOMAIN_CANNOT_USE_APIS, GAPI_INVALID, GAPI_FORBIDDEN]
|
GAPI_MEMBERS_THROW_REASONS = [GAPI_GROUP_NOT_FOUND, GAPI_DOMAIN_NOT_FOUND, GAPI_DOMAIN_CANNOT_USE_APIS, GAPI_INVALID, GAPI_FORBIDDEN]
|
||||||
|
|||||||
Reference in New Issue
Block a user