Class EditorFileScopeActionResponseBuilder

সম্পাদক ফাইল স্কোপ অ্যাকশন রেসপন্স বিল্ডার

Editor File Scope Action Response অবজেক্টের জন্য একটি নির্মাতা।

পদ্ধতি

পদ্ধতি রিটার্ন টাইপ সংক্ষিপ্ত বিবরণ
build() Editor File Scope Action Response বর্তমান সম্পাদক অ্যাকশন প্রতিক্রিয়া তৈরি করে।
request File Scope For Active Document() Editor File Scope Action Response Builder বর্তমান সক্রিয় সম্পাদক নথির জন্য drive.file সুযোগের অনুরোধ করে।

বিস্তারিত ডকুমেন্টেশন

build()

বর্তমান সম্পাদক অ্যাকশন প্রতিক্রিয়া তৈরি করে।

প্রত্যাবর্তন

Editor File Scope Action Response — একটি বৈধ Editor File Scope Action Response


request File Scope For Active Document()

বর্তমান সক্রিয় সম্পাদক নথির জন্য drive.file সুযোগের অনুরোধ করে।

// Display a permissions dialog to the user, requesting `drive.file` scope for
// the current document on behalf of this add-on.
AddOnsResponseService.newEditorFileScopeActionResponseBuilder()
    .requestFileScopeForActiveDocument()
    .build();

দ্রষ্টব্য: এই পদ্ধতিটি কল করার জন্য, আপনাকে অ্যাড-অনের ম্যানিফেস্টে drive.file স্কোপ যোগ করতে হবে।

প্রত্যাবর্তন

Editor File Scope Action Response Builder — চেইনিংয়ের জন্য এই অবজেক্ট।