Method: archiveJobs.retry
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک کار بایگانی قابلیت حمل ناموفق را دوباره امتحان می کند.
درخواست HTTP
POST https://dataportability.googleapis.com/v1/{name=archiveJobs/*}:retry
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. شناسه شغلی بایگانی که در حال تلاش مجدد هستید. این توسط InitiatePortabilityArchiveResponse برگردانده شده است. تلاش مجدد فقط در صورتی اجرا می شود که کار اولیه ناموفق باشد. |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
پاسخ از تلاش مجدد بایگانی قابل حمل.
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی داده هایی با ساختار زیر است:
نمایندگی JSON |
---|
{
"archiveJobId": string
} |
فیلدها |
---|
archiveJobId | string شناسه کار بایگانی که توسط نقطه پایانی سعی مجدد آغاز می شود. از این می توان برای به دست آوردن وضعیت شغل جدید استفاده کرد. |
محدوده مجوز
به یکی از حوزه های OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/dataportability.alerts.subscriptions
-
https://www.googleapis.com/auth/dataportability.businessmessaging.conversations
-
https://www.googleapis.com/auth/dataportability.chrome.autofill
-
https://www.googleapis.com/auth/dataportability.chrome.bookmarks
-
https://www.googleapis.com/auth/dataportability.chrome.dictionary
-
https://www.googleapis.com/auth/dataportability.chrome.extensions
-
https://www.googleapis.com/auth/dataportability.chrome.history
-
https://www.googleapis.com/auth/dataportability.chrome.reading_list
-
https://www.googleapis.com/auth/dataportability.chrome.settings
-
https://www.googleapis.com/auth/dataportability.discover.follows
-
https://www.googleapis.com/auth/dataportability.discover.likes
-
https://www.googleapis.com/auth/dataportability.discover.not_interested
-
https://www.googleapis.com/auth/dataportability.maps.aliased_places
-
https://www.googleapis.com/auth/dataportability.maps.commute_routes
-
https://www.googleapis.com/auth/dataportability.maps.commute_settings
-
https://www.googleapis.com/auth/dataportability.maps.ev_profile
-
https://www.googleapis.com/auth/dataportability.maps.factual_contributions
-
https://www.googleapis.com/auth/dataportability.maps.offering_contributions
-
https://www.googleapis.com/auth/dataportability.maps.photos_videos
-
https://www.googleapis.com/auth/dataportability.maps.questions_answers
-
https://www.googleapis.com/auth/dataportability.maps.reviews
-
https://www.googleapis.com/auth/dataportability.maps.starred_places
-
https://www.googleapis.com/auth/dataportability.myactivity.maps
-
https://www.googleapis.com/auth/dataportability.myactivity.myadcenter
-
https://www.googleapis.com/auth/dataportability.myactivity.play
-
https://www.googleapis.com/auth/dataportability.myactivity.search
-
https://www.googleapis.com/auth/dataportability.myactivity.shopping
-
https://www.googleapis.com/auth/dataportability.myactivity.youtube
-
https://www.googleapis.com/auth/dataportability.mymaps.maps
-
https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations
-
https://www.googleapis.com/auth/dataportability.play.devices
-
https://www.googleapis.com/auth/dataportability.play.grouping
-
https://www.googleapis.com/auth/dataportability.play.installs
-
https://www.googleapis.com/auth/dataportability.play.library
-
https://www.googleapis.com/auth/dataportability.play.playpoints
-
https://www.googleapis.com/auth/dataportability.play.promotions
-
https://www.googleapis.com/auth/dataportability.play.purchases
-
https://www.googleapis.com/auth/dataportability.play.redemptions
-
https://www.googleapis.com/auth/dataportability.play.subscriptions
-
https://www.googleapis.com/auth/dataportability.play.usersettings
-
https://www.googleapis.com/auth/dataportability.saved.collections
-
https://www.googleapis.com/auth/dataportability.search_ugc.comments
-
https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars
-
https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers
-
https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs
-
https://www.googleapis.com/auth/dataportability.search_ugc.media.watched
-
https://www.googleapis.com/auth/dataportability.searchnotifications.settings
-
https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions
-
https://www.googleapis.com/auth/dataportability.shopping.addresses
-
https://www.googleapis.com/auth/dataportability.shopping.reviews
-
https://www.googleapis.com/auth/dataportability.streetview.imagery
-
https://www.googleapis.com/auth/dataportability.youtube.channel
-
https://www.googleapis.com/auth/dataportability.youtube.clips
-
https://www.googleapis.com/auth/dataportability.youtube.comments
-
https://www.googleapis.com/auth/dataportability.youtube.live_chat
-
https://www.googleapis.com/auth/dataportability.youtube.music
-
https://www.googleapis.com/auth/dataportability.youtube.playable
-
https://www.googleapis.com/auth/dataportability.youtube.posts
-
https://www.googleapis.com/auth/dataportability.youtube.private_playlists
-
https://www.googleapis.com/auth/dataportability.youtube.private_videos
-
https://www.googleapis.com/auth/dataportability.youtube.public_playlists
-
https://www.googleapis.com/auth/dataportability.youtube.public_videos
-
https://www.googleapis.com/auth/dataportability.youtube.shopping
-
https://www.googleapis.com/auth/dataportability.youtube.subscriptions
-
https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists
-
https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos
برای اطلاعات بیشتر، بهOAuth 2.0 Overview .
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eRetries a failed Portability Archive job using a \u003ccode\u003ePOST\u003c/code\u003e request to the specified endpoint with the job ID.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ename\u003c/code\u003e path parameter which represents the Archive job ID to be retried.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and a successful response will contain the new archive job ID.\u003c/p\u003e\n"],["\u003cp\u003eRequires specific authorization scopes related to data portability for various Google services.\u003c/p\u003e\n"]]],[],null,["# Method: archiveJobs.retry\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.RetryPortabilityArchiveResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nRetries a failed Portability Archive job.\n\n### HTTP request\n\n`POST https://dataportability.googleapis.com/v1/{name=archiveJobs/*}:retry`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The Archive job ID you're retrying. This is returned by the InitiatePortabilityArchiveResponse. Retrying is only executed if the initial job failed. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse from retrying a Portability Archive.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------|\n| ``` { \"archiveJobId\": string } ``` |\n\n| Fields ||\n|----------------|------------------------------------------------------------------------------------------------------------------------|\n| `archiveJobId` | `string` The archive job ID that is initiated by the retry endpoint. This can be used to get the state of the new job. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/dataportability.alerts.subscriptions`\n- `https://www.googleapis.com/auth/dataportability.businessmessaging.conversations`\n- `https://www.googleapis.com/auth/dataportability.chrome.autofill`\n- `https://www.googleapis.com/auth/dataportability.chrome.bookmarks`\n- `https://www.googleapis.com/auth/dataportability.chrome.dictionary`\n- `https://www.googleapis.com/auth/dataportability.chrome.extensions`\n- `https://www.googleapis.com/auth/dataportability.chrome.history`\n- `https://www.googleapis.com/auth/dataportability.chrome.reading_list`\n- `https://www.googleapis.com/auth/dataportability.chrome.settings`\n- `https://www.googleapis.com/auth/dataportability.discover.follows`\n- `https://www.googleapis.com/auth/dataportability.discover.likes`\n- `https://www.googleapis.com/auth/dataportability.discover.not_interested`\n- `https://www.googleapis.com/auth/dataportability.maps.aliased_places`\n- `https://www.googleapis.com/auth/dataportability.maps.commute_routes`\n- `https://www.googleapis.com/auth/dataportability.maps.commute_settings`\n- `https://www.googleapis.com/auth/dataportability.maps.ev_profile`\n- `https://www.googleapis.com/auth/dataportability.maps.factual_contributions`\n- `https://www.googleapis.com/auth/dataportability.maps.offering_contributions`\n- `https://www.googleapis.com/auth/dataportability.maps.photos_videos`\n- `https://www.googleapis.com/auth/dataportability.maps.questions_answers`\n- `https://www.googleapis.com/auth/dataportability.maps.reviews`\n- `https://www.googleapis.com/auth/dataportability.maps.starred_places`\n- `https://www.googleapis.com/auth/dataportability.myactivity.maps`\n- `https://www.googleapis.com/auth/dataportability.myactivity.myadcenter`\n- `https://www.googleapis.com/auth/dataportability.myactivity.play`\n- `https://www.googleapis.com/auth/dataportability.myactivity.search`\n- `https://www.googleapis.com/auth/dataportability.myactivity.shopping`\n- `https://www.googleapis.com/auth/dataportability.myactivity.youtube`\n- `https://www.googleapis.com/auth/dataportability.mymaps.maps`\n- `https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations`\n- `https://www.googleapis.com/auth/dataportability.play.devices`\n- `https://www.googleapis.com/auth/dataportability.play.grouping`\n- `https://www.googleapis.com/auth/dataportability.play.installs`\n- `https://www.googleapis.com/auth/dataportability.play.library`\n- `https://www.googleapis.com/auth/dataportability.play.playpoints`\n- `https://www.googleapis.com/auth/dataportability.play.promotions`\n- `https://www.googleapis.com/auth/dataportability.play.purchases`\n- `https://www.googleapis.com/auth/dataportability.play.redemptions`\n- `https://www.googleapis.com/auth/dataportability.play.subscriptions`\n- `https://www.googleapis.com/auth/dataportability.play.usersettings`\n- `https://www.googleapis.com/auth/dataportability.saved.collections`\n- `https://www.googleapis.com/auth/dataportability.search_ugc.comments`\n- `https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars`\n- `https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers`\n- `https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs`\n- `https://www.googleapis.com/auth/dataportability.search_ugc.media.watched`\n- `https://www.googleapis.com/auth/dataportability.searchnotifications.settings`\n- `https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions`\n- `https://www.googleapis.com/auth/dataportability.shopping.addresses`\n- `https://www.googleapis.com/auth/dataportability.shopping.reviews`\n- `https://www.googleapis.com/auth/dataportability.streetview.imagery`\n- `https://www.googleapis.com/auth/dataportability.youtube.channel`\n- `https://www.googleapis.com/auth/dataportability.youtube.clips`\n- `https://www.googleapis.com/auth/dataportability.youtube.comments`\n- `https://www.googleapis.com/auth/dataportability.youtube.live_chat`\n- `https://www.googleapis.com/auth/dataportability.youtube.music`\n- `https://www.googleapis.com/auth/dataportability.youtube.playable`\n- `https://www.googleapis.com/auth/dataportability.youtube.posts`\n- `https://www.googleapis.com/auth/dataportability.youtube.private_playlists`\n- `https://www.googleapis.com/auth/dataportability.youtube.private_videos`\n- `https://www.googleapis.com/auth/dataportability.youtube.public_playlists`\n- `https://www.googleapis.com/auth/dataportability.youtube.public_videos`\n- `https://www.googleapis.com/auth/dataportability.youtube.shopping`\n- `https://www.googleapis.com/auth/dataportability.youtube.subscriptions`\n- `https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists`\n- `https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]