Class CoursesResource.CourseWorkResource.RubricsResource.DeleteRequest
Deletes a rubric. The requesting user and course owner must have rubrics creation capabilities. For
details, see licensing
requirements.
This request must be made by the Google Cloud console of the OAuth client
ID used to create the corresponding rubric. This
method returns the following error codes: * PERMISSION_DENIED
if the requesting developer project
didn't create the corresponding rubric, or if the requesting user isn't permitted to delete the
requested rubric. * NOT_FOUND
if no rubric exists with the requested ID or the user does not have
access to the course, course work, or rubric. * INVALID_ARGUMENT
if grading has already started on
the rubric.
Inheritance
Inherited Members
Namespace: Google.Apis.Classroom.v1
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class CoursesResource.CourseWorkResource.RubricsResource.DeleteRequest : ClassroomBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string courseId, string courseWorkId, string id)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | courseId | |
string | courseWorkId | |
string | id |
Properties
CourseId
Required. Identifier of the course.
Declaration
[RequestParameter("courseId", RequestParameterType.Path)]
public virtual string CourseId { get; }
Property Value
Type | Description |
---|---|
string |
CourseWorkId
Required. Identifier of the course work.
Declaration
[RequestParameter("courseWorkId", RequestParameterType.Path)]
public virtual string CourseWorkId { 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 rubric.
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
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()