ज़रूरी है. मास्क, जो अटैचमेंट के किन फ़ील्ड को अपडेट करने की पहचान करता है. अमान्य फ़ील्ड की जानकारी देने पर, अपडेट नहीं हो पाता. अगर कोई फ़ील्ड खाली वैल्यू के साथ काम करता है, तो उसे AddOnAttachment ऑब्जेक्ट में नहीं, बल्कि अपडेट मास्क में बताकर खाली किया जा सकता है. अगर अपडेट मास्क में कोई ऐसा फ़ील्ड शामिल किया गया है जिसमें खाली वैल्यू काम नहीं करतीं और उसे AddOnAttachment ऑब्जेक्ट में सेट नहीं किया गया है, तो INVALID_ARGUMENT गड़बड़ी का मैसेज दिखता है.
शिक्षक इन फ़ील्ड की जानकारी दे सकते हैं:
title
teacherViewUri
studentViewUri
studentWorkReviewUri
dueDate
dueTime
maxPoints
यह फ़ील्ड के पूरी तरह से क्वालिफ़ाइड नामों की सूची है. इसमें नामों को कॉमा लगाकर अलग किया गया है. उदाहरण: "user.displayName,photo".
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-12-05 (UTC) को अपडेट किया गया."],[[["This method updates an existing add-on attachment but is deprecated; use `course.announcements.addOnAttachments`, `course.courseWork.addOnAttachments`, or `course.courseWorkMaterials.addOnAttachments` instead."],["Only the original creator of the add-on attachment can update it using this method."],["The request must specify the `courseId`, `postId`, and `attachmentId` in the path parameters."],["Teachers can update fields like title, due date, and maximum points using the `updateMask` query parameter and providing the new values in the request body."],["Requires the `https://www.googleapis.com/auth/classroom.addons.teacher` OAuth scope for authorization."]]],[]]