গুগল ক্লাসরুম অ্যাড-অনগুলি এখন সাধারণত বিকাশকারীদের জন্য উপলব্ধ! আরও তথ্যের জন্য
অ্যাড-অন ডকুমেন্টেশন দেখুন.
Method: courses.studentGroups.studentGroupMembers.create
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি ছাত্র দলের জন্য একটি ছাত্র দলের সদস্য তৈরি করে।
এই পদ্ধতি নিম্নলিখিত ত্রুটি কোড প্রদান করে:
-
PERMISSION_DENIED
যদি অনুরোধকারী ব্যবহারকারীকে অ্যাক্সেস ত্রুটির জন্য ছাত্র গোষ্ঠী বা সদস্য তৈরি করার অনুমতি না দেওয়া হয়। -
NOT_FOUND
যদি ছাত্র গোষ্ঠী বিদ্যমান না থাকে বা ব্যবহারকারীর ছাত্র গোষ্ঠীতে অ্যাক্সেস না থাকে৷ -
ALREADY_EXISTS
যদি ছাত্র গোষ্ঠীর সদস্য আগে থেকেই থাকে। -
FAILED_PRECONDITION
যদি একটি ছাত্র গোষ্ঠীতে সদস্য যোগ করার চেষ্টা করে যেটি তার সদস্য সীমায় পৌঁছেছে।
HTTP অনুরোধ
POST https://classroom.googleapis.com/v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
courseId | string প্রয়োজন। কোর্সের শনাক্তকারী। |
studentGroupId | string প্রয়োজন। ছাত্র দলের শনাক্তকারী। |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
previewVersion | enum ( PreviewVersion ) ঐচ্ছিক। API-এর পূর্বরূপ সংস্করণ। প্রিভিউ প্রোগ্রামে বিকাশকারীদের জন্য উপলব্ধ নতুন API ক্ষমতাগুলি অ্যাক্সেস করার জন্য এটি অবশ্যই সেট করা উচিত। |
শরীরের অনুরোধ
অনুরোধের অংশে StudentGroupMember
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, রেসপন্স বডিতে StudentGroupMember
এর একটি নতুন তৈরি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/classroom.rosters
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-08 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-08 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Method: courses.studentGroups.studentGroupMembers.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\n\u003cbr /\u003e\n\n| **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. This feature is available in [V1_20250630_PREVIEW](https://developers.google.com/workspace/classroom/reference/rest/v1/PreviewVersion) and later. See [Access Preview APIs](https://developers.google.com/workspace/classroom/reference/preview) to learn more.\nCreates a student group member for a student group.\n\n\u003cbr /\u003e\n\nThis method returns the following error codes:\n\n- `PERMISSION_DENIED` if the requesting user is not permitted to create the student group or member for [access errors](/workspace/classroom/reference/Access.Errors).\n- `NOT_FOUND` if the student group does not exist or the user does not have access to the student group.\n- `ALREADY_EXISTS` if the student group member already exists.\n- `FAILED_PRECONDITION` if attempting to add a member to a student group that has reached its member limit.\n\n### HTTP request\n\n`POST https://classroom.googleapis.com/v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------------|---------------------------------------------------------|\n| `courseId` | `string` Required. The identifier of the course. |\n| `studentGroupId` | `string` Required. The identifier of the student group. |\n\n### Query parameters\n\n| Parameters ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `previewVersion` | `enum (`[PreviewVersion](/workspace/classroom/reference/rest/v1/PreviewVersion)`)` Optional. The preview version of the API. This must be set in order to access new API capabilities made available to developers in the Preview Program. |\n\n### Request body\n\nThe request body contains an instance of [StudentGroupMember](/workspace/classroom/reference/rest/v1/courses.studentGroups.studentGroupMembers#StudentGroupMember).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [StudentGroupMember](/workspace/classroom/reference/rest/v1/courses.studentGroups.studentGroupMembers#StudentGroupMember).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/classroom.rosters`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]