class DataPortability extends Service (View source)

Service definition for DataPortability (v1).

The Data Portability API lets you build applications that request authorization from a user to move a copy of data from Google services into your application. This enables data portability and facilitates switching services.

For more information about this service, see the API Documentation

Constants

DATAPORTABILITY_BUSINESSMESSAGING_CONVERSATIONS

Move a copy of messages between you and the businesses you have conversations with across Google services.

.

DATAPORTABILITY_CHROME_AUTOFILL

Move a copy of the information you entered into online forms in Chrome.

.

DATAPORTABILITY_CHROME_BOOKMARKS

Move a copy of pages you bookmarked in Chrome.

.

DATAPORTABILITY_CHROME_DICTIONARY

Move a copy of words you added to Chrome's dictionary.

.

DATAPORTABILITY_CHROME_EXTENSIONS

Move a copy of extensions you installed from the Chrome Web Store.

.

DATAPORTABILITY_CHROME_HISTORY

Move a copy of sites you visited in Chrome.

.

DATAPORTABILITY_CHROME_READING_LIST

Move a copy of pages you added to your reading list in Chrome.

.

DATAPORTABILITY_CHROME_SETTINGS

Move a copy of your settings in Chrome.

.

DATAPORTABILITY_DISCOVER_FOLLOWS

Move a copy of searches and sites you follow, saved by Discover.

.

DATAPORTABILITY_DISCOVER_LIKES

Move a copy of links to your liked documents, saved by Discover.

.

DATAPORTABILITY_DISCOVER_NOT_INTERESTED

Move a copy of content you marked as not interested, saved by Discover.

.

DATAPORTABILITY_MAPS_ALIASED_PLACES

Move a copy of the places you labeled on Maps.

.

DATAPORTABILITY_MAPS_COMMUTE_ROUTES

Move a copy of your pinned trips on Maps.

.

DATAPORTABILITY_MAPS_COMMUTE_SETTINGS

Move a copy of your commute settings on Maps.

.

DATAPORTABILITY_MAPS_EV_PROFILE

Move a copy of your electric vehicle profile on Maps.

.

DATAPORTABILITY_MAPS_FACTUAL_CONTRIBUTIONS

Move a copy of the corrections you made to places or map information on Maps.

.

DATAPORTABILITY_MAPS_OFFERING_CONTRIBUTIONS

Move a copy of your updates to places on Maps.

.

DATAPORTABILITY_MAPS_PHOTOS_VIDEOS

Move a copy of the photos and videos you posted on Maps.

.

DATAPORTABILITY_MAPS_QUESTIONS_ANSWERS

Move a copy of the questions and answers you posted on Maps.

.

DATAPORTABILITY_MAPS_REVIEWS

Move a copy of your reviews and posts on Maps.

.

DATAPORTABILITY_MAPS_STARRED_PLACES

Move a copy of your Starred places list on Maps.

.

DATAPORTABILITY_MYACTIVITY_MAPS

Move a copy of your Maps activity.

.

DATAPORTABILITY_MYACTIVITY_MYADCENTER

Move a copy of your My Ad Center activity.

.

DATAPORTABILITY_MYACTIVITY_PLAY

Move a copy of your Google Play activity.

.

DATAPORTABILITY_MYACTIVITY_SEARCH

Move a copy of your Google Search activity.

.

DATAPORTABILITY_MYACTIVITY_SHOPPING

Move a copy of your Shopping activity.

.

DATAPORTABILITY_MYACTIVITY_YOUTUBE

Move a copy of your YouTube activity.

.

DATAPORTABILITY_MYMAPS_MAPS

Move a copy of the maps you created in My Maps.

.

DATAPORTABILITY_ORDER_RESERVE_PURCHASES_RESERVATIONS

Move a copy of your food purchase and reservation activity.

.

DATAPORTABILITY_PLAY_DEVICES

Move a copy of information about your devices with Google Play Store installed.

.

DATAPORTABILITY_PLAY_GROUPING

Move a copy of your Google Play Store Grouping tags created by app developers.

.

DATAPORTABILITY_PLAY_INSTALLS

Move a copy of your Google Play Store app installations.

.

DATAPORTABILITY_PLAY_LIBRARY

Move a copy of your Google Play Store downloads, including books, games, and apps.

.

DATAPORTABILITY_PLAY_PLAYPOINTS

Move a copy of information about your Google Play Store Points.

.

DATAPORTABILITY_PLAY_PROMOTIONS

Move a copy of information about your Google Play Store promotions.

.

DATAPORTABILITY_PLAY_PURCHASES

Move a copy of your Google Play Store purchases.

.

DATAPORTABILITY_PLAY_REDEMPTIONS

Move a copy of your Google Play Store redemption activities.

.

DATAPORTABILITY_PLAY_SUBSCRIPTIONS

Move a copy of your Google Play Store subscriptions.

.

DATAPORTABILITY_PLAY_USERSETTINGS

Move a copy of your Google Play Store user settings and preferences.

.

DATAPORTABILITY_SAVED_COLLECTIONS

Move a copy of your saved links, images, places, and collections from your use of Google services.

.

DATAPORTABILITY_SEARCH_UGC_MEDIA_REVIEWS_AND_STARS

Move a copy of your media reviews on Google Search.

.

DATAPORTABILITY_SEARCH_UGC_MEDIA_STREAMING_VIDEO_PROVIDERS

Move a copy of your self-reported video streaming provider preferences from Google Search and Google TV.

.

DATAPORTABILITY_SEARCH_UGC_MEDIA_THUMBS

Move a copy of your indicated thumbs up and thumbs down on media in Google Search and Google TV.

.

DATAPORTABILITY_SEARCH_UGC_MEDIA_WATCHED

Move a copy of information about the movies and TV shows you marked as watched on Google Search and Google TV.

.

DATAPORTABILITY_SEARCHNOTIFICATIONS_SETTINGS

Move a copy of your notification settings on the Google Search app.

.

DATAPORTABILITY_SEARCHNOTIFICATIONS_SUBSCRIPTIONS

Move a copy of your notification subscriptions on Google Search app.

.

DATAPORTABILITY_SHOPPING_ADDRESSES

Move a copy of your shipping information on Shopping.

.

DATAPORTABILITY_SHOPPING_REVIEWS

Move a copy of reviews you wrote about products or online stores on Google Search.

.

DATAPORTABILITY_STREETVIEW_IMAGERY

Move a copy of the images and videos you uploaded to Street View.

.

DATAPORTABILITY_YOUTUBE_CHANNEL

Move a copy of information about your YouTube channel.

.

DATAPORTABILITY_YOUTUBE_COMMENTS

Move a copy of your YouTube comments.

.

DATAPORTABILITY_YOUTUBE_LIVE_CHAT

Move a copy of your YouTube messages in live chat.

.

DATAPORTABILITY_YOUTUBE_MUSIC

Move a copy of your uploaded YouTube music tracks and your YouTube music library.

.

DATAPORTABILITY_YOUTUBE_PLAYABLE

Move a copy of your YouTube playables saved game progress files.

.

DATAPORTABILITY_YOUTUBE_POSTS

Move a copy of your YouTube posts.

.

DATAPORTABILITY_YOUTUBE_PRIVATE_PLAYLISTS

Move a copy of your YouTube private playlists.

.

DATAPORTABILITY_YOUTUBE_PRIVATE_VIDEOS

Move a copy of your private YouTube videos and information about them.

.

DATAPORTABILITY_YOUTUBE_PUBLIC_PLAYLISTS

Move a copy of your public YouTube playlists.

.

DATAPORTABILITY_YOUTUBE_PUBLIC_VIDEOS

Move a copy of your public YouTube videos and information about them.

.

DATAPORTABILITY_YOUTUBE_SHOPPING

Move a copy of your YouTube shopping wishlists, and wishlist items.

.

DATAPORTABILITY_YOUTUBE_SUBSCRIPTIONS

Move a copy of your YouTube channel subscriptions, even if they're private.

.

DATAPORTABILITY_YOUTUBE_UNLISTED_PLAYLISTS

Move a copy of your unlisted YouTube playlists.

.

DATAPORTABILITY_YOUTUBE_UNLISTED_VIDEOS

Move a copy of your unlisted YouTube videos and information about them.

.

Properties

$archiveJobs
$authorization
$portabilityArchive
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the DataPortability service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the DataPortability service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.