Returns an add-on attachment.
Requires the add-on requesting the attachment to be the original creator of the attachment.
This method returns the following error codes:
PERMISSION_DENIEDfor access errors.
INVALID_ARGUMENTif the request is malformed.
NOT_FOUNDif one of the identified resources does not exist.
The URL uses gRPC Transcoding syntax.
Required. Identifier of the course.
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 postId.
Required. Identifier of the attachment.
Optional. Deprecated, use itemId instead.
The request body must be empty.
If successful, the response body contains an instance of
Requires one of the following OAuth scopes:
For more information, see the Authorization guide.