পদ্ধতি PickerBuilder.setAppId
ড্রাইভ API-এর মাধ্যমে ব্যবহারকারীর ফাইলগুলি অ্যাক্সেস করতে প্রয়োজনীয় অ্যাপ্লিকেশনটির আইডি সেট করে৷
এটি https://www.googleapis.com/auth/drive.file
স্কোপের জন্য প্রয়োজন।
উদাহরণ
মৌলিক ব্যবহার
const builder = new google.pickerPickerBuilder()
.setAppId('1234567890');
স্বাক্ষর
setAppId(appId: string): PickerBuilder;
বিস্তারিত
ঐচ্ছিক | না |
---|
ফাইনাল | না |
---|
সুরক্ষিত | না |
---|
স্থির | না |
---|
পরামিতি
নাম | টাইপ | ঐচ্ছিক | বর্ণনা |
---|
appId | string | না | ক্লাউড প্রকল্প নম্বর। |
রিটার্নস
PickerBuilder
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-17 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-17 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Sets the application ID, which is needed for the `https://www.googleapis.com/auth/drive.file` scope, allowing access to user files via the Drive API."],["This method is used within the `google.pickerPickerBuilder` and takes the Cloud project number as a string parameter."],["The `setAppId` method is not optional, final, protected, or static."],["Upon execution, it returns a `PickerBuilder` object for further configuration."]]],[]]