বিজ্ঞপ্তি ইমেল অন্তর্ভুক্ত করার জন্য একটি সাধারণ পাঠ্য কাস্টম বার্তা।
enforceSingleParent (deprecated)
boolean
অপ্রচলিত: বিস্তারিত জানার জন্য moveToNewOwnersRoot দেখুন।
moveToNewOwnersRoot
boolean
এই প্যারামিটারটি শুধুমাত্র তখনই কার্যকর হবে যদি আইটেমটি শেয়ার্ড ড্রাইভে না থাকে এবং অনুরোধটি আইটেমের মালিকানা হস্তান্তর করার চেষ্টা করে। true সেট করা থাকলে, আইটেমটি নতুন মালিকের আমার ড্রাইভ রুট ফোল্ডারে সরানো হবে এবং সমস্ত পূর্ববর্তী অভিভাবকদের সরিয়ে দেওয়া হবে৷ false সেট করা হলে, পিতামাতা পরিবর্তন করা হয় না।
sendNotificationEmails
boolean
ব্যবহারকারী বা গোষ্ঠীতে ভাগ করার সময় বিজ্ঞপ্তি ইমেল পাঠাতে হবে কিনা। এই প্যারামিটারটি উপেক্ষা করা হয় এবং roleowner হলে একটি ইমেল পাঠানো হয়।
supportsAllDrives
boolean
অনুরোধ করা অ্যাপ্লিকেশনটি আমার ড্রাইভ এবং শেয়ার্ড ড্রাইভ উভয়কেই সমর্থন করে কিনা৷
supportsTeamDrives (deprecated)
boolean
বাতিল করা হয়েছে: পরিবর্তে supportsAllDrives ব্যবহার করুন।
useDomainAdminAccess
boolean
একটি ডোমেন প্রশাসক হিসাবে অনুরোধ ইস্যু করুন; যদি সত্যে সেট করা হয়, তাহলে অনুরোধকারীকে অ্যাক্সেস দেওয়া হবে যদি ফাইল আইডি প্যারামিটারটি একটি শেয়ার্ড ড্রাইভকে নির্দেশ করে এবং অনুরোধকারী সেই ডোমেনের একজন প্রশাসক হয় যার সাথে শেয়ার্ড ড্রাইভটি অন্তর্গত।
[[["সহজে বোঝা যায়","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"]],["2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Inserts a permission for a file or shared drive, but concurrent operations on the same file aren't supported."],["Uses an HTTP POST request to `https://www.googleapis.com/drive/v2/files/{fileId}/permissions` to insert the permission."],["Requires providing `fileId` as a path parameter and allows optional query parameters like `emailMessage`, `moveToNewOwnersRoot`, and others for customization."],["The request body should contain a `Permission` object, and a successful response will return the newly created `Permission` object."],["Requires authorization with one of the following OAuth scopes: `https://www.googleapis.com/auth/docs`, `https://www.googleapis.com/auth/drive`, or `https://www.googleapis.com/auth/drive.file`."]]],["This document outlines the process of inserting a permission for a file or shared drive via a `POST` request to the Google Drive API. The request requires a `fileId` path parameter. Query parameters include options for email notifications (`sendNotificationEmails`, `emailMessage`), ownership transfer (`moveToNewOwnersRoot`), and shared drive support (`supportsAllDrives`). The request body contains permission details and successful requests return the created permission instance. Authentication requires specific OAuth scopes like `https://www.googleapis.com/auth/drive`. Concurrent permission changes are not supported.\n"]]