সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
অনুমোদনের স্থিতি
একটি স্ক্রিপ্টের অনুমোদনের অবস্থা নির্দেশ করে একটি গণনা৷
একটি enum কল করার জন্য, আপনি তার পিতামাতার শ্রেণী, নাম এবং সম্পত্তি কল করুন। উদাহরণস্বরূপ, ScriptApp.AuthorizationStatus.REQUIRED ।
বৈশিষ্ট্য
সম্পত্তি
টাইপ
বর্ণনা
REQUIRED
Enum
এক বা একাধিক পরিষেবা ব্যবহার করার জন্য ব্যবহারকারীকে এই স্ক্রিপ্ট অনুমোদন করতে হবে। বেশিরভাগ ক্ষেত্রে, স্ক্রিপ্ট পরের বার চালানোর সময় ব্যবহারকারীকে অনুমোদনের জন্য অনুরোধ করে; যাইহোক, যদি স্ক্রিপ্টটি একটি অ্যাড-অন হিসাবে প্রকাশিত হয় যা ইনস্টলেবল ট্রিগার ব্যবহার করে, ট্রিগার অনুমোদনের জন্য অনুরোধ না করে স্ক্রিপ্টটি চালায় কিন্তু যদি স্ক্রিপ্ট অননুমোদিত পরিষেবাটি কল করার চেষ্টা করে তবে একটি ব্যতিক্রম থ্রো করে।
NOT_REQUIRED
Enum
ব্যবহারকারী এই স্ক্রিপ্টটিকে বর্তমানে প্রয়োজনীয় সমস্ত অনুমোদন দিয়েছে৷
[[["সহজে বোঝা যায়","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-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eAuthorizationStatus is an enumeration used to represent the authorization level of a script.\u003c/p\u003e\n"],["\u003cp\u003eScripts may require user authorization to access certain services, indicated by \u003ccode\u003eScriptApp.AuthorizationStatus.REQUIRED\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIf a script has all necessary authorizations, its status is represented by \u003ccode\u003eScriptApp.AuthorizationStatus.NOT_REQUIRED\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAdd-ons using installable triggers might run without explicit authorization prompts but will throw exceptions when attempting to use unauthorized services.\u003c/p\u003e\n"]]],[],null,["# Enum AuthorizationStatus\n\nAuthorizationStatus\n\nAn enumeration denoting the authorization status of a script.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nScriptApp.AuthorizationStatus.REQUIRED`. \n\n### Properties\n\n| Property | Type | Description |\n|----------------|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `REQUIRED` | `Enum` | The user needs to authorize this script to use one or more services. In most cases, the script prompts the user for authorization the next time it runs; however, if the script is published as an [add-on](/gsuite/add-ons/overview) that uses [installable triggers](/apps-script/understanding_triggers), the trigger runs the script without prompting for authorization but throws an exception if the script attempts to call the unauthorized service. |\n| `NOT_REQUIRED` | `Enum` | The user has granted this script all the authorization it currently requires. |"]]