...

Text file src/google.golang.org/api/dataportability/v1beta/dataportability-api.json

Documentation: google.golang.org/api/dataportability/v1beta

     1{
     2  "auth": {
     3    "oauth2": {
     4      "scopes": {
     5        "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations": {
     6          "description": "Move a copy of messages between you and the businesses you have conversations with across Google services."
     7        },
     8        "https://www.googleapis.com/auth/dataportability.chrome.autofill": {
     9          "description": "Move a copy of the information you entered into online forms in Chrome."
    10        },
    11        "https://www.googleapis.com/auth/dataportability.chrome.bookmarks": {
    12          "description": "Move a copy of pages you bookmarked in Chrome."
    13        },
    14        "https://www.googleapis.com/auth/dataportability.chrome.dictionary": {
    15          "description": "Move a copy of words you added to Chrome's dictionary."
    16        },
    17        "https://www.googleapis.com/auth/dataportability.chrome.extensions": {
    18          "description": "Move a copy of extensions you installed from the Chrome Web Store."
    19        },
    20        "https://www.googleapis.com/auth/dataportability.chrome.history": {
    21          "description": "Move a copy of sites you visited in Chrome."
    22        },
    23        "https://www.googleapis.com/auth/dataportability.chrome.reading_list": {
    24          "description": "Move a copy of pages you added to your reading list in Chrome."
    25        },
    26        "https://www.googleapis.com/auth/dataportability.chrome.settings": {
    27          "description": "Move a copy of your settings in Chrome."
    28        },
    29        "https://www.googleapis.com/auth/dataportability.discover.follows": {
    30          "description": "Move a copy of searches and sites you follow, saved by Discover."
    31        },
    32        "https://www.googleapis.com/auth/dataportability.discover.likes": {
    33          "description": "Move a copy of links to your liked documents, saved by Discover."
    34        },
    35        "https://www.googleapis.com/auth/dataportability.discover.not_interested": {
    36          "description": "Move a copy of content you marked as not interested, saved by Discover."
    37        },
    38        "https://www.googleapis.com/auth/dataportability.maps.aliased_places": {
    39          "description": "Move a copy of the places you labeled on Maps."
    40        },
    41        "https://www.googleapis.com/auth/dataportability.maps.commute_routes": {
    42          "description": "Move a copy of your pinned trips on Maps."
    43        },
    44        "https://www.googleapis.com/auth/dataportability.maps.commute_settings": {
    45          "description": "Move a copy of your commute settings on Maps."
    46        },
    47        "https://www.googleapis.com/auth/dataportability.maps.ev_profile": {
    48          "description": "Move a copy of your electric vehicle profile on Maps."
    49        },
    50        "https://www.googleapis.com/auth/dataportability.maps.factual_contributions": {
    51          "description": "Move a copy of the corrections you made to places or map information on Maps."
    52        },
    53        "https://www.googleapis.com/auth/dataportability.maps.offering_contributions": {
    54          "description": "Move a copy of your updates to places on Maps."
    55        },
    56        "https://www.googleapis.com/auth/dataportability.maps.photos_videos": {
    57          "description": "Move a copy of the photos and videos you posted on Maps."
    58        },
    59        "https://www.googleapis.com/auth/dataportability.maps.questions_answers": {
    60          "description": "Move a copy of the questions and answers you posted on Maps."
    61        },
    62        "https://www.googleapis.com/auth/dataportability.maps.reviews": {
    63          "description": "Move a copy of your reviews and posts on Maps."
    64        },
    65        "https://www.googleapis.com/auth/dataportability.maps.starred_places": {
    66          "description": "Move a copy of your Starred places list on Maps."
    67        },
    68        "https://www.googleapis.com/auth/dataportability.myactivity.maps": {
    69          "description": "Move a copy of your Maps activity."
    70        },
    71        "https://www.googleapis.com/auth/dataportability.myactivity.myadcenter": {
    72          "description": "Move a copy of your My Ad Center activity."
    73        },
    74        "https://www.googleapis.com/auth/dataportability.myactivity.play": {
    75          "description": "Move a copy of your Google Play activity."
    76        },
    77        "https://www.googleapis.com/auth/dataportability.myactivity.search": {
    78          "description": "Move a copy of your Google Search activity."
    79        },
    80        "https://www.googleapis.com/auth/dataportability.myactivity.shopping": {
    81          "description": "Move a copy of your Shopping activity."
    82        },
    83        "https://www.googleapis.com/auth/dataportability.myactivity.youtube": {
    84          "description": "Move a copy of your YouTube activity."
    85        },
    86        "https://www.googleapis.com/auth/dataportability.mymaps.maps": {
    87          "description": "Move a copy of the maps you created in My Maps."
    88        },
    89        "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations": {
    90          "description": "Move a copy of your food purchase and reservation activity."
    91        },
    92        "https://www.googleapis.com/auth/dataportability.play.devices": {
    93          "description": "Move a copy of information about your devices with Google Play Store installed."
    94        },
    95        "https://www.googleapis.com/auth/dataportability.play.grouping": {
    96          "description": "Move a copy of your Google Play Store Grouping tags created by app developers."
    97        },
    98        "https://www.googleapis.com/auth/dataportability.play.installs": {
    99          "description": "Move a copy of your Google Play Store app installations."
   100        },
   101        "https://www.googleapis.com/auth/dataportability.play.library": {
   102          "description": "Move a copy of your Google Play Store downloads, including books, games, and apps."
   103        },
   104        "https://www.googleapis.com/auth/dataportability.play.playpoints": {
   105          "description": "Move a copy of information about your Google Play Store Points."
   106        },
   107        "https://www.googleapis.com/auth/dataportability.play.promotions": {
   108          "description": "Move a copy of information about your Google Play Store promotions."
   109        },
   110        "https://www.googleapis.com/auth/dataportability.play.purchases": {
   111          "description": "Move a copy of your Google Play Store purchases."
   112        },
   113        "https://www.googleapis.com/auth/dataportability.play.redemptions": {
   114          "description": "Move a copy of your Google Play Store redemption activities."
   115        },
   116        "https://www.googleapis.com/auth/dataportability.play.subscriptions": {
   117          "description": "Move a copy of your Google Play Store subscriptions."
   118        },
   119        "https://www.googleapis.com/auth/dataportability.play.usersettings": {
   120          "description": "Move a copy of your Google Play Store user settings and preferences."
   121        },
   122        "https://www.googleapis.com/auth/dataportability.saved.collections": {
   123          "description": "Move a copy of your saved links, images, places, and collections from your use of Google services."
   124        },
   125        "https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars": {
   126          "description": "Move a copy of your media reviews on Google Search."
   127        },
   128        "https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers": {
   129          "description": "Move a copy of your self-reported video streaming provider preferences from Google Search and Google TV."
   130        },
   131        "https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs": {
   132          "description": "Move a copy of your indicated thumbs up and thumbs down on media in Google Search and Google TV."
   133        },
   134        "https://www.googleapis.com/auth/dataportability.search_ugc.media.watched": {
   135          "description": "Move a copy of information about the movies and TV shows you marked as watched on Google Search and Google TV."
   136        },
   137        "https://www.googleapis.com/auth/dataportability.searchnotifications.settings": {
   138          "description": "Move a copy of your notification settings on the Google Search app."
   139        },
   140        "https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions": {
   141          "description": "Move a copy of your notification subscriptions on Google Search app."
   142        },
   143        "https://www.googleapis.com/auth/dataportability.shopping.addresses": {
   144          "description": "Move a copy of your shipping information on Shopping."
   145        },
   146        "https://www.googleapis.com/auth/dataportability.shopping.reviews": {
   147          "description": "Move a copy of reviews you wrote about products or online stores on Google Search."
   148        },
   149        "https://www.googleapis.com/auth/dataportability.streetview.imagery": {
   150          "description": "Move a copy of the images and videos you uploaded to Street View."
   151        },
   152        "https://www.googleapis.com/auth/dataportability.youtube.channel": {
   153          "description": "Move a copy of information about your YouTube channel."
   154        },
   155        "https://www.googleapis.com/auth/dataportability.youtube.comments": {
   156          "description": "Move a copy of your YouTube comments."
   157        },
   158        "https://www.googleapis.com/auth/dataportability.youtube.live_chat": {
   159          "description": "Move a copy of your YouTube messages in live chat."
   160        },
   161        "https://www.googleapis.com/auth/dataportability.youtube.music": {
   162          "description": "Move a copy of your uploaded YouTube music tracks and your YouTube music library."
   163        },
   164        "https://www.googleapis.com/auth/dataportability.youtube.playable": {
   165          "description": "Move a copy of your YouTube playables saved game progress files."
   166        },
   167        "https://www.googleapis.com/auth/dataportability.youtube.posts": {
   168          "description": "Move a copy of your YouTube posts."
   169        },
   170        "https://www.googleapis.com/auth/dataportability.youtube.private_playlists": {
   171          "description": "Move a copy of your YouTube private playlists."
   172        },
   173        "https://www.googleapis.com/auth/dataportability.youtube.private_videos": {
   174          "description": "Move a copy of your private YouTube videos and information about them."
   175        },
   176        "https://www.googleapis.com/auth/dataportability.youtube.public_playlists": {
   177          "description": "Move a copy of your public YouTube playlists."
   178        },
   179        "https://www.googleapis.com/auth/dataportability.youtube.public_videos": {
   180          "description": "Move a copy of your public YouTube videos and information about them."
   181        },
   182        "https://www.googleapis.com/auth/dataportability.youtube.shopping": {
   183          "description": "Move a copy of your YouTube shopping wishlists, and wishlist items."
   184        },
   185        "https://www.googleapis.com/auth/dataportability.youtube.subscriptions": {
   186          "description": "Move a copy of your YouTube channel subscriptions, even if they're private."
   187        },
   188        "https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists": {
   189          "description": "Move a copy of your unlisted YouTube playlists."
   190        },
   191        "https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos": {
   192          "description": "Move a copy of your unlisted YouTube videos and information about them."
   193        }
   194      }
   195    }
   196  },
   197  "basePath": "",
   198  "baseUrl": "https://dataportability.googleapis.com/",
   199  "batchPath": "batch",
   200  "canonicalName": "Data Portability",
   201  "description": "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.",
   202  "discoveryVersion": "v1",
   203  "documentationLink": "https://developers.google.com/data-portability",
   204  "fullyEncodeReservedExpansion": true,
   205  "icons": {
   206    "x16": "http://www.google.com/images/icons/product/search-16.gif",
   207    "x32": "http://www.google.com/images/icons/product/search-32.gif"
   208  },
   209  "id": "dataportability:v1beta",
   210  "kind": "discovery#restDescription",
   211  "mtlsRootUrl": "https://dataportability.mtls.googleapis.com/",
   212  "name": "dataportability",
   213  "ownerDomain": "google.com",
   214  "ownerName": "Google",
   215  "parameters": {
   216    "$.xgafv": {
   217      "description": "V1 error format.",
   218      "enum": [
   219        "1",
   220        "2"
   221      ],
   222      "enumDescriptions": [
   223        "v1 error format",
   224        "v2 error format"
   225      ],
   226      "location": "query",
   227      "type": "string"
   228    },
   229    "access_token": {
   230      "description": "OAuth access token.",
   231      "location": "query",
   232      "type": "string"
   233    },
   234    "alt": {
   235      "default": "json",
   236      "description": "Data format for response.",
   237      "enum": [
   238        "json",
   239        "media",
   240        "proto"
   241      ],
   242      "enumDescriptions": [
   243        "Responses with Content-Type of application/json",
   244        "Media download with context-dependent Content-Type",
   245        "Responses with Content-Type of application/x-protobuf"
   246      ],
   247      "location": "query",
   248      "type": "string"
   249    },
   250    "callback": {
   251      "description": "JSONP",
   252      "location": "query",
   253      "type": "string"
   254    },
   255    "fields": {
   256      "description": "Selector specifying which fields to include in a partial response.",
   257      "location": "query",
   258      "type": "string"
   259    },
   260    "key": {
   261      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
   262      "location": "query",
   263      "type": "string"
   264    },
   265    "oauth_token": {
   266      "description": "OAuth 2.0 token for the current user.",
   267      "location": "query",
   268      "type": "string"
   269    },
   270    "prettyPrint": {
   271      "default": "true",
   272      "description": "Returns response with indentations and line breaks.",
   273      "location": "query",
   274      "type": "boolean"
   275    },
   276    "quotaUser": {
   277      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
   278      "location": "query",
   279      "type": "string"
   280    },
   281    "uploadType": {
   282      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
   283      "location": "query",
   284      "type": "string"
   285    },
   286    "upload_protocol": {
   287      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
   288      "location": "query",
   289      "type": "string"
   290    }
   291  },
   292  "protocol": "rest",
   293  "resources": {
   294    "archiveJobs": {
   295      "methods": {
   296        "getPortabilityArchiveState": {
   297          "description": "Retrieves the state of an Archive job for the Portability API.",
   298          "flatPath": "v1beta/archiveJobs/{archiveJobsId}/portabilityArchiveState",
   299          "httpMethod": "GET",
   300          "id": "dataportability.archiveJobs.getPortabilityArchiveState",
   301          "parameterOrder": [
   302            "name"
   303          ],
   304          "parameters": {
   305            "name": {
   306              "description": "Required. The archive job ID that is returned when you request the state of the job. The format is: archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job ID returned by the InitiatePortabilityArchiveResponse.",
   307              "location": "path",
   308              "pattern": "^archiveJobs/[^/]+/portabilityArchiveState$",
   309              "required": true,
   310              "type": "string"
   311            }
   312          },
   313          "path": "v1beta/{+name}",
   314          "response": {
   315            "$ref": "PortabilityArchiveState"
   316          },
   317          "scopes": [
   318            "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations",
   319            "https://www.googleapis.com/auth/dataportability.chrome.autofill",
   320            "https://www.googleapis.com/auth/dataportability.chrome.bookmarks",
   321            "https://www.googleapis.com/auth/dataportability.chrome.dictionary",
   322            "https://www.googleapis.com/auth/dataportability.chrome.extensions",
   323            "https://www.googleapis.com/auth/dataportability.chrome.history",
   324            "https://www.googleapis.com/auth/dataportability.chrome.reading_list",
   325            "https://www.googleapis.com/auth/dataportability.chrome.settings",
   326            "https://www.googleapis.com/auth/dataportability.discover.follows",
   327            "https://www.googleapis.com/auth/dataportability.discover.likes",
   328            "https://www.googleapis.com/auth/dataportability.discover.not_interested",
   329            "https://www.googleapis.com/auth/dataportability.maps.aliased_places",
   330            "https://www.googleapis.com/auth/dataportability.maps.commute_routes",
   331            "https://www.googleapis.com/auth/dataportability.maps.commute_settings",
   332            "https://www.googleapis.com/auth/dataportability.maps.ev_profile",
   333            "https://www.googleapis.com/auth/dataportability.maps.factual_contributions",
   334            "https://www.googleapis.com/auth/dataportability.maps.offering_contributions",
   335            "https://www.googleapis.com/auth/dataportability.maps.photos_videos",
   336            "https://www.googleapis.com/auth/dataportability.maps.questions_answers",
   337            "https://www.googleapis.com/auth/dataportability.maps.reviews",
   338            "https://www.googleapis.com/auth/dataportability.maps.starred_places",
   339            "https://www.googleapis.com/auth/dataportability.myactivity.maps",
   340            "https://www.googleapis.com/auth/dataportability.myactivity.myadcenter",
   341            "https://www.googleapis.com/auth/dataportability.myactivity.play",
   342            "https://www.googleapis.com/auth/dataportability.myactivity.search",
   343            "https://www.googleapis.com/auth/dataportability.myactivity.shopping",
   344            "https://www.googleapis.com/auth/dataportability.myactivity.youtube",
   345            "https://www.googleapis.com/auth/dataportability.mymaps.maps",
   346            "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations",
   347            "https://www.googleapis.com/auth/dataportability.play.devices",
   348            "https://www.googleapis.com/auth/dataportability.play.grouping",
   349            "https://www.googleapis.com/auth/dataportability.play.installs",
   350            "https://www.googleapis.com/auth/dataportability.play.library",
   351            "https://www.googleapis.com/auth/dataportability.play.playpoints",
   352            "https://www.googleapis.com/auth/dataportability.play.promotions",
   353            "https://www.googleapis.com/auth/dataportability.play.purchases",
   354            "https://www.googleapis.com/auth/dataportability.play.redemptions",
   355            "https://www.googleapis.com/auth/dataportability.play.subscriptions",
   356            "https://www.googleapis.com/auth/dataportability.play.usersettings",
   357            "https://www.googleapis.com/auth/dataportability.saved.collections",
   358            "https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars",
   359            "https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers",
   360            "https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs",
   361            "https://www.googleapis.com/auth/dataportability.search_ugc.media.watched",
   362            "https://www.googleapis.com/auth/dataportability.searchnotifications.settings",
   363            "https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions",
   364            "https://www.googleapis.com/auth/dataportability.shopping.addresses",
   365            "https://www.googleapis.com/auth/dataportability.shopping.reviews",
   366            "https://www.googleapis.com/auth/dataportability.streetview.imagery",
   367            "https://www.googleapis.com/auth/dataportability.youtube.channel",
   368            "https://www.googleapis.com/auth/dataportability.youtube.comments",
   369            "https://www.googleapis.com/auth/dataportability.youtube.live_chat",
   370            "https://www.googleapis.com/auth/dataportability.youtube.music",
   371            "https://www.googleapis.com/auth/dataportability.youtube.playable",
   372            "https://www.googleapis.com/auth/dataportability.youtube.posts",
   373            "https://www.googleapis.com/auth/dataportability.youtube.private_playlists",
   374            "https://www.googleapis.com/auth/dataportability.youtube.private_videos",
   375            "https://www.googleapis.com/auth/dataportability.youtube.public_playlists",
   376            "https://www.googleapis.com/auth/dataportability.youtube.public_videos",
   377            "https://www.googleapis.com/auth/dataportability.youtube.shopping",
   378            "https://www.googleapis.com/auth/dataportability.youtube.subscriptions",
   379            "https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists",
   380            "https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos"
   381          ]
   382        },
   383        "retry": {
   384          "description": "Retries a failed Portability Archive job.",
   385          "flatPath": "v1beta/archiveJobs/{archiveJobsId}:retry",
   386          "httpMethod": "POST",
   387          "id": "dataportability.archiveJobs.retry",
   388          "parameterOrder": [
   389            "name"
   390          ],
   391          "parameters": {
   392            "name": {
   393              "description": "Required. The Archive job ID you're retrying. This is returned by the InitiatePortabilityArchiveResponse. Retrying is only executed if the initial job failed.",
   394              "location": "path",
   395              "pattern": "^archiveJobs/[^/]+$",
   396              "required": true,
   397              "type": "string"
   398            }
   399          },
   400          "path": "v1beta/{+name}:retry",
   401          "request": {
   402            "$ref": "RetryPortabilityArchiveRequest"
   403          },
   404          "response": {
   405            "$ref": "RetryPortabilityArchiveResponse"
   406          },
   407          "scopes": [
   408            "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations",
   409            "https://www.googleapis.com/auth/dataportability.chrome.autofill",
   410            "https://www.googleapis.com/auth/dataportability.chrome.bookmarks",
   411            "https://www.googleapis.com/auth/dataportability.chrome.dictionary",
   412            "https://www.googleapis.com/auth/dataportability.chrome.extensions",
   413            "https://www.googleapis.com/auth/dataportability.chrome.history",
   414            "https://www.googleapis.com/auth/dataportability.chrome.reading_list",
   415            "https://www.googleapis.com/auth/dataportability.chrome.settings",
   416            "https://www.googleapis.com/auth/dataportability.discover.follows",
   417            "https://www.googleapis.com/auth/dataportability.discover.likes",
   418            "https://www.googleapis.com/auth/dataportability.discover.not_interested",
   419            "https://www.googleapis.com/auth/dataportability.maps.aliased_places",
   420            "https://www.googleapis.com/auth/dataportability.maps.commute_routes",
   421            "https://www.googleapis.com/auth/dataportability.maps.commute_settings",
   422            "https://www.googleapis.com/auth/dataportability.maps.ev_profile",
   423            "https://www.googleapis.com/auth/dataportability.maps.factual_contributions",
   424            "https://www.googleapis.com/auth/dataportability.maps.offering_contributions",
   425            "https://www.googleapis.com/auth/dataportability.maps.photos_videos",
   426            "https://www.googleapis.com/auth/dataportability.maps.questions_answers",
   427            "https://www.googleapis.com/auth/dataportability.maps.reviews",
   428            "https://www.googleapis.com/auth/dataportability.maps.starred_places",
   429            "https://www.googleapis.com/auth/dataportability.myactivity.maps",
   430            "https://www.googleapis.com/auth/dataportability.myactivity.myadcenter",
   431            "https://www.googleapis.com/auth/dataportability.myactivity.play",
   432            "https://www.googleapis.com/auth/dataportability.myactivity.search",
   433            "https://www.googleapis.com/auth/dataportability.myactivity.shopping",
   434            "https://www.googleapis.com/auth/dataportability.myactivity.youtube",
   435            "https://www.googleapis.com/auth/dataportability.mymaps.maps",
   436            "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations",
   437            "https://www.googleapis.com/auth/dataportability.play.devices",
   438            "https://www.googleapis.com/auth/dataportability.play.grouping",
   439            "https://www.googleapis.com/auth/dataportability.play.installs",
   440            "https://www.googleapis.com/auth/dataportability.play.library",
   441            "https://www.googleapis.com/auth/dataportability.play.playpoints",
   442            "https://www.googleapis.com/auth/dataportability.play.promotions",
   443            "https://www.googleapis.com/auth/dataportability.play.purchases",
   444            "https://www.googleapis.com/auth/dataportability.play.redemptions",
   445            "https://www.googleapis.com/auth/dataportability.play.subscriptions",
   446            "https://www.googleapis.com/auth/dataportability.play.usersettings",
   447            "https://www.googleapis.com/auth/dataportability.saved.collections",
   448            "https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars",
   449            "https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers",
   450            "https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs",
   451            "https://www.googleapis.com/auth/dataportability.search_ugc.media.watched",
   452            "https://www.googleapis.com/auth/dataportability.searchnotifications.settings",
   453            "https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions",
   454            "https://www.googleapis.com/auth/dataportability.shopping.addresses",
   455            "https://www.googleapis.com/auth/dataportability.shopping.reviews",
   456            "https://www.googleapis.com/auth/dataportability.streetview.imagery",
   457            "https://www.googleapis.com/auth/dataportability.youtube.channel",
   458            "https://www.googleapis.com/auth/dataportability.youtube.comments",
   459            "https://www.googleapis.com/auth/dataportability.youtube.live_chat",
   460            "https://www.googleapis.com/auth/dataportability.youtube.music",
   461            "https://www.googleapis.com/auth/dataportability.youtube.playable",
   462            "https://www.googleapis.com/auth/dataportability.youtube.posts",
   463            "https://www.googleapis.com/auth/dataportability.youtube.private_playlists",
   464            "https://www.googleapis.com/auth/dataportability.youtube.private_videos",
   465            "https://www.googleapis.com/auth/dataportability.youtube.public_playlists",
   466            "https://www.googleapis.com/auth/dataportability.youtube.public_videos",
   467            "https://www.googleapis.com/auth/dataportability.youtube.shopping",
   468            "https://www.googleapis.com/auth/dataportability.youtube.subscriptions",
   469            "https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists",
   470            "https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos"
   471          ]
   472        }
   473      }
   474    },
   475    "authorization": {
   476      "methods": {
   477        "reset": {
   478          "description": "Revokes OAuth tokens and resets exhausted scopes for a user/project pair. This method allows you to initiate a request after a new consent is granted. This method also indicates that previous archives can be garbage collected. You should call this method when all jobs are complete and all archives are downloaded. Do not call it only when you start a new job.",
   479          "flatPath": "v1beta/authorization:reset",
   480          "httpMethod": "POST",
   481          "id": "dataportability.authorization.reset",
   482          "parameterOrder": [],
   483          "parameters": {},
   484          "path": "v1beta/authorization:reset",
   485          "request": {
   486            "$ref": "ResetAuthorizationRequest"
   487          },
   488          "response": {
   489            "$ref": "Empty"
   490          },
   491          "scopes": [
   492            "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations",
   493            "https://www.googleapis.com/auth/dataportability.chrome.autofill",
   494            "https://www.googleapis.com/auth/dataportability.chrome.bookmarks",
   495            "https://www.googleapis.com/auth/dataportability.chrome.dictionary",
   496            "https://www.googleapis.com/auth/dataportability.chrome.extensions",
   497            "https://www.googleapis.com/auth/dataportability.chrome.history",
   498            "https://www.googleapis.com/auth/dataportability.chrome.reading_list",
   499            "https://www.googleapis.com/auth/dataportability.chrome.settings",
   500            "https://www.googleapis.com/auth/dataportability.discover.follows",
   501            "https://www.googleapis.com/auth/dataportability.discover.likes",
   502            "https://www.googleapis.com/auth/dataportability.discover.not_interested",
   503            "https://www.googleapis.com/auth/dataportability.maps.aliased_places",
   504            "https://www.googleapis.com/auth/dataportability.maps.commute_routes",
   505            "https://www.googleapis.com/auth/dataportability.maps.commute_settings",
   506            "https://www.googleapis.com/auth/dataportability.maps.ev_profile",
   507            "https://www.googleapis.com/auth/dataportability.maps.factual_contributions",
   508            "https://www.googleapis.com/auth/dataportability.maps.offering_contributions",
   509            "https://www.googleapis.com/auth/dataportability.maps.photos_videos",
   510            "https://www.googleapis.com/auth/dataportability.maps.questions_answers",
   511            "https://www.googleapis.com/auth/dataportability.maps.reviews",
   512            "https://www.googleapis.com/auth/dataportability.maps.starred_places",
   513            "https://www.googleapis.com/auth/dataportability.myactivity.maps",
   514            "https://www.googleapis.com/auth/dataportability.myactivity.myadcenter",
   515            "https://www.googleapis.com/auth/dataportability.myactivity.play",
   516            "https://www.googleapis.com/auth/dataportability.myactivity.search",
   517            "https://www.googleapis.com/auth/dataportability.myactivity.shopping",
   518            "https://www.googleapis.com/auth/dataportability.myactivity.youtube",
   519            "https://www.googleapis.com/auth/dataportability.mymaps.maps",
   520            "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations",
   521            "https://www.googleapis.com/auth/dataportability.play.devices",
   522            "https://www.googleapis.com/auth/dataportability.play.grouping",
   523            "https://www.googleapis.com/auth/dataportability.play.installs",
   524            "https://www.googleapis.com/auth/dataportability.play.library",
   525            "https://www.googleapis.com/auth/dataportability.play.playpoints",
   526            "https://www.googleapis.com/auth/dataportability.play.promotions",
   527            "https://www.googleapis.com/auth/dataportability.play.purchases",
   528            "https://www.googleapis.com/auth/dataportability.play.redemptions",
   529            "https://www.googleapis.com/auth/dataportability.play.subscriptions",
   530            "https://www.googleapis.com/auth/dataportability.play.usersettings",
   531            "https://www.googleapis.com/auth/dataportability.saved.collections",
   532            "https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars",
   533            "https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers",
   534            "https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs",
   535            "https://www.googleapis.com/auth/dataportability.search_ugc.media.watched",
   536            "https://www.googleapis.com/auth/dataportability.searchnotifications.settings",
   537            "https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions",
   538            "https://www.googleapis.com/auth/dataportability.shopping.addresses",
   539            "https://www.googleapis.com/auth/dataportability.shopping.reviews",
   540            "https://www.googleapis.com/auth/dataportability.streetview.imagery",
   541            "https://www.googleapis.com/auth/dataportability.youtube.channel",
   542            "https://www.googleapis.com/auth/dataportability.youtube.comments",
   543            "https://www.googleapis.com/auth/dataportability.youtube.live_chat",
   544            "https://www.googleapis.com/auth/dataportability.youtube.music",
   545            "https://www.googleapis.com/auth/dataportability.youtube.playable",
   546            "https://www.googleapis.com/auth/dataportability.youtube.posts",
   547            "https://www.googleapis.com/auth/dataportability.youtube.private_playlists",
   548            "https://www.googleapis.com/auth/dataportability.youtube.private_videos",
   549            "https://www.googleapis.com/auth/dataportability.youtube.public_playlists",
   550            "https://www.googleapis.com/auth/dataportability.youtube.public_videos",
   551            "https://www.googleapis.com/auth/dataportability.youtube.shopping",
   552            "https://www.googleapis.com/auth/dataportability.youtube.subscriptions",
   553            "https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists",
   554            "https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos"
   555          ]
   556        }
   557      }
   558    },
   559    "portabilityArchive": {
   560      "methods": {
   561        "initiate": {
   562          "description": "Initiates a new Archive job for the Portability API.",
   563          "flatPath": "v1beta/portabilityArchive:initiate",
   564          "httpMethod": "POST",
   565          "id": "dataportability.portabilityArchive.initiate",
   566          "parameterOrder": [],
   567          "parameters": {},
   568          "path": "v1beta/portabilityArchive:initiate",
   569          "request": {
   570            "$ref": "InitiatePortabilityArchiveRequest"
   571          },
   572          "response": {
   573            "$ref": "InitiatePortabilityArchiveResponse"
   574          },
   575          "scopes": [
   576            "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations",
   577            "https://www.googleapis.com/auth/dataportability.chrome.autofill",
   578            "https://www.googleapis.com/auth/dataportability.chrome.bookmarks",
   579            "https://www.googleapis.com/auth/dataportability.chrome.dictionary",
   580            "https://www.googleapis.com/auth/dataportability.chrome.extensions",
   581            "https://www.googleapis.com/auth/dataportability.chrome.history",
   582            "https://www.googleapis.com/auth/dataportability.chrome.reading_list",
   583            "https://www.googleapis.com/auth/dataportability.chrome.settings",
   584            "https://www.googleapis.com/auth/dataportability.discover.follows",
   585            "https://www.googleapis.com/auth/dataportability.discover.likes",
   586            "https://www.googleapis.com/auth/dataportability.discover.not_interested",
   587            "https://www.googleapis.com/auth/dataportability.maps.aliased_places",
   588            "https://www.googleapis.com/auth/dataportability.maps.commute_routes",
   589            "https://www.googleapis.com/auth/dataportability.maps.commute_settings",
   590            "https://www.googleapis.com/auth/dataportability.maps.ev_profile",
   591            "https://www.googleapis.com/auth/dataportability.maps.factual_contributions",
   592            "https://www.googleapis.com/auth/dataportability.maps.offering_contributions",
   593            "https://www.googleapis.com/auth/dataportability.maps.photos_videos",
   594            "https://www.googleapis.com/auth/dataportability.maps.questions_answers",
   595            "https://www.googleapis.com/auth/dataportability.maps.reviews",
   596            "https://www.googleapis.com/auth/dataportability.maps.starred_places",
   597            "https://www.googleapis.com/auth/dataportability.myactivity.maps",
   598            "https://www.googleapis.com/auth/dataportability.myactivity.myadcenter",
   599            "https://www.googleapis.com/auth/dataportability.myactivity.play",
   600            "https://www.googleapis.com/auth/dataportability.myactivity.search",
   601            "https://www.googleapis.com/auth/dataportability.myactivity.shopping",
   602            "https://www.googleapis.com/auth/dataportability.myactivity.youtube",
   603            "https://www.googleapis.com/auth/dataportability.mymaps.maps",
   604            "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations",
   605            "https://www.googleapis.com/auth/dataportability.play.devices",
   606            "https://www.googleapis.com/auth/dataportability.play.grouping",
   607            "https://www.googleapis.com/auth/dataportability.play.installs",
   608            "https://www.googleapis.com/auth/dataportability.play.library",
   609            "https://www.googleapis.com/auth/dataportability.play.playpoints",
   610            "https://www.googleapis.com/auth/dataportability.play.promotions",
   611            "https://www.googleapis.com/auth/dataportability.play.purchases",
   612            "https://www.googleapis.com/auth/dataportability.play.redemptions",
   613            "https://www.googleapis.com/auth/dataportability.play.subscriptions",
   614            "https://www.googleapis.com/auth/dataportability.play.usersettings",
   615            "https://www.googleapis.com/auth/dataportability.saved.collections",
   616            "https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars",
   617            "https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers",
   618            "https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs",
   619            "https://www.googleapis.com/auth/dataportability.search_ugc.media.watched",
   620            "https://www.googleapis.com/auth/dataportability.searchnotifications.settings",
   621            "https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions",
   622            "https://www.googleapis.com/auth/dataportability.shopping.addresses",
   623            "https://www.googleapis.com/auth/dataportability.shopping.reviews",
   624            "https://www.googleapis.com/auth/dataportability.streetview.imagery",
   625            "https://www.googleapis.com/auth/dataportability.youtube.channel",
   626            "https://www.googleapis.com/auth/dataportability.youtube.comments",
   627            "https://www.googleapis.com/auth/dataportability.youtube.live_chat",
   628            "https://www.googleapis.com/auth/dataportability.youtube.music",
   629            "https://www.googleapis.com/auth/dataportability.youtube.playable",
   630            "https://www.googleapis.com/auth/dataportability.youtube.posts",
   631            "https://www.googleapis.com/auth/dataportability.youtube.private_playlists",
   632            "https://www.googleapis.com/auth/dataportability.youtube.private_videos",
   633            "https://www.googleapis.com/auth/dataportability.youtube.public_playlists",
   634            "https://www.googleapis.com/auth/dataportability.youtube.public_videos",
   635            "https://www.googleapis.com/auth/dataportability.youtube.shopping",
   636            "https://www.googleapis.com/auth/dataportability.youtube.subscriptions",
   637            "https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists",
   638            "https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos"
   639          ]
   640        }
   641      }
   642    }
   643  },
   644  "revision": "20240410",
   645  "rootUrl": "https://dataportability.googleapis.com/",
   646  "schemas": {
   647    "Empty": {
   648      "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
   649      "id": "Empty",
   650      "properties": {},
   651      "type": "object"
   652    },
   653    "InitiatePortabilityArchiveRequest": {
   654      "description": "Request to kick off an Archive job.",
   655      "id": "InitiatePortabilityArchiveRequest",
   656      "properties": {
   657        "resources": {
   658          "description": "The resources from which you're exporting data. These values have a 1:1 correspondence with the OAuth scopes.",
   659          "items": {
   660            "type": "string"
   661          },
   662          "type": "array"
   663        }
   664      },
   665      "type": "object"
   666    },
   667    "InitiatePortabilityArchiveResponse": {
   668      "description": "Response from initiating an Archive job.",
   669      "id": "InitiatePortabilityArchiveResponse",
   670      "properties": {
   671        "archiveJobId": {
   672          "description": "The archive job ID that is initiated in the API. This can be used to get the state of the job.",
   673          "type": "string"
   674        }
   675      },
   676      "type": "object"
   677    },
   678    "PortabilityArchiveState": {
   679      "description": "Resource that contains the state of an Archive job.",
   680      "id": "PortabilityArchiveState",
   681      "properties": {
   682        "name": {
   683          "description": "The resource name of ArchiveJob's PortabilityArchiveState singleton. The format is: archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job ID provided in the request.",
   684          "type": "string"
   685        },
   686        "state": {
   687          "description": "Resource that represents the state of the Archive job.",
   688          "enum": [
   689            "STATE_UNSPECIFIED",
   690            "IN_PROGRESS",
   691            "COMPLETE",
   692            "FAILED",
   693            "CANCELLED"
   694          ],
   695          "enumDescriptions": [
   696            "Default value. This value is unused.",
   697            "The job is in progress.",
   698            "The job is complete.",
   699            "The job failed.",
   700            "The job is cancelled."
   701          ],
   702          "type": "string"
   703        },
   704        "urls": {
   705          "description": "If the state is complete, this method returns the signed URLs of the objects in the Cloud Storage bucket.",
   706          "items": {
   707            "type": "string"
   708          },
   709          "type": "array"
   710        }
   711      },
   712      "type": "object"
   713    },
   714    "ResetAuthorizationRequest": {
   715      "description": "Request to reset exhausted OAuth scopes.",
   716      "id": "ResetAuthorizationRequest",
   717      "properties": {},
   718      "type": "object"
   719    },
   720    "RetryPortabilityArchiveRequest": {
   721      "description": "Request to retry a failed Portability Archive job.",
   722      "id": "RetryPortabilityArchiveRequest",
   723      "properties": {},
   724      "type": "object"
   725    },
   726    "RetryPortabilityArchiveResponse": {
   727      "description": "Response from retrying a Portability Archive.",
   728      "id": "RetryPortabilityArchiveResponse",
   729      "properties": {
   730        "archiveJobId": {
   731          "description": "The archive job ID that is initiated by the retry endpoint. This can be used to get the state of the new job.",
   732          "type": "string"
   733        }
   734      },
   735      "type": "object"
   736    }
   737  },
   738  "servicePath": "",
   739  "title": "Data Portability API",
   740  "version": "v1beta",
   741  "version_module": true
   742}

View as plain text