Show / Hide Table of Contents

Class CoursesResource.StudentGroupsResource.StudentGroupMembersResource

The "studentGroupMembers" collection of methods.

Inheritance
object
CoursesResource.StudentGroupsResource.StudentGroupMembersResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Classroom.v1
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class CoursesResource.StudentGroupsResource.StudentGroupMembersResource

Constructors

StudentGroupMembersResource(IClientService)

Constructs a new resource.

Declaration
public StudentGroupMembersResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(StudentGroupMember, string, string)

Creates a student group member for a student group. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to create the student group or member for access errors. * NOT_FOUND if the student group does not exist or the user does not have access to the student group. * ALREADY_EXISTS if the student group member already exists. * FAILED_PRECONDITION if attempting to add a member to a student group that has reached its member limit.

Declaration
public virtual CoursesResource.StudentGroupsResource.StudentGroupMembersResource.CreateRequest Create(StudentGroupMember body, string courseId, string studentGroupId)
Parameters
Type Name Description
StudentGroupMember body

The body of the request.

string courseId

Required. The identifier of the course.

string studentGroupId

Required. The identifier of the student group.

Returns
Type Description
CoursesResource.StudentGroupsResource.StudentGroupMembersResource.CreateRequest

Delete(string, string, string)

Deletes a student group member. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to delete the requested student group member or for access errors. * NOT_FOUND if the student group member does not exist or the user does not have access to the student group.

Declaration
public virtual CoursesResource.StudentGroupsResource.StudentGroupMembersResource.DeleteRequest Delete(string courseId, string studentGroupId, string userId)
Parameters
Type Name Description
string courseId

Required. The identifier of the course containing the relevant student group.

string studentGroupId

Required. The identifier of the student group containing the student group member to delete.

string userId

Required. The identifier of the student group member to delete.

Returns
Type Description
CoursesResource.StudentGroupsResource.StudentGroupMembersResource.DeleteRequest

List(string, string)

Returns a list of students in a group. This method returns the following error codes: * NOT_FOUND if the course or student group does not exist.

Declaration
public virtual CoursesResource.StudentGroupsResource.StudentGroupMembersResource.ListRequest List(string courseId, string studentGroupId)
Parameters
Type Name Description
string courseId

Required. The identifier of the course.

string studentGroupId

Required. The identifier of the student group.

Returns
Type Description
CoursesResource.StudentGroupsResource.StudentGroupMembersResource.ListRequest
In this article
Back to top Generated by DocFX