সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
রিসোর্স কনফিগারেশন যা Google Workspace-এর অ্যাড-অন কন্টেন্ট এবং Google Drive-এর মধ্যে আচরণ নির্ধারণ করতে ব্যবহৃত হয়। Google Workspace অ্যাড-অন ম্যানিফেস্টে ড্রাইভের প্রসারিত হলে প্রয়োজনীয় হিসাবে চিহ্নিত সমস্ত উপাদান থাকতে হবে।
ড্রাইভে আইটেমগুলির ব্যবহারকারী নির্বাচনের দ্বারা ট্রিগার হওয়া অ্যাড-অন আচরণ প্রদানের জন্য প্রয়োজনীয়৷ Google ড্রাইভে আইটেম নির্বাচনের জন্য প্রাসঙ্গিক ট্রিগার ফাংশন স্পেসিফিকেশন।
OnItemsSelectedTrigger
একটি প্রাসঙ্গিক ট্রিগারের জন্য একটি কনফিগারেশন যা একজন ব্যবহারকারী যখন Google ড্রাইভে এক বা একাধিক ফাইল বা ফোল্ডার নির্বাচন করে তখন ফায়ার হয়৷ আরও তথ্যের জন্য নির্বাচিত আইটেমগুলির জন্য ড্রাইভ প্রাসঙ্গিক ইন্টারফেস দেখুন৷
JSON প্রতিনিধিত্ব
{
"runFunction": string
}
ক্ষেত্র
runFunction
string
Google ড্রাইভে ফাইল বা ফোল্ডার নির্বাচন করা হলে চালানোর জন্য ফাংশনের নাম। নির্দিষ্ট করা থাকলে, অ্যাড-অন UI-তে প্রদর্শনের জন্য Card অবজেক্টের একটি অ্যারে তৈরি করতে এবং ফেরত দিতে আপনাকে অবশ্যই এই ফাংশনটি বাস্তবায়ন করতে হবে।
[[["সহজে বোঝা যায়","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-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eGoogle Workspace Add-on manifests extending Drive must include all required components.\u003c/p\u003e\n"],["\u003cp\u003eDrive extensions utilize a manifest configuration for defining add-on content and behavior within Google Drive.\u003c/p\u003e\n"],["\u003cp\u003eAn \u003ccode\u003eonItemsSelectedTrigger\u003c/code\u003e is required in the manifest to enable add-on functionality when users select Drive items.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eonItemsSelectedTrigger\u003c/code\u003e specifies a function that builds and returns Card objects for the add-on UI.\u003c/p\u003e\n"]]],[],null,["# Drive manifest resource\n\nThe resource configuration that is used to define\n[Google Workspace add-on](/workspace/add-ons/concepts/types#g_suite_add-ons)\ncontent and behavior within Google Drive.\nGoogle Workspace add-on manifests must have\nall the components marked as **Required** if they extend Drive.\n\nDrive\n-----\n\nThe Google Workspace add-on manifest configuration for\nGoogle Drive extensions. See\n[Extending Drive with Google Workspace add-ons](/workspace/add-ons/drive)\nfor more information.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------|\n| ```text { \"homepageTrigger\": { object (HomepageTrigger) }, \"onItemsSelectedTrigger\": { object (OnItemsSelectedTrigger) } } ``` |\n\n| Fields ||\n|--------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `homepageTrigger` | `object (`[HomepageTrigger](/apps-script/manifest/homepage-trigger)`)` The trigger function specification for creating the add-on [homepage](/workspace/add-ons/concepts/homepages) in the Drive host. This overrides [`addOns.common.homepageTrigger`](/apps-script/manifest/addons#Common.FIELDS.homepageTrigger). |\n| `onItemsSelectedTrigger` | `object (`[OnItemsSelectedTrigger](#onitemsselectedtrigger)`)` **Required to provide add-on behavior triggered by user selection of items in Drive.** The contextual trigger function specification for item selections in Google Drive. |\n\n### OnItemsSelectedTrigger\n\nA configuration for a contextual trigger that fires when a user selects\none or more files or folders in Google Drive. See\n[Drive contextual interface for items selected](/workspace/add-ons/drive/building-drive-interfaces#drive_contextual_interface_for_items_selected)\nfor more information.\n\n| JSON representation |\n|---------------------------------------|\n| ```text { \"runFunction\": string } ``` |\n\n| Fields ||\n|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `runFunction` | `string` The name of the function to run when files or folders are selected in Google Drive. If specified, you must implement this function to build and return an array of [`Card`](/apps-script/reference/card-service/card) objects for display in the add-on UI. |"]]