Auth0 · Schema

ConnectionOptionsGoogleOAuth2

Options for the 'google-oauth2' connection

Auth0AI AgentsAuthenticationAuthorizationFGAIdentity and Access ManagementMCPOAuthOktaOpenID ConnectSAMLSecuritySCIMIdentity Federation

Properties

Name Type Description
allowed_audiences object
client_id object
client_secret object
freeform_scopes object
icon_url object
scope object
set_user_root_attributes object
upstream_params object
adsense_management boolean View and manage user's ad applications, ad units, and channels in AdSense
analytics boolean View user's configuration information and reports
blogger boolean View and manage user's posts and blogs on Blogger and Blogger comments
calendar boolean See, edit, share, and permanently delete all the calendars you can access using Google Calendar
calendar_addons_execute boolean Run as a Calendar add-on
calendar_events boolean View and edit events on all your calendars
calendar_events_readonly boolean View events on all your calendars
calendar_settings_readonly boolean View your Calendar settings
chrome_web_store boolean Read access to user's chrome web store
contacts boolean Full access to the authenticated user's contacts
contacts_new boolean Full access to the authenticated user's contacts
contacts_other_readonly boolean Read-only access to the authenticated user's 'Other contacts'
contacts_readonly boolean Read-only access to the authenticated user's contacts
content_api_for_shopping boolean View and manage user's products, feeds, and subaccounts
coordinate boolean Grants read and write access to the Coordinate API
coordinate_readonly boolean Grants read access to the Coordinate API
directory_readonly boolean Read-only access to the authenticated user's corporate directory (if applicable)
document_list boolean Access to Google Docs document list feed
drive boolean Full access to all files and folders in the user's Google Drive
drive_activity boolean View and add to the activity record of files in your Drive
drive_activity_readonly boolean View the activity record of files in your Drive
drive_appdata boolean Access to the application's configuration data in the user's Google Drive
drive_apps_readonly boolean View apps authorized to access your Drive
drive_file boolean Access to files created or opened by the app
drive_metadata boolean Access to file metadata, including listing files and folders
drive_metadata_readonly boolean Read-only access to file metadata
drive_photos_readonly boolean Read-only access to the user's Google Photos
drive_readonly boolean Read-only access to all files and folders in the user's Google Drive
drive_scripts boolean Modify the behavior of Google Apps Scripts
email boolean Email and verified email flag
gmail boolean Full access to the account's mailboxes, including permanent deletion of threads and messages
gmail_compose boolean Read all resources and their metadata—no write operations
gmail_insert boolean Insert and import messages only
gmail_labels boolean Create, read, update, and delete labels only
gmail_metadata boolean Read resources metadata including labels, history records, and email message headers, but not the message body or attachments
gmail_modify boolean All read/write operations except immediate, permanent deletion of threads and messages, bypassing Trash
gmail_new boolean Full access to the account's mailboxes, including permanent deletion of threads and messages
gmail_readonly boolean Read all resources and their metadata—no write operations
gmail_send boolean Send messages only. No read or modify privileges on mailbox
gmail_settings_basic boolean Manage basic mail settings
gmail_settings_sharing boolean Manage sensitive mail settings, including forwarding rules and aliases. Note: Operations guarded by this scope are restricted to administrative use only
google_affiliate_network boolean View and manage user's publisher data in the Google Affiliate Network
google_books boolean View and manage user's books and library in Google Books
google_cloud_storage boolean View and manage user's data stored in Google Cloud Storage
google_drive boolean Full access to all files and folders in the user's Google Drive
google_drive_files boolean Access to files created or opened by the app
google_plus boolean Associate user with its public Google profile
latitude_best boolean View and manage user's best-available current location and location history in Google Latitude
latitude_city boolean View and manage user's city-level current location and location history in Google Latitude
moderator boolean View and manage user's votes, topics, and submissions
offline_access boolean Request a refresh token when the user authorizes your application
orkut boolean View and manage user's friends, applications and profile and status
picasa_web boolean View and manage user's Google photos, videos, photo and video tags and comments
profile boolean Name, public profile URL, photo, country, language, and timezone
sites boolean View and manage user's sites on Google Sites
tasks boolean Full access to create, edit, organize, and delete all your tasks
tasks_readonly boolean Read-only access to view your tasks and task lists
url_shortener boolean View, manage and view statistics user's short URLs
webmaster_tools boolean View and manage user's sites and messages, view keywords
youtube boolean Manage your YouTube account
youtube_channelmemberships_creator boolean See a list of your current active channel members, their current level, and when they became a member
youtube_new boolean Manage your YouTube account
youtube_readonly boolean View your YouTube account
youtube_upload boolean Manage your YouTube videos
youtubepartner boolean View and manage your assets and associated content on YouTube
View JSON Schema on GitHub

JSON Schema

auth0-connectionoptionsgoogleoauth2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ConnectionOptionsGoogleOAuth2",
  "title": "ConnectionOptionsGoogleOAuth2",
  "description": "Options for the 'google-oauth2' connection",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/ConnectionOptionsCommon"
    },
    {
      "type": "object",
      "properties": {
        "allowed_audiences": {
          "$ref": "#/components/schemas/ConnectionAllowedAudiencesGoogleOAuth2"
        },
        "client_id": {
          "$ref": "#/components/schemas/ConnectionClientIdGoogleOAuth2"
        },
        "client_secret": {
          "$ref": "#/components/schemas/ConnectionClientSecretGoogleOAuth2"
        },
        "freeform_scopes": {
          "$ref": "#/components/schemas/ConnectionFreeformScopesGoogleOAuth2"
        },
        "icon_url": {
          "$ref": "#/components/schemas/ConnectionIconUrlGoogleOAuth2"
        },
        "scope": {
          "$ref": "#/components/schemas/ConnectionScopeGoogleOAuth2"
        },
        "set_user_root_attributes": {
          "$ref": "#/components/schemas/ConnectionSetUserRootAttributesEnum"
        },
        "upstream_params": {
          "$ref": "#/components/schemas/ConnectionUpstreamParams"
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "adsense_management": {
          "type": "boolean",
          "description": "View and manage user's ad applications, ad units, and channels in AdSense"
        },
        "analytics": {
          "type": "boolean",
          "description": "View user's configuration information and reports"
        },
        "blogger": {
          "type": "boolean",
          "description": "View and manage user's posts and blogs on Blogger and Blogger comments"
        },
        "calendar": {
          "type": "boolean",
          "description": "See, edit, share, and permanently delete all the calendars you can access using Google Calendar"
        },
        "calendar_addons_execute": {
          "type": "boolean",
          "description": "Run as a Calendar add-on"
        },
        "calendar_events": {
          "type": "boolean",
          "description": "View and edit events on all your calendars"
        },
        "calendar_events_readonly": {
          "type": "boolean",
          "description": "View events on all your calendars"
        },
        "calendar_settings_readonly": {
          "type": "boolean",
          "description": "View your Calendar settings"
        },
        "chrome_web_store": {
          "type": "boolean",
          "description": "Read access to user's chrome web store"
        },
        "contacts": {
          "type": "boolean",
          "description": "Full access to the authenticated user's contacts"
        },
        "contacts_new": {
          "type": "boolean",
          "description": "Full access to the authenticated user's contacts"
        },
        "contacts_other_readonly": {
          "type": "boolean",
          "description": "Read-only access to the authenticated user's 'Other contacts'"
        },
        "contacts_readonly": {
          "type": "boolean",
          "description": "Read-only access to the authenticated user's contacts"
        },
        "content_api_for_shopping": {
          "type": "boolean",
          "description": "View and manage user's products, feeds, and subaccounts"
        },
        "coordinate": {
          "type": "boolean",
          "description": "Grants read and write access to the Coordinate API"
        },
        "coordinate_readonly": {
          "type": "boolean",
          "description": "Grants read access to the Coordinate API"
        },
        "directory_readonly": {
          "type": "boolean",
          "description": "Read-only access to the authenticated user's corporate directory (if applicable)"
        },
        "document_list": {
          "type": "boolean",
          "description": "Access to Google Docs document list feed"
        },
        "drive": {
          "type": "boolean",
          "description": "Full access to all files and folders in the user's Google Drive"
        },
        "drive_activity": {
          "type": "boolean",
          "description": "View and add to the activity record of files in your Drive"
        },
        "drive_activity_readonly": {
          "type": "boolean",
          "description": "View the activity record of files in your Drive"
        },
        "drive_appdata": {
          "type": "boolean",
          "description": "Access to the application's configuration data in the user's Google Drive"
        },
        "drive_apps_readonly": {
          "type": "boolean",
          "description": "View apps authorized to access your Drive"
        },
        "drive_file": {
          "type": "boolean",
          "description": "Access to files created or opened by the app"
        },
        "drive_metadata": {
          "type": "boolean",
          "description": "Access to file metadata, including listing files and folders"
        },
        "drive_metadata_readonly": {
          "type": "boolean",
          "description": "Read-only access to file metadata"
        },
        "drive_photos_readonly": {
          "type": "boolean",
          "description": "Read-only access to the user's Google Photos"
        },
        "drive_readonly": {
          "type": "boolean",
          "description": "Read-only access to all files and folders in the user's Google Drive"
        },
        "drive_scripts": {
          "type": "boolean",
          "description": "Modify the behavior of Google Apps Scripts"
        },
        "email": {
          "type": "boolean",
          "description": "Email and verified email flag"
        },
        "gmail": {
          "type": "boolean",
          "description": "Full access to the account's mailboxes, including permanent deletion of threads and messages"
        },
        "gmail_compose": {
          "type": "boolean",
          "description": "Read all resources and their metadata\u2014no write operations"
        },
        "gmail_insert": {
          "type": "boolean",
          "description": "Insert and import messages only"
        },
        "gmail_labels": {
          "type": "boolean",
          "description": "Create, read, update, and delete labels only"
        },
        "gmail_metadata": {
          "type": "boolean",
          "description": "Read resources metadata including labels, history records, and email message headers, but not the message body or attachments"
        },
        "gmail_modify": {
          "type": "boolean",
          "description": "All read/write operations except immediate, permanent deletion of threads and messages, bypassing Trash"
        },
        "gmail_new": {
          "type": "boolean",
          "description": "Full access to the account's mailboxes, including permanent deletion of threads and messages"
        },
        "gmail_readonly": {
          "type": "boolean",
          "description": "Read all resources and their metadata\u2014no write operations"
        },
        "gmail_send": {
          "type": "boolean",
          "description": "Send messages only. No read or modify privileges on mailbox"
        },
        "gmail_settings_basic": {
          "type": "boolean",
          "description": "Manage basic mail settings"
        },
        "gmail_settings_sharing": {
          "type": "boolean",
          "description": "Manage sensitive mail settings, including forwarding rules and aliases. Note: Operations guarded by this scope are restricted to administrative use only"
        },
        "google_affiliate_network": {
          "type": "boolean",
          "description": "View and manage user's publisher data in the Google Affiliate Network"
        },
        "google_books": {
          "type": "boolean",
          "description": "View and manage user's books and library in Google Books"
        },
        "google_cloud_storage": {
          "type": "boolean",
          "description": "View and manage user's data stored in Google Cloud Storage"
        },
        "google_drive": {
          "type": "boolean",
          "description": "Full access to all files and folders in the user's Google Drive"
        },
        "google_drive_files": {
          "type": "boolean",
          "description": "Access to files created or opened by the app"
        },
        "google_plus": {
          "type": "boolean",
          "description": "Associate user with its public Google profile"
        },
        "latitude_best": {
          "type": "boolean",
          "description": "View and manage user's best-available current location and location history in Google Latitude"
        },
        "latitude_city": {
          "type": "boolean",
          "description": "View and manage user's city-level current location and location history in Google Latitude"
        },
        "moderator": {
          "type": "boolean",
          "description": "View and manage user's votes, topics, and submissions"
        },
        "offline_access": {
          "type": "boolean",
          "description": "Request a refresh token when the user authorizes your application"
        },
        "orkut": {
          "type": "boolean",
          "description": "View and manage user's friends, applications and profile and status"
        },
        "picasa_web": {
          "type": "boolean",
          "description": "View and manage user's Google photos, videos, photo and video tags and comments"
        },
        "profile": {
          "type": "boolean",
          "description": "Name, public profile URL, photo, country, language, and timezone"
        },
        "sites": {
          "type": "boolean",
          "description": "View and manage user's sites on Google Sites"
        },
        "tasks": {
          "type": "boolean",
          "description": "Full access to create, edit, organize, and delete all your tasks"
        },
        "tasks_readonly": {
          "type": "boolean",
          "description": "Read-only access to view your tasks and task lists"
        },
        "url_shortener": {
          "type": "boolean",
          "description": "View, manage and view statistics user's short URLs"
        },
        "webmaster_tools": {
          "type": "boolean",
          "description": "View and manage user's sites and messages, view keywords"
        },
        "youtube": {
          "type": "boolean",
          "description": "Manage your YouTube account"
        },
        "youtube_channelmemberships_creator": {
          "type": "boolean",
          "description": "See a list of your current active channel members, their current level, and when they became a member"
        },
        "youtube_new": {
          "type": "boolean",
          "description": "Manage your YouTube account"
        },
        "youtube_readonly": {
          "type": "boolean",
          "description": "View your YouTube account"
        },
        "youtube_upload": {
          "type": "boolean",
          "description": "Manage your YouTube videos"
        },
        "youtubepartner": {
          "type": "boolean",
          "description": "View and manage your assets and associated content on YouTube"
        }
      }
    }
  ],
  "additionalProperties": true
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/auth0-connectionoptionsgoogleoauth2"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.