পোর্টেবিলিটি API-এর জন্য একটি আর্কাইভ কাজের অবস্থা পুনরুদ্ধার করে।
HTTP অনুরোধ
 GET https://dataportability.googleapis.com/v1/{name=archiveJobs/*/portabilityArchiveState}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
| পরামিতি | |
|---|---|
| name |   প্রয়োজন। আর্কাইভ কাজের আইডি যা আপনি কাজের অবস্থার অনুরোধ করলে ফেরত দেওয়া হয়। বিন্যাস হল: archiveJobs/{archive_job}/portabilityArchiveState. archive_job হল চাকরির আইডি যা InitiatePortabilityArchiveResponse দ্বারা ফেরত দেওয়া হয়। | 
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
একটি সংরক্ষণাগার কাজের অবস্থা ধারণ করে এমন সংস্থান৷
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
| JSON প্রতিনিধিত্ব | 
|---|
| {
  "state": enum ( | 
| ক্ষেত্র | |
|---|---|
| state |   সম্পদ যা আর্কাইভ কাজের অবস্থার প্রতিনিধিত্ব করে। | 
| urls[] |   স্থিতি সম্পূর্ণ হলে, এই পদ্ধতিটি ক্লাউড স্টোরেজ বালতিতে থাকা বস্তুর স্বাক্ষরিত URL ফেরত দেয়। | 
| name |   আর্কাইভজবের পোর্টেবিলিটিআর্কাইভস্টেট সিঙ্গেলটনের সম্পদের নাম। বিন্যাস হল: archiveJobs/{archive_job}/portabilityArchiveState. archive_job হল অনুরোধে দেওয়া কাজের আইডি। | 
| startTime |   টাইমস্ট্যাম্প যা আপনি যে ডেটা রপ্তানি করছেন তার শুরুর বিন্দুকে প্রতিনিধিত্ব করে। InitiatePortabilityArchiveRequest এ startTime ক্ষেত্রটি নির্দিষ্ট করা থাকলেই এই ক্ষেত্রটি সেট করা হয়।  RFC 3339 ব্যবহার করে, যেখানে উৎপন্ন আউটপুট সর্বদা Z-সাধারণ করা হবে এবং 0, 3, 6 বা 9 ভগ্নাংশ সংখ্যা ব্যবহার করে। "Z" ব্যতীত অন্যান্য অফসেটগুলিও গ্রহণ করা হয়। উদাহরণ:  | 
| exportTime |   টাইমস্ট্যাম্প যা আপনি যে ডেটা রপ্তানি করছেন তার শেষ বিন্দুকে উপস্থাপন করে। যদি InitiatePortabilityArchiveRequest-এ শেষ সময়ের মান সেট করা থাকে, এই ক্ষেত্রটি সেই মানটিতে সেট করা হয়। যদি এন্ডটাইম সেট করা না থাকে, তাহলে এই মানটি রপ্তানির অনুরোধের সময় সেট করা হয়।  RFC 3339 ব্যবহার করে, যেখানে উৎপন্ন আউটপুট সর্বদা Z-সাধারণ করা হবে এবং 0, 3, 6 বা 9 ভগ্নাংশ সংখ্যা ব্যবহার করে। "Z" ব্যতীত অন্যান্য অফসেটগুলিও গ্রহণ করা হয়। উদাহরণ:  | 
অনুমোদনের সুযোগ
নিম্নলিখিত 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 .
রাজ্য
আর্কাইভ কাজের অবস্থা. এই enum হিমায়িত হয়.
| Enums | |
|---|---|
| STATE_UNSPECIFIED | ডিফল্ট মান। এই মান অব্যবহৃত. | 
| IN_PROGRESS | কাজ চলছে। | 
| COMPLETE | কাজ সম্পূর্ণ। | 
| FAILED | চাকরি ব্যর্থ হয়েছে। | 
| CANCELLED | চাকরি বাতিল হয়। |