Class CoursesResource.StudentGroupsResource.CreateRequest
Creates a student group for a course. This method returns the following error codes: *
PERMISSION_DENIED if the requesting user is not permitted to create the student group or for access
errors. * NOT_FOUND if the course does not exist or the requesting user doesn't have access to the
course. * FAILED_PRECONDITION if creating the student group would exceed the maximum number of student
groups per course.
Inheritance
CoursesResource.StudentGroupsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Classroom.v1
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class CoursesResource.StudentGroupsResource.CreateRequest : ClassroomBaseServiceRequest<StudentGroup>, IClientServiceRequest<StudentGroup>, IClientServiceRequest
Constructors
CreateRequest(IClientService, StudentGroup, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, StudentGroup body, string courseId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| StudentGroup | body | |
| string | courseId |
Properties
CourseId
Required. The identifier of the course.
Declaration
[RequestParameter("courseId", RequestParameterType.Path)]
public virtual string CourseId { get; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()