Class CoursesResource.CourseWorkResource.AddOnAttachmentsResource.StudentSubmissionsResource.GetRequest
Returns a student submission for an add-on attachment. This method returns the following error
codes: * PERMISSION_DENIED
for access errors. * INVALID_ARGUMENT
if the request is
malformed. * NOT_FOUND
if one of the identified resources does not exist.
Inheritance
CoursesResource.CourseWorkResource.AddOnAttachmentsResource.StudentSubmissionsResource.GetRequest
Inherited Members
Namespace: Google.Apis.Classroom.v1
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class CoursesResource.CourseWorkResource.AddOnAttachmentsResource.StudentSubmissionsResource.GetRequest : ClassroomBaseServiceRequest<AddOnAttachmentStudentSubmission>, IClientServiceRequest<AddOnAttachmentStudentSubmission>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string courseId, string itemId, string attachmentId, string submissionId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | courseId | |
string | itemId | |
string | attachmentId | |
string | submissionId |
Properties
AttachmentId
Required. Identifier of the attachment.
Declaration
[RequestParameter("attachmentId", RequestParameterType.Path)]
public virtual string AttachmentId { get; }
Property Value
Type | Description |
---|---|
string |
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
ItemId
Identifier of the Announcement
, CourseWork
, or CourseWorkMaterial
under which the
attachment is attached. This field is required, but is not marked as such while we are
migrating from post_id.
Declaration
[RequestParameter("itemId", RequestParameterType.Path)]
public virtual string ItemId { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PostId
Optional. Deprecated, use item_id
instead.
Declaration
[RequestParameter("postId", RequestParameterType.Query)]
public virtual string PostId { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SubmissionId
Required. Identifier of the student’s submission.
Declaration
[RequestParameter("submissionId", RequestParameterType.Path)]
public virtual string SubmissionId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()