সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
এই নথিটি Test Lab IAM অনুমতি এবং ভূমিকা কনফিগার করার বিষয়ে রেফারেন্স তথ্য প্রদান করে। আপনি যদি আরও দানাদার ভূমিকা কনফিগার করতে চান তবে Test Lab অ্যান্ড্রয়েড স্টুডিও ব্যবহার করে পরীক্ষা চালানো এবং স্ট্রিমিং ডিভাইস উভয়ের জন্য অনুমতি প্রদান করে। IAM এবং স্ট্রিমিং ডিভাইসগুলির জন্য সঠিকভাবে অনুমতি এবং ভূমিকা কনফিগার করার জন্য পরীক্ষা সম্পাদনের অতিরিক্ত প্রয়োজনীয়তা রয়েছে।
টেস্ট এক্সিকিউশন
Test Lab সঠিকভাবে কনফিগার করতে যাতে আপনি পরীক্ষার ফলাফল চালাতে এবং পড়তে পারেন, আপনাকে Cloud Storage বালতিতে অ্যাক্সেস কনফিগার করতে হবে। এটির জন্য অনুমতিগুলির একটি নির্দিষ্ট কনফিগারেশন প্রয়োজন যা স্ট্যান্ডার্ড Firebase পূর্বনির্ধারিত ভূমিকাগুলিতে অন্তর্ভুক্ত নয়। Test Lab অ্যাক্সেস মঞ্জুর করতে, নিম্নলিখিত বিকল্পগুলির মধ্যে একটি ব্যবহার করুন৷
একটি ডেডিকেটেড পৃথক Firebase প্রকল্পে আপনার অ্যাপ পরীক্ষা করুন।
যেসব ব্যবহারকারীদের Test Lab অ্যাক্সেসের প্রয়োজন তাদের যোগ করুন এবং Firebase কনসোল ব্যবহার করে তাদের লিগ্যাসি প্রকল্পের ভূমিকা বরাদ্দ করুন।
(ঐচ্ছিক) একজন ব্যবহারকারীকে Test Lab মাধ্যমে পরীক্ষা চালানোর অনুমতি দেওয়ার জন্য সম্পাদক প্রকল্পের ভূমিকা বরাদ্দ করুন।
(ঐচ্ছিক) একজন ব্যবহারকারীকে Test Lab মাধ্যমে পরীক্ষার ফলাফল দেখার অনুমতি দেওয়ার জন্য দর্শক প্রকল্পের ভূমিকা বরাদ্দ করুন৷
জিক্লাউড সিএলআই এর মাধ্যমে পরীক্ষা করে
জিক্লাউড সিএলআই , টেস্টিং এপিআই বা গ্রেডল ম্যানেজড ডিভাইস থেকে শুরু হওয়া পরীক্ষাগুলি ডিফল্টরূপে Firebase দ্বারা তৈরি একটি Cloud Storage বাকেট ব্যবহার করে। এর জন্য আপনার ফায়ারবেস প্রকল্পের জন্য "ভূমিকা/সম্পাদক" ভূমিকা থাকতে হবে পরীক্ষাটি সম্পাদনকারী প্রধানের।
আপনি যদি সেই ভূমিকাটি মঞ্জুর করতে না পারেন, বা আপনি 90 দিনের বেশি সময়ের জন্য বিশদ পরীক্ষার ফলাফলগুলি ধরে রাখতে চান, তাহলে আপনি --results-bucket gcloud কমান্ড-লাইন বিকল্পটি ব্যবহার করে আপনার মালিকানাধীন একটি Cloud Storage বাকেট-এ এই পরীক্ষার ফলাফল পাঠাতে পারেন।
আপনার নিজের Cloud Storage বালতি ব্যবহার করার সময়:
Google Cloud কনসোল ব্যবহার করে একজোড়া পূর্বনির্ধারিত ভূমিকা বরাদ্দ করুন, যা একত্রে প্রয়োজনীয় অনুমতিগুলির সেট মঞ্জুর করে৷
একজন ব্যবহারকারীকে Test Lab দিয়ে পরীক্ষা চালানোর অনুমতি দিতে, উভয়ই বরাদ্দ করুন: Firebase টেস্ট ল্যাব অ্যাডমিন ( roles/cloudtestservice.testAdmin ) এবং Firebase Analytics ভিউয়ার ( roles/firebase.analyticsViewer )
একজন ব্যবহারকারীকে Test Lab পরীক্ষার ফলাফল দেখার অনুমতি দিতে, উভয়ই বরাদ্দ করুন: Firebase টেস্ট ল্যাব ভিউয়ার ( roles/cloudtestservice.testViewer ) এবং Firebase Analytics Viewer ( roles/firebase.analyticsViewer )
ডিভাইস স্ট্রিমিং-এ অনুমতি সক্ষম করুন
ডিভাইস স্ট্রিমিং একটি পৃথক বৈশিষ্ট্য যা Test Lab ডিভাইসের উপরে নির্মিত। এটি আপনাকে Test Lab ডিভাইসগুলিতে সরাসরি অ্যাক্সেস প্রদান করে। ফায়ারবেস এডিটর এবং অ্যাডমিনরা কোনো অতিরিক্ত ভূমিকা ছাড়াই ডিভাইস স্ট্রিমিং ব্যবহার করতে পারেন, তবে প্রয়োজনে আপনি আরও দানাদার ভূমিকাও দিতে পারেন।
একজন ব্যবহারকারীকে ডিভাইস স্ট্রিমিং ব্যবহার করার অনুমতি দিতে, Google Cloud কনসোল ব্যবহার করে একটি পূর্বনির্ধারিত ভূমিকা বরাদ্দ করুন যা একসাথে প্রয়োজনীয় অনুমতিগুলির সেট মঞ্জুর করে৷ ফায়ারবেস টেস্ট ল্যাব ডাইরেক্ট অ্যাক্সেস অ্যাডমিন ( roles/cloudtestservice.directAccessAdmin ) অ্যাসাইন করার ভূমিকা।
[[["সহজে বোঝা যায়","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-09-06 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["\u003cbr /\u003e\n\nThis document provides reference information about configuring Test Lab IAM\npermissions and roles. If you want to configure more granular roles, Test Lab\nprovides permissions for both executing tests and streaming devices using\nAndroid Studio. Test execution has extra requirements to properly configure\npermissions and roles for IAM and the streaming devices.\n\nTest Execution\n\nTo properly configure Test Lab so that you can execute and read the results\nof tests, you have to configure access to Cloud Storage buckets. This\nrequires a specific configuration of permissions that aren't all included in the\nstandard [Firebase predefined roles](/docs/projects/iam/roles-predefined). To\ngrant access to Test Lab, use one of the following options.\n\nTests through the Firebase console\n\nFor tests started from Firebase console or through the [Firebase Test Lab Device Matrix in Android Studio](https://developer.android.com/studio/test/test-in-android-studio#run-with-firebase-test-lab):\n\n1. Test your app in a dedicated separate Firebase project.\n2. Add users that need Test Lab access and assign them legacy project roles using the [Firebase console](//console.firebase.google.com/).\n3. (Optional) Assign the **Editor** project role to allow a user to run tests with Test Lab.\n4. (Optional) Assign the **Viewer** project role to allow a user to view test results with Test Lab.\n\nTests through gcloud CLI\n\nTests started from the [gcloud CLI](/docs/test-lab/android/command-line),\nthe [Testing API](/docs/test-lab/reference/testing/rest), or [Gradle Managed\nDevices](/docs/test-lab/android/android-studio#gmd-testlab-plugin) use a\nCloud Storage bucket created by Firebase by default. This requires the\nprincipal executing the test to have the \"roles/editor\" role for your firebase\nproject.\n\nIf you cannot grant that role, or you want to retain detailed test results for\nlonger than 90 days, you can send these test results to a Cloud Storage\nbucket that you own using the\n[**--results-bucket** gcloud command-line option](//cloud.google.com/sdk/gcloud/reference/firebase/test/android/run).\n\nWhen using your own Cloud Storage bucket:\n\n1. Assign a pair of predefined roles, which grants the required set of permissions together, using the [Google Cloud console](//cloud.google.com/iam/docs/granting-changing-revoking-access).\n2. To allow a user to run tests with Test Lab, assign both: Firebase Test Lab Admin (`roles/cloudtestservice.testAdmin`) and Firebase Analytics Viewer (`roles/firebase.analyticsViewer`)\n3. To allow a user to view test results in Test Lab, assign both: Firebase Test Lab Viewer (`roles/cloudtestservice.testViewer`) and Firebase Analytics Viewer (`roles/firebase.analyticsViewer`)\n\n| **Caution:** Users assigned these predefined roles can access *all* Cloud Storage buckets associated with the Firebase project, potentially including customer data.\n\nEnable permissions in Device Streaming\n\nDevice Streaming is a separate feature built on top of Test Lab devices. It\nprovides you with direct access to Test Lab devices. Firebase Editors and\nAdmins can use Device Streaming without any additional roles, however, you can\nalso provide more granular roles if necessary.\n\nTo allow a user to use device streaming, assign a predefined role which grants\nthe required set of permissions together, using the [Google Cloud console](//cloud.google.com/iam/docs/granting-changing-revoking-access)\n. The role to assign is Firebase Test Lab Direct Access\nAdmin (`roles/cloudtestservice.directAccessAdmin`).\n\nFor more information on Device Streaming in Android Studio, see [Device Streaming in Android Studio](https://developer.android.com/studio/preview/android-device-streaming)."]]