Class CoursesResource.StudentGroupsResource.PatchRequest
Updates one or more fields in a student group. This method returns the following error codes: *
PERMISSION_DENIED if the requesting user is not permitted to modify the requested student group or for
access errors. * NOT_FOUND if the student group does not exist or the user does not have access to the
student group. * INVALID_ARGUMENT if invalid fields are specified in the update mask or if no update
mask is supplied.
Inheritance
Inherited Members
Namespace: Google.Apis.Classroom.v1
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class CoursesResource.StudentGroupsResource.PatchRequest : ClassroomBaseServiceRequest<StudentGroup>, IClientServiceRequest<StudentGroup>, IClientServiceRequest
Constructors
PatchRequest(IClientService, StudentGroup, string, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, StudentGroup body, string courseId, string id)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| StudentGroup | body | |
| string | courseId | |
| string | id |
Properties
CourseId
Required. 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
Id
Required. Identifier of the student group.
Declaration
[RequestParameter("id", RequestParameterType.Path)]
public virtual string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
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
UpdateMask
Required. Mask that identifies which fields on the student group to update. This field is required
to do an update. The update fails if invalid fields are specified. The following fields can be
specified by teachers: * title
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()