Method: spreadsheets.sheets.copyTo
একটি স্প্রেডশীট থেকে অন্য স্প্রেডশীটে একটি একক শীট কপি করে৷ নতুন তৈরি পত্রকের বৈশিষ্ট্য প্রদান করে।
HTTP অনুরোধ
POST https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
spreadsheetId | string কপি করার জন্য শীট ধারণকারী স্প্রেডশীটের আইডি। |
sheetId | integer শীটের আইডি কপি করতে হবে। |
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"destinationSpreadsheetId": string
} |
ক্ষেত্র |
---|
destinationSpreadsheetId | string শীট কপি করতে স্প্রেডশীটের আইডি। |
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে SheetProperties
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/drive
-
https://www.googleapis.com/auth/drive.file
-
https://www.googleapis.com/auth/spreadsheets
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Copies a single sheet from one Google Spreadsheet to another, returning the properties of the new sheet."],["Requires specifying the source spreadsheet and sheet IDs, along with the destination spreadsheet ID."],["Utilizes an HTTP POST request to `https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo`."],["Needs authorization with specific OAuth scopes like `https://www.googleapis.com/auth/drive` or `https://www.googleapis.com/auth/spreadsheets`."]]],[]]