Last active
February 5, 2022 06:29
-
-
Save comewalk/5457791 to your computer and use it in GitHub Desktop.
The script shows all Google APIs scopes via Google APIs Discovery Service. Run like below.$ perl google-api-scopes.pl | sort | uniq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use 5.010000; | |
use JSON; | |
use LWP::UserAgent; | |
use URI; | |
my $services_url = 'https://www.googleapis.com/discovery/v1/apis/?fields=items/discoveryRestUrl'; | |
my $ua = LWP::UserAgent->new; | |
my $res = $ua->get($services_url); | |
unless ($res->is_success) { | |
die $res->status_line; | |
} | |
my $content = JSON->new->decode($res->content); | |
for my $item (@{$content->{items}}) { | |
my $scope_url = URI->new($item->{discoveryRestUrl}); | |
$res = $ua->get($scope_url); | |
unless ($res->is_success) { | |
warn $res->status_line; | |
next; | |
} | |
my $scopes = JSON->new->decode($res->content); | |
my $scopes_hashref = $scopes->{auth}{oauth2}{scopes}; | |
for my $scope (keys %{$scopes_hashref}) { | |
say $scope . ' - ' . $scopes_hashref->{$scope}{description}; | |
} | |
} | |
__END__ |
Tweaked as revision 2. It removed fields parameter. https://gist.github.com/comewalk/5457791/revisions#diff-f9f2d9292b7fc5d80e3b35b35aba9dd2c7dede1857051f811449ab54e05e95d7
The reason is that Discovery document (e.g. https://servicemanagement.googleapis.com/$discovery/rest?version=v1 ) can not use fields parameter for partial response.
The error is like below.
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"field": "id",
"description": "Error expanding 'fields' parameter. Cannot find matching fields for path 'id'."
}
]
}
]
}
}
$ perl google-api-scopes.pl > scopes.txt
$ cat scopes.txt | sort | uniq
https://mail.google.com/ - Read, compose, send, and permanently delete all your email from Gmail
https://www.google.com/calendar/feeds - See, edit, share, and permanently delete all the calendars you can access using Google Calendar
https://www.google.com/m8/feeds - See, edit, download, and permanently delete your contacts
https://www.googleapis.com/auth/adexchange.buyer - Manage your Ad Exchange buyer account configuration
https://www.googleapis.com/auth/admin.chrome.printers - See, add, edit, and permanently delete the printers that your organization can use with Chrome
https://www.googleapis.com/auth/admin.chrome.printers.readonly - See the printers that your organization can use with Chrome
https://www.googleapis.com/auth/admin.datatransfer - View and manage data transfers between users in your organization
https://www.googleapis.com/auth/admin.datatransfer.readonly - View data transfers between users in your organization
https://www.googleapis.com/auth/admin.directory.customer - View and manage customer related information
https://www.googleapis.com/auth/admin.directory.customer.readonly - View customer related information
https://www.googleapis.com/auth/admin.directory.device.chromeos - View and manage your Chrome OS devices' metadata
https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly - View your Chrome OS devices' metadata
https://www.googleapis.com/auth/admin.directory.device.mobile - View and manage your mobile devices' metadata
https://www.googleapis.com/auth/admin.directory.device.mobile.action - Manage your mobile devices by performing administrative tasks
https://www.googleapis.com/auth/admin.directory.device.mobile.readonly - View your mobile devices' metadata
https://www.googleapis.com/auth/admin.directory.domain - View and manage the provisioning of domains for your customers
https://www.googleapis.com/auth/admin.directory.domain.readonly - View domains related to your customers
https://www.googleapis.com/auth/admin.directory.group - View and manage the provisioning of groups on your domain
https://www.googleapis.com/auth/admin.directory.group.member - View and manage group subscriptions on your domain
https://www.googleapis.com/auth/admin.directory.group.member.readonly - View group subscriptions on your domain
https://www.googleapis.com/auth/admin.directory.group.readonly - View groups on your domain
https://www.googleapis.com/auth/admin.directory.orgunit - View and manage organization units on your domain
https://www.googleapis.com/auth/admin.directory.orgunit.readonly - View organization units on your domain
https://www.googleapis.com/auth/admin.directory.resource.calendar - View and manage the provisioning of calendar resources on your domain
https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly - View calendar resources on your domain
https://www.googleapis.com/auth/admin.directory.rolemanagement - Manage delegated admin roles for your domain
https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly - View delegated admin roles for your domain
https://www.googleapis.com/auth/admin.directory.user - View and manage the provisioning of users on your domain
https://www.googleapis.com/auth/admin.directory.user.alias - View and manage user aliases on your domain
https://www.googleapis.com/auth/admin.directory.user.alias.readonly - View user aliases on your domain
https://www.googleapis.com/auth/admin.directory.user.readonly - See info about users on your domain
https://www.googleapis.com/auth/admin.directory.user.security - Manage data access permissions for users on your domain
https://www.googleapis.com/auth/admin.directory.userschema - View and manage the provisioning of user schemas on your domain
https://www.googleapis.com/auth/admin.directory.userschema.readonly - View user schemas on your domain
https://www.googleapis.com/auth/admin.reports.audit.readonly - View audit reports for your G Suite domain
https://www.googleapis.com/auth/admin.reports.usage.readonly - View usage reports for your G Suite domain
https://www.googleapis.com/auth/admob.readonly - See your AdMob data
https://www.googleapis.com/auth/admob.report - See your AdMob data
https://www.googleapis.com/auth/adsense - View and manage your AdSense data
https://www.googleapis.com/auth/adsense.readonly - View your AdSense data
https://www.googleapis.com/auth/adsensehost - View and manage your AdSense host data and associated accounts
https://www.googleapis.com/auth/adwords - Manage your AdWords campaigns
https://www.googleapis.com/auth/analytics - View and manage your Google Analytics data
https://www.googleapis.com/auth/analytics.edit - Edit Google Analytics management entities
https://www.googleapis.com/auth/analytics.manage.users - Manage Google Analytics Account users by email address
https://www.googleapis.com/auth/analytics.manage.users.readonly - View Google Analytics user permissions
https://www.googleapis.com/auth/analytics.provision - Create a new Google Analytics account along with its default property and view
https://www.googleapis.com/auth/analytics.readonly - See and download your Google Analytics data
https://www.googleapis.com/auth/analytics.readonly - View your Google Analytics data
https://www.googleapis.com/auth/analytics.user.deletion - Manage Google Analytics user deletion requests
https://www.googleapis.com/auth/androidenterprise - Manage corporate Android devices
https://www.googleapis.com/auth/androidmanagement - Manage Android devices and apps for your customers
https://www.googleapis.com/auth/androidpublisher - View and manage your Google Play Developer account
https://www.googleapis.com/auth/appengine.admin - View and manage your applications deployed on Google App Engine
https://www.googleapis.com/auth/apps.alerts - See and delete your domain's G Suite alerts, and send alert feedback
https://www.googleapis.com/auth/apps.groups.migration - Upload messages to any Google group in your domain
https://www.googleapis.com/auth/apps.groups.settings - View and manage the settings of a G Suite group
https://www.googleapis.com/auth/apps.licensing - View and manage G Suite licenses for your domain
https://www.googleapis.com/auth/apps.order - Manage users on your domain
https://www.googleapis.com/auth/apps.order.readonly - Manage users on your domain
https://www.googleapis.com/auth/authorized-buyers-marketplace - See, create, edit, and delete your Authorized Buyers Marketplace entities.
https://www.googleapis.com/auth/bigquery - View and manage your data in Google BigQuery and see the email address for your Google Account
https://www.googleapis.com/auth/bigquery.insertdata - Insert data into Google BigQuery
https://www.googleapis.com/auth/bigtable.admin - Administer your Cloud Bigtable tables and clusters
https://www.googleapis.com/auth/bigtable.admin.cluster - Administer your Cloud Bigtable clusters
https://www.googleapis.com/auth/bigtable.admin.instance - Administer your Cloud Bigtable clusters
https://www.googleapis.com/auth/bigtable.admin.table - Administer your Cloud Bigtable tables
https://www.googleapis.com/auth/blogger - Manage your Blogger account
https://www.googleapis.com/auth/blogger.readonly - View your Blogger account
https://www.googleapis.com/auth/books - Manage your books
https://www.googleapis.com/auth/calendar - See, edit, share, and permanently delete all the calendars you can access using Google Calendar
https://www.googleapis.com/auth/calendar.events - View and edit events on all your calendars
https://www.googleapis.com/auth/calendar.events.readonly - View events on all your calendars
https://www.googleapis.com/auth/calendar.readonly - See and download any calendar you can access using your Google Calendar
https://www.googleapis.com/auth/calendar.settings.readonly - View your Calendar settings
https://www.googleapis.com/auth/chrome.management.appdetails.readonly - See detailed information about apps installed on Chrome browsers and devices managed by your organization
https://www.googleapis.com/auth/chrome.management.policy - See, edit, create or delete policies applied to Chrome OS and Chrome Browsers managed within your organization
https://www.googleapis.com/auth/chrome.management.policy.readonly - See policies applied to Chrome OS and Chrome Browsers managed within your organization
https://www.googleapis.com/auth/chrome.management.reports.readonly - See reports about devices and Chrome browsers managed within your organization
https://www.googleapis.com/auth/classroom.announcements - View and manage announcements in Google Classroom
https://www.googleapis.com/auth/classroom.announcements.readonly - View announcements in Google Classroom
https://www.googleapis.com/auth/classroom.courses - See, edit, create, and permanently delete your Google Classroom classes
https://www.googleapis.com/auth/classroom.courses.readonly - View your Google Classroom classes
https://www.googleapis.com/auth/classroom.coursework.me - See, create and edit coursework items including assignments, questions, and grades
https://www.googleapis.com/auth/classroom.coursework.me.readonly - View your course work and grades in Google Classroom
https://www.googleapis.com/auth/classroom.coursework.students - Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer
https://www.googleapis.com/auth/classroom.coursework.students.readonly - View course work and grades for students in the Google Classroom classes you teach or administer
https://www.googleapis.com/auth/classroom.courseworkmaterials - See, edit, and create classwork materials in Google Classroom
https://www.googleapis.com/auth/classroom.courseworkmaterials.readonly - See all classwork materials for your Google Classroom classes
https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly - View your Google Classroom guardians
https://www.googleapis.com/auth/classroom.guardianlinks.students - View and manage guardians for students in your Google Classroom classes
https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly - View guardians for students in your Google Classroom classes
https://www.googleapis.com/auth/classroom.profile.emails - View the email addresses of people in your classes
https://www.googleapis.com/auth/classroom.profile.photos - View the profile photos of people in your classes
https://www.googleapis.com/auth/classroom.push-notifications - Receive notifications about your Google Classroom data
https://www.googleapis.com/auth/classroom.rosters - Manage your Google Classroom class rosters
https://www.googleapis.com/auth/classroom.rosters.readonly - View your Google Classroom class rosters
https://www.googleapis.com/auth/classroom.student-submissions.me.readonly - View your course work and grades in Google Classroom
https://www.googleapis.com/auth/classroom.student-submissions.students.readonly - View course work and grades for students in the Google Classroom classes you teach or administer
https://www.googleapis.com/auth/classroom.topics - See, create, and edit topics in Google Classroom
https://www.googleapis.com/auth/classroom.topics.readonly - View topics in Google Classroom
https://www.googleapis.com/auth/cloud-bigtable.admin - Administer your Cloud Bigtable tables and clusters
https://www.googleapis.com/auth/cloud-bigtable.admin.cluster - Administer your Cloud Bigtable clusters
https://www.googleapis.com/auth/cloud-bigtable.admin.table - Administer your Cloud Bigtable tables
https://www.googleapis.com/auth/cloud-billing - View and manage your Google Cloud Platform billing accounts
https://www.googleapis.com/auth/cloud-billing.readonly - View your Google Cloud Platform billing accounts
https://www.googleapis.com/auth/cloud-identity.devices.lookup - See your device details
https://www.googleapis.com/auth/cloud-identity.groups - See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
https://www.googleapis.com/auth/cloud-identity.groups.readonly - See any Cloud Identity Groups that you can access, including group members and their emails
https://www.googleapis.com/auth/cloud-language - Apply machine learning models to reveal the structure and meaning of text
https://www.googleapis.com/auth/cloud-platform - See, edit, configure, and delete your Google Cloud Platform data
https://www.googleapis.com/auth/cloud-platform - See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
https://www.googleapis.com/auth/cloud-platform - View and manage your data across Google Cloud Platform services
https://www.googleapis.com/auth/cloud-platform.read-only - View your data across Google Cloud Platform services
https://www.googleapis.com/auth/cloud-platform.read-only - View your data across Google Cloud services and see the email address of your Google Account
https://www.googleapis.com/auth/cloud-translation - Translate text from one language to another using Google Translate
https://www.googleapis.com/auth/cloud-vision - Apply machine learning models to understand and label images
https://www.googleapis.com/auth/cloud_debugger - Use Stackdriver Debugger
https://www.googleapis.com/auth/cloud_search - Index and serve your organization's data with Cloud Search
https://www.googleapis.com/auth/cloud_search.debug - Index and serve your organization's data with Cloud Search
https://www.googleapis.com/auth/cloud_search.indexing - Index and serve your organization's data with Cloud Search
https://www.googleapis.com/auth/cloud_search.query - Search your organization's data in the Cloud Search index
https://www.googleapis.com/auth/cloud_search.settings - Index and serve your organization's data with Cloud Search
https://www.googleapis.com/auth/cloud_search.settings.indexing - Index and serve your organization's data with Cloud Search
https://www.googleapis.com/auth/cloud_search.settings.query - Index and serve your organization's data with Cloud Search
https://www.googleapis.com/auth/cloud_search.stats - Index and serve your organization's data with Cloud Search
https://www.googleapis.com/auth/cloud_search.stats.indexing - Index and serve your organization's data with Cloud Search
https://www.googleapis.com/auth/cloudiot - Register and manage devices in the Google Cloud IoT service
https://www.googleapis.com/auth/cloudkms - View and manage your keys and secrets stored in Cloud Key Management Service
https://www.googleapis.com/auth/cloudruntimeconfig - Manage your Google Cloud Platform services' runtime configuration
https://www.googleapis.com/auth/compute - View and manage your Google Compute Engine resources
https://www.googleapis.com/auth/compute.readonly - View your Google Compute Engine resources
https://www.googleapis.com/auth/contacts - See, edit, download, and permanently delete your contacts
https://www.googleapis.com/auth/contacts.other.readonly - See and download contact info automatically saved in your "Other contacts"
https://www.googleapis.com/auth/contacts.readonly - See and download your contacts
https://www.googleapis.com/auth/content - Manage your product listings and accounts for Google Shopping
https://www.googleapis.com/auth/datastore - View and manage your Google Cloud Datastore data
https://www.googleapis.com/auth/ddmconversions - Manage DoubleClick Digital Marketing conversions
https://www.googleapis.com/auth/devstorage.full_control - Manage your data and permissions in Cloud Storage and see the email address for your Google Account
https://www.googleapis.com/auth/devstorage.full_control - Manage your data and permissions in Google Cloud Storage
https://www.googleapis.com/auth/devstorage.read_only - View your data in Google Cloud Storage
https://www.googleapis.com/auth/devstorage.read_write - Manage your data in Cloud Storage and see the email address of your Google Account
https://www.googleapis.com/auth/devstorage.read_write - Manage your data in Google Cloud Storage
https://www.googleapis.com/auth/dfareporting - View and manage DoubleClick for Advertisers reports
https://www.googleapis.com/auth/dfatrafficking - View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
https://www.googleapis.com/auth/dialogflow - View, manage and query your Dialogflow agents
https://www.googleapis.com/auth/directory.readonly - See and download your organization's GSuite directory
https://www.googleapis.com/auth/display-video - Create, see, edit, and permanently delete your Display & Video 360 entities and reports
https://www.googleapis.com/auth/display-video-mediaplanning - Create, see, and edit Display & Video 360 Campaign entities and see billing invoices
https://www.googleapis.com/auth/display-video-user-management - Private Service: https://www.googleapis.com/auth/display-video-user-management
https://www.googleapis.com/auth/documents - See, edit, create, and delete all your Google Docs documents
https://www.googleapis.com/auth/documents.readonly - See all your Google Docs documents
https://www.googleapis.com/auth/doubleclickbidmanager - View and manage your reports in DoubleClick Bid Manager
https://www.googleapis.com/auth/doubleclicksearch - View and manage your advertising data in DoubleClick Search
https://www.googleapis.com/auth/drive - See, edit, create, and delete all of your Google Drive files
https://www.googleapis.com/auth/drive.activity - View and add to the activity record of files in your Google Drive
https://www.googleapis.com/auth/drive.activity.readonly - View the activity record of files in your Google Drive
https://www.googleapis.com/auth/drive.appdata - See, create, and delete its own configuration data in your Google Drive
https://www.googleapis.com/auth/drive.apps.readonly - View your Google Drive apps
https://www.googleapis.com/auth/drive.file - See, edit, create, and delete only the specific Google Drive files you use with this app
https://www.googleapis.com/auth/drive.metadata - View and manage metadata of files in your Google Drive
https://www.googleapis.com/auth/drive.metadata.readonly - See information about your Google Drive files
https://www.googleapis.com/auth/drive.photos.readonly - View the photos, videos and albums in your Google Photos
https://www.googleapis.com/auth/drive.readonly - See and download all your Google Drive files
https://www.googleapis.com/auth/drive.scripts - Modify your Google Apps Script scripts' behavior
https://www.googleapis.com/auth/ediscovery - Manage your eDiscovery data
https://www.googleapis.com/auth/ediscovery.readonly - View your eDiscovery data
https://www.googleapis.com/auth/firebase - View and administer all your Firebase data and settings
https://www.googleapis.com/auth/firebase.messaging - Send messages and manage messaging subscriptions for your Firebase applications
https://www.googleapis.com/auth/firebase.readonly - View all your Firebase data and settings
https://www.googleapis.com/auth/fitness.activity.read - Use Google Fit to see and store your physical activity data
https://www.googleapis.com/auth/fitness.activity.write - Add to your Google Fit physical activity data
https://www.googleapis.com/auth/fitness.blood_glucose.read - See info about your blood glucose in Google Fit. I consent to Google sharing my blood glucose information with this app.
https://www.googleapis.com/auth/fitness.blood_glucose.write - Add info about your blood glucose to Google Fit. I consent to Google using my blood glucose information with this app.
https://www.googleapis.com/auth/fitness.blood_pressure.read - See info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.
https://www.googleapis.com/auth/fitness.blood_pressure.write - Add info about your blood pressure in Google Fit. I consent to Google using my blood pressure information with this app.
https://www.googleapis.com/auth/fitness.body.read - See info about your body measurements in Google Fit
https://www.googleapis.com/auth/fitness.body.write - Add info about your body measurements to Google Fit
https://www.googleapis.com/auth/fitness.body_temperature.read - See info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
https://www.googleapis.com/auth/fitness.body_temperature.write - Add to info about your body temperature in Google Fit. I consent to Google using my body temperature information with this app.
https://www.googleapis.com/auth/fitness.heart_rate.read - See your heart rate data in Google Fit. I consent to Google sharing my heart rate information with this app.
https://www.googleapis.com/auth/fitness.heart_rate.write - Add to your heart rate data in Google Fit. I consent to Google using my heart rate information with this app.
https://www.googleapis.com/auth/fitness.location.read - See your Google Fit speed and distance data
https://www.googleapis.com/auth/fitness.location.write - Add to your Google Fit location data
https://www.googleapis.com/auth/fitness.nutrition.read - See info about your nutrition in Google Fit
https://www.googleapis.com/auth/fitness.nutrition.write - Add to info about your nutrition in Google Fit
https://www.googleapis.com/auth/fitness.oxygen_saturation.read - See info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.
https://www.googleapis.com/auth/fitness.oxygen_saturation.write - Add info about your oxygen saturation in Google Fit. I consent to Google using my oxygen saturation information with this app.
https://www.googleapis.com/auth/fitness.reproductive_health.read - See info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.
https://www.googleapis.com/auth/fitness.reproductive_health.write - Add info about your reproductive health in Google Fit. I consent to Google using my reproductive health information with this app.
https://www.googleapis.com/auth/fitness.sleep.read - See your sleep data in Google Fit. I consent to Google sharing my sleep information with this app.
https://www.googleapis.com/auth/fitness.sleep.write - Add to your sleep data in Google Fit. I consent to Google using my sleep information with this app.
https://www.googleapis.com/auth/forms - View and manage your forms in Google Drive
https://www.googleapis.com/auth/forms.currentonly - View and manage forms that this application has been installed in
https://www.googleapis.com/auth/games - Create, edit, and delete your Google Play Games activity
https://www.googleapis.com/auth/genomics - View and manage Genomics data
https://www.googleapis.com/auth/gmail.addons.current.action.compose - Manage drafts and send emails when you interact with the add-on
https://www.googleapis.com/auth/gmail.addons.current.message.action - View your email messages when you interact with the add-on
https://www.googleapis.com/auth/gmail.addons.current.message.metadata - View your email message metadata when the add-on is running
https://www.googleapis.com/auth/gmail.addons.current.message.readonly - View your email messages when the add-on is running
https://www.googleapis.com/auth/gmail.compose - Manage drafts and send emails
https://www.googleapis.com/auth/gmail.insert - Add emails into your Gmail mailbox
https://www.googleapis.com/auth/gmail.labels - See and edit your email labels
https://www.googleapis.com/auth/gmail.metadata - View your email message metadata such as labels and headers, but not the email body
https://www.googleapis.com/auth/gmail.modify - Read, compose, and send emails from your Gmail account
https://www.googleapis.com/auth/gmail.readonly - View your email messages and settings
https://www.googleapis.com/auth/gmail.send - Send email on your behalf
https://www.googleapis.com/auth/gmail.settings.basic - See, edit, create, or change your email settings and filters in Gmail
https://www.googleapis.com/auth/gmail.settings.sharing - Manage your sensitive mail settings, including who can manage your mail
https://www.googleapis.com/auth/groups - View and manage your Google Groups
https://www.googleapis.com/auth/homegraph - Private Service: https://www.googleapis.com/auth/homegraph
https://www.googleapis.com/auth/indexing - Submit data to Google for indexing
https://www.googleapis.com/auth/jobs - Manage job postings
https://www.googleapis.com/auth/keep - See, edit, create and permanently delete all your Google Keep data
https://www.googleapis.com/auth/keep.readonly - View all your Google Keep data
https://www.googleapis.com/auth/logging.admin - Administrate log data for your projects
https://www.googleapis.com/auth/logging.read - View log data for your projects
https://www.googleapis.com/auth/logging.write - Submit log data for your projects
https://www.googleapis.com/auth/manufacturercenter - Manage your product listings for Google Manufacturer Center
https://www.googleapis.com/auth/monitoring - View and write monitoring data for all of your Google and third-party Cloud and API projects
https://www.googleapis.com/auth/monitoring.read - View monitoring data for all of your Google Cloud and third-party projects
https://www.googleapis.com/auth/monitoring.write - Publish metric data to your Google Cloud projects
https://www.googleapis.com/auth/ndev.clouddns.readonly - View your DNS records hosted by Google Cloud DNS
https://www.googleapis.com/auth/ndev.clouddns.readwrite - View and manage your DNS records hosted by Google Cloud DNS
https://www.googleapis.com/auth/ndev.cloudman - View and manage your Google Cloud Platform management resources and deployment status information
https://www.googleapis.com/auth/ndev.cloudman.readonly - View your Google Cloud Platform management resources and deployment status information
https://www.googleapis.com/auth/postmaster.readonly - See email traffic metrics for the domains you have registered in Gmail Postmaster Tools
https://www.googleapis.com/auth/presentations - See, edit, create, and delete all your Google Slides presentations
https://www.googleapis.com/auth/presentations.readonly - See all your Google Slides presentations
https://www.googleapis.com/auth/pubsub - View and manage Pub/Sub topics and subscriptions
https://www.googleapis.com/auth/realtime-bidding - See, create, edit, and delete your Authorized Buyers and Open Bidding account entities
https://www.googleapis.com/auth/script.deployments - Create and update Google Apps Script deployments
https://www.googleapis.com/auth/script.deployments.readonly - View Google Apps Script deployments
https://www.googleapis.com/auth/script.metrics - View Google Apps Script project's metrics
https://www.googleapis.com/auth/script.processes - View Google Apps Script processes
https://www.googleapis.com/auth/script.projects - Create and update Google Apps Script projects
https://www.googleapis.com/auth/script.projects.readonly - View Google Apps Script projects
https://www.googleapis.com/auth/sdm.service - See and/or control the devices that you selected
https://www.googleapis.com/auth/sdm.thermostat.service - See and control the Nest thermostats that you select
https://www.googleapis.com/auth/service.management - Manage your Google API service configuration
https://www.googleapis.com/auth/service.management.readonly - View your Google API service configuration
https://www.googleapis.com/auth/servicecontrol - Manage your Google Service Control data
https://www.googleapis.com/auth/siteverification - Manage the list of sites and domains you control
https://www.googleapis.com/auth/siteverification.verify_only - Manage your new site verifications with Google
https://www.googleapis.com/auth/source.full_control - Manage your source code repositories
https://www.googleapis.com/auth/source.read_only - View the contents of your source code repositories
https://www.googleapis.com/auth/source.read_write - Manage the contents of your source code repositories
https://www.googleapis.com/auth/spanner.admin - Administer your Spanner databases
https://www.googleapis.com/auth/spanner.data - View and manage the contents of your Spanner databases
https://www.googleapis.com/auth/spreadsheets - See, edit, create, and delete all your Google Sheets spreadsheets
https://www.googleapis.com/auth/spreadsheets.readonly - See all your Google Sheets spreadsheets
https://www.googleapis.com/auth/sqlservice.admin - Manage your Google SQL Service instances
https://www.googleapis.com/auth/streetviewpublish - Publish and manage your 360 photos on Google Street View
https://www.googleapis.com/auth/tables - See, edit, create, and delete your tables in Tables by Area 120
https://www.googleapis.com/auth/tagmanager.delete.containers - Delete your Google Tag Manager containers
https://www.googleapis.com/auth/tagmanager.edit.containers - Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing
https://www.googleapis.com/auth/tagmanager.edit.containerversions - Manage your Google Tag Manager container versions
https://www.googleapis.com/auth/tagmanager.manage.accounts - View and manage your Google Tag Manager accounts
https://www.googleapis.com/auth/tagmanager.manage.users - Manage user permissions of your Google Tag Manager account and container
https://www.googleapis.com/auth/tagmanager.publish - Publish your Google Tag Manager container versions
https://www.googleapis.com/auth/tagmanager.readonly - View your Google Tag Manager container and its subcomponents
https://www.googleapis.com/auth/tasks - Create, edit, organize, and delete all your tasks
https://www.googleapis.com/auth/tasks.readonly - View your tasks
https://www.googleapis.com/auth/trace.append - Write Trace data for a project or application
https://www.googleapis.com/auth/trace.readonly - Read Trace data for a project or application
https://www.googleapis.com/auth/user.addresses.read - View your street addresses
https://www.googleapis.com/auth/user.birthday.read - See and download your exact date of birth
https://www.googleapis.com/auth/user.emails.read - See and download all of your Google Account email addresses
https://www.googleapis.com/auth/user.gender.read - See your gender
https://www.googleapis.com/auth/user.organization.read - See your education, work history and org info
https://www.googleapis.com/auth/user.phonenumbers.read - See and download your personal phone numbers
https://www.googleapis.com/auth/userinfo.email - See your primary Google Account email address
https://www.googleapis.com/auth/userinfo.email - View your email address
https://www.googleapis.com/auth/userinfo.profile - See your personal info, including any personal info you've made publicly available
https://www.googleapis.com/auth/verifiedaccess - Verify your enterprise credentials
https://www.googleapis.com/auth/webmasters - View and manage Search Console data for your verified sites
https://www.googleapis.com/auth/webmasters.readonly - View Search Console data for your verified sites
https://www.googleapis.com/auth/youtube - Manage your YouTube account
https://www.googleapis.com/auth/youtube.channel-memberships.creator - See a list of your current active channel members, their current level, and when they became a member
https://www.googleapis.com/auth/youtube.force-ssl - See, edit, and permanently delete your YouTube videos, ratings, comments and captions
https://www.googleapis.com/auth/youtube.readonly - View your YouTube account
https://www.googleapis.com/auth/youtube.upload - Manage your YouTube videos
https://www.googleapis.com/auth/youtubepartner - View and manage your assets and associated content on YouTube
https://www.googleapis.com/auth/youtubepartner-channel-audit - View private information of your YouTube channel relevant during the audit process with a YouTube partner
https://www.googleapis.com/auth/yt-analytics-monetary.readonly - View monetary and non-monetary YouTube Analytics reports for your YouTube content
https://www.googleapis.com/auth/yt-analytics.readonly - View YouTube Analytics reports for your YouTube content
openid - Associate you with your personal info on Google
(Although https://cloudsupport.googleapis.com/$discovery/rest?version=v2beta returned 404 so far.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tried to run this script on my environment.