이제 Google 클래스룸 부가기능이 일반적으로 개발자에게 제공됩니다. 자세한 내용은
부가기능 문서를 참고하세요.
Method: courses.update
과정을 업데이트합니다.
이 메서드는 다음 오류 코드를 반환합니다.
PERMISSION_DENIED
: 요청하는 사용자가 요청된 강의를 수정할 수 없거나 액세스 오류가 있는 경우
- 요청된 ID의 과정이 없으면
NOT_FOUND
입니다.
- 다음 요청 오류에 대한
FAILED_PRECONDITION
:
HTTP 요청
PUT https://classroom.googleapis.com/v1/courses/{id}
URL은 gRPC 트랜스코딩 구문을 사용합니다.
경로 매개변수
매개변수 |
id |
string
업데이트할 과정의 식별자입니다. 이 식별자는 클래스룸에서 할당한 식별자 또는 alias 일 수 있습니다.
|
요청 본문
요청 본문에는 Course
의 인스턴스가 포함됩니다.
응답 본문
성공한 경우 응답 본문에 Course
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/classroom.courses
자세한 내용은 승인 가이드를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-05(UTC)
[null,null,["최종 업데이트: 2024-09-05(UTC)"],[[["Updates an existing course using its identifier, allowing modifications to course details."],["Requires `https://www.googleapis.com/auth/classroom.courses` scope for authorization to make changes."],["Returns the updated course details in the response or specific error codes if unsuccessful."],["Possible errors include permission issues, invalid course identifiers, and course modification restrictions."],["Utilizes a PUT request with the course ID in the path and the updated course details in the request body."]]],[]]