REST Resource: snapshots
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
সম্পদ: স্ন্যাপশট
JSON প্রতিনিধিত্ব |
---|
{
"id": string,
"driveId": string,
"kind": string,
"type": enum (SnapshotType ),
"title": string,
"description": string,
"lastModifiedMillis": string,
"durationMillis": string,
"coverImage": {
object (SnapshotImage )
},
"uniqueName": string,
"progressValue": string
} |
ক্ষেত্র |
---|
id | string স্ন্যাপশটের আইডি। |
driveId | string ড্রাইভ এপিআই-এ এই স্ন্যাপশটের অন্তর্নিহিত ফাইলের আইডি। যদি স্ন্যাপশটটি একটি ড্রাইভ ফাইলে একটি দৃশ্য হয় এবং ফাইলটি কলারের মালিকানাধীন হয় তবেই উপস্থিত হবে৷ |
kind | string অনন্যভাবে এই সম্পদের ধরন সনাক্ত করে। মান সবসময় স্থির স্ট্রিং games#snapshot । |
type | enum ( SnapshotType ) এই স্ন্যাপশট টাইপ. |
title | string এই স্ন্যাপশটের শিরোনাম। |
description | string এই স্ন্যাপশট বর্ণনা. |
lastModifiedMillis | string ( int64 format) এই স্ন্যাপশটে শেষ পরিবর্তনের টাইমস্ট্যাম্প (ইউনিক্স যুগ থেকে মিলিতে)। |
durationMillis | string ( int64 format) মিলিতে এই স্ন্যাপশটের সাথে যুক্ত সময়কাল। |
coverImage | object ( SnapshotImage ) এই স্ন্যাপশটের কভার ইমেজ। ইমেজ না থাকলে অনুপস্থিত থাকতে পারে। |
uniqueName | string স্ন্যাপশট তৈরি করার সময় দেওয়া অনন্য নাম। |
progressValue | string ( int64 format) এই স্ন্যাপশটের সাথে যুক্ত অগ্রগতির মান (ডেভেলপার দ্বারা সেট করা 64-বিট পূর্ণসংখ্যা)। |
স্ন্যাপশট টাইপ
সমর্থিত স্ন্যাপশট প্রকার সংজ্ঞায়িত করুন।
Enums |
---|
SAVE_GAME | একটি সেভ গেমের প্রতিনিধিত্বকারী একটি স্ন্যাপশট। |
স্ন্যাপশট ইমেজ
একটি স্ন্যাপশটের একটি চিত্র।
JSON প্রতিনিধিত্ব |
---|
{
"width": integer,
"height": integer,
"mime_type": string,
"url": string,
"kind": string
} |
ক্ষেত্র |
---|
width | integer ছবির প্রস্থ। |
height | integer ছবির উচ্চতা। |
mime_type | string ছবির MIME প্রকার। |
url | string ছবির URL. এই URL যে কোনো সময় অবৈধ হতে পারে এবং ক্যাশে করা উচিত নয়৷ |
kind | string অনন্যভাবে এই সম্পদের ধরন সনাক্ত করে। মান সবসময় নির্দিষ্ট স্ট্রিং games#snapshotImage । |
পদ্ধতি |
---|
| একটি প্রদত্ত স্ন্যাপশট আইডির জন্য মেটাডেটা পুনরুদ্ধার করে। |
| প্লেয়ার আইডির সাথে সংশ্লিষ্ট প্লেয়ারের জন্য আপনার অ্যাপ্লিকেশন দ্বারা তৈরি স্ন্যাপশটগুলির একটি তালিকা পুনরুদ্ধার করে। |
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# REST Resource: snapshots\n\n- [Resource: Snapshot](#Snapshot)\n - [JSON representation](#Snapshot.SCHEMA_REPRESENTATION)\n- [SnapshotType](#SnapshotType)\n- [SnapshotImage](#SnapshotImage)\n - [JSON representation](#SnapshotImage.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Snapshot\n------------------\n\nAn snapshot object.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"driveId\": string, \"kind\": string, \"type\": enum (/games/services/web/api/rest/v1/snapshots#SnapshotType), \"title\": string, \"description\": string, \"lastModifiedMillis\": string, \"durationMillis\": string, \"coverImage\": { object (/games/services/web/api/rest/v1/snapshots#SnapshotImage) }, \"uniqueName\": string, \"progressValue\": string } ``` |\n\n| Fields ||\n|----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` The ID of the snapshot. |\n| `driveId` | `string` The ID of the file underlying this snapshot in the Drive API. Only present if the snapshot is a view on a Drive file and the file is owned by the caller. |\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#snapshot`. |\n| `type` | `enum (`[SnapshotType](/games/services/web/api/rest/v1/snapshots#SnapshotType)`)` The type of this snapshot. |\n| `title` | `string` The title of this snapshot. |\n| `description` | `string` The description of this snapshot. |\n| `lastModifiedMillis` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The timestamp (in millis since Unix epoch) of the last modification to this snapshot. |\n| `durationMillis` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The duration associated with this snapshot, in millis. |\n| `coverImage` | `object (`[SnapshotImage](/games/services/web/api/rest/v1/snapshots#SnapshotImage)`)` The cover image of this snapshot. May be absent if there is no image. |\n| `uniqueName` | `string` The unique name provided when the snapshot was created. |\n| `progressValue` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The progress value (64-bit integer set by developer) associated with this snapshot. |\n\nSnapshotType\n------------\n\nDefine supported snapshot types.\n\n| Enums ||\n|-------------|--------------------------------------|\n| `SAVE_GAME` | A snapshot representing a save game. |\n\nSnapshotImage\n-------------\n\nAn image of a snapshot.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------|\n| ``` { \"width\": integer, \"height\": integer, \"mime_type\": string, \"url\": string, \"kind\": string } ``` |\n\n| Fields ||\n|-------------|-----------------------------------------------------------------------------------------------------------------|\n| `width` | `integer` The width of the image. |\n| `height` | `integer` The height of the image. |\n| `mime_type` | `string` The MIME type of the image. |\n| `url` | `string` The URL of the image. This URL may be invalidated at any time and should not be cached. |\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#snapshotImage`. |\n\n| Methods ------- ||\n|------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| ### [get](/games/services/web/api/rest/v1/snapshots/get) | Retrieves the metadata for a given snapshot ID. |\n| ### [list](/games/services/web/api/rest/v1/snapshots/list) | Retrieves a list of snapshots created by your application for the player corresponding to the player ID. |"]]