docs/interfaces/management.Management.ConnectionOptionsGoogleOAuth2.html
Options for the 'google-oauth2' connection
interface ConnectionOptionsGoogleOAuth2 {
non_persistent_attrs?: ConnectionNonPersistentAttrs;
allowed_audiences?: ConnectionAllowedAudiencesGoogleOAuth2;
client_id?: string;
client_secret?: string;
freeform_scopes?: ConnectionScopeArray;
icon_url?: string;
scope?: ConnectionScopeArray;
set_user_root_attributes?: Management.ConnectionSetUserRootAttributesEnum;
upstream_params?: ConnectionUpstreamParams;
adsense_management?: boolean;
analytics?: boolean;
blogger?: boolean;
calendar?: boolean;
calendar_addons_execute?: boolean;
calendar_events?: boolean;
calendar_events_readonly?: boolean;
calendar_settings_readonly?: boolean;
chrome_web_store?: boolean;
contacts?: boolean;
contacts_new?: boolean;
contacts_other_readonly?: boolean;
contacts_readonly?: boolean;
content_api_for_shopping?: boolean;
coordinate?: boolean;
coordinate_readonly?: boolean;
directory_readonly?: boolean;
document_list?: boolean;
drive?: boolean;
drive_activity?: boolean;
drive_activity_readonly?: boolean;
drive_appdata?: boolean;
drive_apps_readonly?: boolean;
drive_file?: boolean;
drive_metadata?: boolean;
drive_metadata_readonly?: boolean;
drive_photos_readonly?: boolean;
drive_readonly?: boolean;
drive_scripts?: boolean;
email?: boolean;
gmail?: boolean;
gmail_compose?: boolean;
gmail_insert?: boolean;
gmail_labels?: boolean;
gmail_metadata?: boolean;
gmail_modify?: boolean;
gmail_new?: boolean;
gmail_readonly?: boolean;
gmail_send?: boolean;
gmail_settings_basic?: boolean;
gmail_settings_sharing?: boolean;
google_affiliate_network?: boolean;
google_books?: boolean;
google_cloud_storage?: boolean;
google_drive?: boolean;
google_drive_files?: boolean;
google_plus?: boolean;
latitude_best?: boolean;
latitude_city?: boolean;
moderator?: boolean;
offline_access?: boolean;
orkut?: boolean;
picasa_web?: boolean;
profile?: boolean;
sites?: boolean;
tasks?: boolean;
tasks_readonly?: boolean;
url_shortener?: boolean;
webmaster_tools?: boolean;
youtube?: boolean;
youtube_channelmemberships_creator?: boolean;
youtube_new?: boolean;
youtube_readonly?: boolean;
youtube_upload?: boolean;
youtubepartner?: boolean;
key: string: any;
}
Accepts any additional properties
non_persistent_attrs?allowed_audiences?client_id?client_secret?freeform_scopes?icon_url?scope?set_user_root_attributes?upstream_params?adsense_management?analytics?blogger?calendar?calendar_addons_execute?calendar_events?calendar_events_readonly?calendar_settings_readonly?chrome_web_store?contacts?contacts_new?contacts_other_readonly?contacts_readonly?content_api_for_shopping?coordinate?coordinate_readonly?directory_readonly?document_list?drive?drive_activity?drive_activity_readonly?drive_appdata?drive_apps_readonly?drive_file?drive_metadata?drive_metadata_readonly?drive_photos_readonly?drive_readonly?drive_scripts?email?gmail?gmail_compose?gmail_insert?gmail_labels?gmail_metadata?gmail_modify?gmail_new?gmail_readonly?gmail_send?gmail_settings_basic?gmail_settings_sharing?google_affiliate_network?google_books?google_cloud_storage?google_drive?google_drive_files?google_plus?latitude_best?latitude_city?moderator?offline_access?orkut?picasa_web?profile?sites?tasks?tasks_readonly?url_shortener?webmaster_tools?youtube?youtube_channelmemberships_creator?youtube_new?youtube_readonly?youtube_upload?youtubepartner?
Optionalnon_persistent_attrsnon_persistent_attrs?: ConnectionNonPersistentAttrs
Optionalallowed_audiencesallowed_audiences?: ConnectionAllowedAudiencesGoogleOAuth2
Optionalclient_idclient_id?: string
Optionalclient_secretclient_secret?: string
Optionalfreeform_scopesfreeform_scopes?: ConnectionScopeArray
Optionalicon_urlicon_url?: string
Optionalscopescope?: ConnectionScopeArray
Optionalset_user_root_attributesset_user_root_attributes?: Management.ConnectionSetUserRootAttributesEnum
Optionalupstream_paramsupstream_params?: ConnectionUpstreamParams
Optionaladsense_managementadsense_management?: boolean
View and manage user's ad applications, ad units, and channels in AdSense
Optionalanalyticsanalytics?: boolean
View user's configuration information and reports
Optionalbloggerblogger?: boolean
View and manage user's posts and blogs on Blogger and Blogger comments
Optionalcalendarcalendar?: boolean
See, edit, share, and permanently delete all the calendars you can access using Google Calendar
Optionalcalendar_addons_executecalendar_addons_execute?: boolean
Run as a Calendar add-on
Optionalcalendar_eventscalendar_events?: boolean
View and edit events on all your calendars
Optionalcalendar_events_readonlycalendar_events_readonly?: boolean
View events on all your calendars
Optionalcalendar_settings_readonlycalendar_settings_readonly?: boolean
View your Calendar settings
Optionalchrome_web_storechrome_web_store?: boolean
Read access to user's chrome web store
Optionalcontactscontacts?: boolean
Full access to the authenticated user's contacts
Optionalcontacts_newcontacts_new?: boolean
Full access to the authenticated user's contacts
Optionalcontacts_other_readonlycontacts_other_readonly?: boolean
Read-only access to the authenticated user's 'Other contacts'
Optionalcontacts_readonlycontacts_readonly?: boolean
Read-only access to the authenticated user's contacts
Optionalcontent_api_for_shoppingcontent_api_for_shopping?: boolean
View and manage user's products, feeds, and subaccounts
Optionalcoordinatecoordinate?: boolean
Grants read and write access to the Coordinate API
Optionalcoordinate_readonlycoordinate_readonly?: boolean
Grants read access to the Coordinate API
Optionaldirectory_readonlydirectory_readonly?: boolean
Read-only access to the authenticated user's corporate directory (if applicable)
Optionaldocument_listdocument_list?: boolean
Access to Google Docs document list feed
Optionaldrivedrive?: boolean
Full access to all files and folders in the user's Google Drive
Optionaldrive_activitydrive_activity?: boolean
View and add to the activity record of files in your Drive
Optionaldrive_activity_readonlydrive_activity_readonly?: boolean
View the activity record of files in your Drive
Optionaldrive_appdatadrive_appdata?: boolean
Access to the application's configuration data in the user's Google Drive
Optionaldrive_apps_readonlydrive_apps_readonly?: boolean
View apps authorized to access your Drive
Optionaldrive_filedrive_file?: boolean
Access to files created or opened by the app
Optionaldrive_metadatadrive_metadata?: boolean
Access to file metadata, including listing files and folders
Optionaldrive_metadata_readonlydrive_metadata_readonly?: boolean
Read-only access to file metadata
Optionaldrive_photos_readonlydrive_photos_readonly?: boolean
Read-only access to the user's Google Photos
Optionaldrive_readonlydrive_readonly?: boolean
Read-only access to all files and folders in the user's Google Drive
Optionaldrive_scriptsdrive_scripts?: boolean
Modify the behavior of Google Apps Scripts
Optionalemailemail?: boolean
Email and verified email flag
Optionalgmailgmail?: boolean
Full access to the account's mailboxes, including permanent deletion of threads and messages
Optionalgmail_composegmail_compose?: boolean
Read all resources and their metadata—no write operations
Optionalgmail_insertgmail_insert?: boolean
Insert and import messages only
Optionalgmail_labelsgmail_labels?: boolean
Create, read, update, and delete labels only
Optionalgmail_metadatagmail_metadata?: boolean
Read resources metadata including labels, history records, and email message headers, but not the message body or attachments
Optionalgmail_modifygmail_modify?: boolean
All read/write operations except immediate, permanent deletion of threads and messages, bypassing Trash
Optionalgmail_newgmail_new?: boolean
Full access to the account's mailboxes, including permanent deletion of threads and messages
Optionalgmail_readonlygmail_readonly?: boolean
Read all resources and their metadata—no write operations
Optionalgmail_sendgmail_send?: boolean
Send messages only. No read or modify privileges on mailbox
Optionalgmail_settings_basicgmail_settings_basic?: boolean
Manage basic mail settings
Optionalgmail_settings_sharinggmail_settings_sharing?: boolean
Manage sensitive mail settings, including forwarding rules and aliases. Note: Operations guarded by this scope are restricted to administrative use only
Optionalgoogle_affiliate_networkgoogle_affiliate_network?: boolean
View and manage user's publisher data in the Google Affiliate Network
Optionalgoogle_booksgoogle_books?: boolean
View and manage user's books and library in Google Books
Optionalgoogle_cloud_storagegoogle_cloud_storage?: boolean
View and manage user's data stored in Google Cloud Storage
Optionalgoogle_drivegoogle_drive?: boolean
Full access to all files and folders in the user's Google Drive
Optionalgoogle_drive_filesgoogle_drive_files?: boolean
Access to files created or opened by the app
Optionalgoogle_plusgoogle_plus?: boolean
Associate user with its public Google profile
Optionallatitude_bestlatitude_best?: boolean
View and manage user's best-available current location and location history in Google Latitude
Optionallatitude_citylatitude_city?: boolean
View and manage user's city-level current location and location history in Google Latitude
Optionalmoderatormoderator?: boolean
View and manage user's votes, topics, and submissions
Optionaloffline_accessoffline_access?: boolean
Request a refresh token when the user authorizes your application
Optionalorkutorkut?: boolean
View and manage user's friends, applications and profile and status
Optionalpicasa_webpicasa_web?: boolean
View and manage user's Google photos, videos, photo and video tags and comments
Optionalprofileprofile?: boolean
Name, public profile URL, photo, country, language, and timezone
Optionalsitessites?: boolean
View and manage user's sites on Google Sites
Optionaltaskstasks?: boolean
Full access to create, edit, organize, and delete all your tasks
Optionaltasks_readonlytasks_readonly?: boolean
Read-only access to view your tasks and task lists
Optionalurl_shortenerurl_shortener?: boolean
View, manage and view statistics user's short URLs
Optionalwebmaster_toolswebmaster_tools?: boolean
View and manage user's sites and messages, view keywords
Optionalyoutubeyoutube?: boolean
Manage your YouTube account
Optionalyoutube_channelmemberships_creatoryoutube_channelmemberships_creator?: boolean
See a list of your current active channel members, their current level, and when they became a member
Optionalyoutube_newyoutube_new?: boolean
Manage your YouTube account
Optionalyoutube_readonlyyoutube_readonly?: boolean
View your YouTube account
Optionalyoutube_uploadyoutube_upload?: boolean
Manage your YouTube videos
Optionalyoutubepartneryoutubepartner?: boolean
View and manage your assets and associated content on YouTube
Member Visibility
ThemeOSLightDark
Properties non_persistent_attrsallowed_audiencesclient_idclient_secretfreeform_scopesicon_urlscopeset_user_root_attributesupstream_paramsadsense_managementanalyticsbloggercalendarcalendar_addons_executecalendar_eventscalendar_events_readonlycalendar_settings_readonlychrome_web_storecontactscontacts_newcontacts_other_readonlycontacts_readonlycontent_api_for_shoppingcoordinatecoordinate_readonlydirectory_readonlydocument_listdrivedrive_activitydrive_activity_readonlydrive_appdatadrive_apps_readonlydrive_filedrive_metadatadrive_metadata_readonlydrive_photos_readonlydrive_readonlydrive_scriptsemailgmailgmail_composegmail_insertgmail_labelsgmail_metadatagmail_modifygmail_newgmail_readonlygmail_sendgmail_settings_basicgmail_settings_sharinggoogle_affiliate_networkgoogle_booksgoogle_cloud_storagegoogle_drivegoogle_drive_filesgoogle_pluslatitude_bestlatitude_citymoderatoroffline_accessorkutpicasa_webprofilesitestaskstasks_readonlyurl_shortenerwebmaster_toolsyoutubeyoutube_channelmemberships_creatoryoutube_newyoutube_readonlyyoutube_uploadyoutubepartner