24 #ifndef GOOGLE_CLASSROOM_API_CLASSROOM_SERVICE_H_ 25 #define GOOGLE_CLASSROOM_API_CLASSROOM_SERVICE_H_ 28 #include "googleapis/base/integral_types.h" 29 #include "googleapis/base/macros.h" 30 #include "googleapis/client/service/client_service.h" 31 #include "googleapis/client/service/service_request_pager.h" 32 #include "googleapis/client/util/status.h" 33 #include "googleapis/client/util/uri_template.h" 35 #include "google/classroom_api/announcement.h" 36 #include "google/classroom_api/course.h" 37 #include "google/classroom_api/course_alias.h" 38 #include "google/classroom_api/course_work.h" 39 #include "google/classroom_api/empty.h" 40 #include "google/classroom_api/guardian.h" 41 #include "google/classroom_api/guardian_invitation.h" 42 #include "google/classroom_api/invitation.h" 43 #include "google/classroom_api/list_announcements_response.h" 44 #include "google/classroom_api/list_course_aliases_response.h" 45 #include "google/classroom_api/list_course_work_response.h" 46 #include "google/classroom_api/list_courses_response.h" 47 #include "google/classroom_api/list_guardian_invitations_response.h" 48 #include "google/classroom_api/list_guardians_response.h" 49 #include "google/classroom_api/list_invitations_response.h" 50 #include "google/classroom_api/list_student_submissions_response.h" 51 #include "google/classroom_api/list_students_response.h" 52 #include "google/classroom_api/list_teachers_response.h" 53 #include "google/classroom_api/list_topic_response.h" 54 #include "google/classroom_api/modify_announcement_assignees_request.h" 55 #include "google/classroom_api/modify_attachments_request.h" 56 #include "google/classroom_api/modify_course_work_assignees_request.h" 57 #include "google/classroom_api/reclaim_student_submission_request.h" 58 #include "google/classroom_api/registration.h" 59 #include "google/classroom_api/return_student_submission_request.h" 60 #include "google/classroom_api/student.h" 61 #include "google/classroom_api/student_submission.h" 62 #include "google/classroom_api/teacher.h" 63 #include "google/classroom_api/topic.h" 64 #include "google/classroom_api/turn_in_student_submission_request.h" 65 #include "google/classroom_api/user_profile.h" 100 class ClassroomService;
110 :
public client::ClientServiceRequest {
134 const client::ClientService* service,
135 client::AuthorizationCredential* credential,
136 client::HttpRequest::HttpMethod method,
137 const StringPiece& uri_template);
149 _have_xgafv_ =
false;
150 client::ClearCppValueHelper(&xgafv_);
188 _have_access_token_ =
false;
189 client::ClearCppValueHelper(&access_token_);
207 _have_access_token_ =
true;
208 return &access_token_;
218 _have_access_token_ =
true;
219 access_token_ = value;
229 client::ClearCppValueHelper(&alt_);
238 const string&
get_alt()
const {
return alt_; }
267 _have_callback_ =
false;
268 client::ClearCppValueHelper(&callback_);
285 _have_callback_ =
true;
296 _have_callback_ =
true;
306 _have_fields_ =
false;
307 client::ClearCppValueHelper(&fields_);
324 _have_fields_ =
true;
336 _have_fields_ =
true;
347 client::ClearCppValueHelper(&key_);
356 const string&
get_key()
const {
return key_; }
387 _have_oauth_token_ =
false;
388 client::ClearCppValueHelper(&oauth_token_);
406 _have_oauth_token_ =
true;
407 return &oauth_token_;
417 _have_oauth_token_ =
true;
418 oauth_token_ = value;
427 _have_pretty_print_ =
false;
428 client::ClearCppValueHelper(&pretty_print_);
445 _have_pretty_print_ =
true;
446 pretty_print_ = value;
453 _have_quota_user_ =
false;
454 client::ClearCppValueHelper("a_user_);
472 _have_quota_user_ =
true;
485 _have_quota_user_ =
true;
495 _have_upload_type_ =
false;
496 client::ClearCppValueHelper(&upload_type_);
514 _have_upload_type_ =
true;
515 return &upload_type_;
526 _have_upload_type_ =
true;
527 upload_type_ = value;
536 _have_upload_protocol_ =
false;
537 client::ClearCppValueHelper(&upload_protocol_);
555 _have_upload_protocol_ =
true;
556 return &upload_protocol_;
566 _have_upload_protocol_ =
true;
567 upload_protocol_ = value;
580 virtual util::Status AppendVariable(
581 const StringPiece& variable_name,
582 const client::UriTemplateConfig& config,
590 virtual util::Status AppendOptionalQueryParameters(
string* target);
599 void AddJsonContentToRequest(
const client::JsonCppData *content);
603 string access_token_;
612 string upload_protocol_;
613 bool _have_xgafv_ : 1;
614 bool _have_access_token_ : 1;
616 bool _have_callback_ : 1;
617 bool _have_fields_ : 1;
619 bool _have_oauth_token_ : 1;
620 bool _have_pretty_print_ : 1;
621 bool _have_quota_user_ : 1;
622 bool _have_upload_type_ : 1;
623 bool _have_upload_protocol_ : 1;
654 client::AuthorizationCredential* _credential_,
674 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
708 client::AuthorizationCredential* _credential_,
709 const absl::string_view&
id);
726 virtual util::Status AppendVariable(
727 const StringPiece& variable_name,
728 const client::UriTemplateConfig& config,
744 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
779 client::AuthorizationCredential* _credential_,
780 const absl::string_view&
id);
797 virtual util::Status AppendVariable(
798 const StringPiece& variable_name,
799 const client::UriTemplateConfig& config,
815 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
847 client::AuthorizationCredential* _credential_);
859 _have_student_id_ =
false;
860 client::ClearCppValueHelper(&student_id_);
878 _have_student_id_ =
true;
895 _have_student_id_ =
true;
905 _have_page_token_ =
false;
906 client::ClearCppValueHelper(&page_token_);
924 _have_page_token_ =
true;
941 _have_page_token_ =
true;
951 _have_page_size_ =
false;
952 client::ClearCppValueHelper(&page_size_);
973 _have_page_size_ =
true;
981 _have_teacher_id_ =
false;
982 client::ClearCppValueHelper(&teacher_id_);
1000 _have_teacher_id_ =
true;
1001 return &teacher_id_;
1017 _have_teacher_id_ =
true;
1018 teacher_id_ = value;
1027 _have_course_states_ =
false;
1028 client::ClearCppValueHelper(&course_states_);
1046 _have_course_states_ =
true;
1047 return &course_states_;
1059 virtual util::Status AppendVariable(
1060 const StringPiece& variable_name,
1061 const client::UriTemplateConfig& config,
1069 virtual util::Status AppendOptionalQueryParameters(
string* target);
1084 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1092 client::JsonCppCapsule< client::JsonCppArray<string > > course_states_;
1093 bool _have_student_id_ : 1;
1094 bool _have_page_token_ : 1;
1095 bool _have_page_size_ : 1;
1096 bool _have_teacher_id_ : 1;
1097 bool _have_course_states_ : 1;
1101 typedef client::ServiceRequestPager<
1104 CoursesResource_ListMethodPager;
1133 client::AuthorizationCredential* _credential_,
1134 const absl::string_view&
id,
1135 const Course& _content_);
1147 _have_update_mask_ =
false;
1148 client::ClearCppValueHelper(&update_mask_);
1166 _have_update_mask_ =
true;
1167 return &update_mask_;
1197 _have_update_mask_ =
true;
1198 update_mask_ = value;
1210 virtual util::Status AppendVariable(
1211 const StringPiece& variable_name,
1212 const client::UriTemplateConfig& config,
1220 virtual util::Status AppendOptionalQueryParameters(
string* target);
1235 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1240 string update_mask_;
1241 bool _have_update_mask_ : 1;
string _content_;
1272 client::AuthorizationCredential* _credential_,
1273 const absl::string_view&
id,
1274 const Course& _content_);
1291 virtual util::Status AppendVariable(
1292 const StringPiece& variable_name,
1293 const client::UriTemplateConfig& config,
1309 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1313 string id_;
string _content_;
1347 client::AuthorizationCredential* _credential_,
1348 const absl::string_view& course_id,
1366 virtual util::Status AppendVariable(
1367 const StringPiece& variable_name,
1368 const client::UriTemplateConfig& config,
1384 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1388 string course_id_;
string _content_;
1421 client::AuthorizationCredential* _credential_,
1422 const absl::string_view& course_id,
1423 const absl::string_view& alias);
1440 virtual util::Status AppendVariable(
1441 const StringPiece& variable_name,
1442 const client::UriTemplateConfig& config,
1458 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1494 client::AuthorizationCredential* _credential_,
1495 const absl::string_view& course_id);
1507 _have_page_token_ =
false;
1508 client::ClearCppValueHelper(&page_token_);
1526 _have_page_token_ =
true;
1527 return &page_token_;
1543 _have_page_token_ =
true;
1544 page_token_ = value;
1553 _have_page_size_ =
false;
1554 client::ClearCppValueHelper(&page_size_);
1575 _have_page_size_ =
true;
1588 virtual util::Status AppendVariable(
1589 const StringPiece& variable_name,
1590 const client::UriTemplateConfig& config,
1598 virtual util::Status AppendOptionalQueryParameters(
string* target);
1613 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1620 bool _have_page_token_ : 1;
1621 bool _have_page_size_ : 1;
1625 typedef client::ServiceRequestPager<
1628 CoursesResource_AliasesResource_ListMethodPager;
1658 client::AuthorizationCredential* _credential_,
1659 const absl::string_view& course_id,
1677 virtual util::Status AppendVariable(
1678 const StringPiece& variable_name,
1679 const client::UriTemplateConfig& config,
1695 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1699 string course_id_;
string _content_;
1731 client::AuthorizationCredential* _credential_,
1732 const absl::string_view& course_id,
1733 const absl::string_view&
id);
1750 virtual util::Status AppendVariable(
1751 const StringPiece& variable_name,
1752 const client::UriTemplateConfig& config,
1768 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1805 client::AuthorizationCredential* _credential_,
1806 const absl::string_view& course_id,
1807 const absl::string_view&
id);
1824 virtual util::Status AppendVariable(
1825 const StringPiece& variable_name,
1826 const client::UriTemplateConfig& config,
1842 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1878 client::AuthorizationCredential* _credential_,
1879 const absl::string_view& course_id);
1891 _have_order_by_ =
false;
1892 client::ClearCppValueHelper(&order_by_);
1910 _have_order_by_ =
true;
1926 _have_order_by_ =
true;
1936 _have_page_token_ =
false;
1937 client::ClearCppValueHelper(&page_token_);
1955 _have_page_token_ =
true;
1956 return &page_token_;
1972 _have_page_token_ =
true;
1973 page_token_ = value;
1982 _have_page_size_ =
false;
1983 client::ClearCppValueHelper(&page_size_);
2004 _have_page_size_ =
true;
2013 _have_announcement_states_ =
false;
2014 client::ClearCppValueHelper(&announcement_states_);
2032 _have_announcement_states_ =
true;
2033 return &announcement_states_;
2045 virtual util::Status AppendVariable(
2046 const StringPiece& variable_name,
2047 const client::UriTemplateConfig& config,
2055 virtual util::Status AppendOptionalQueryParameters(
string* target);
2070 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2078 client::JsonCppCapsule< client::JsonCppArray<string > > announcement_states_;
2079 bool _have_order_by_ : 1;
2080 bool _have_page_token_ : 1;
2081 bool _have_page_size_ : 1;
2082 bool _have_announcement_states_ : 1;
2086 typedef client::ServiceRequestPager<
2089 CoursesResource_AnnouncementsResource_ListMethodPager;
2119 client::AuthorizationCredential* _credential_,
2120 const absl::string_view& course_id,
2121 const absl::string_view&
id,
2139 virtual util::Status AppendVariable(
2140 const StringPiece& variable_name,
2141 const client::UriTemplateConfig& config,
2157 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2162 string id_;
string _content_;
2194 client::AuthorizationCredential* _credential_,
2195 const absl::string_view& course_id,
2196 const absl::string_view&
id,
2209 _have_update_mask_ =
false;
2210 client::ClearCppValueHelper(&update_mask_);
2228 _have_update_mask_ =
true;
2229 return &update_mask_;
2254 _have_update_mask_ =
true;
2255 update_mask_ = value;
2267 virtual util::Status AppendVariable(
2268 const StringPiece& variable_name,
2269 const client::UriTemplateConfig& config,
2277 virtual util::Status AppendOptionalQueryParameters(
string* target);
2292 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2298 string update_mask_;
2299 bool _have_update_mask_ : 1;
string _content_;
2331 client::AuthorizationCredential* _credential_,
2332 const absl::string_view& course_id,
2350 virtual util::Status AppendVariable(
2351 const StringPiece& variable_name,
2352 const client::UriTemplateConfig& config,
2368 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2372 string course_id_;
string _content_;
2404 client::AuthorizationCredential* _credential_,
2405 const absl::string_view& course_id,
2406 const absl::string_view&
id);
2423 virtual util::Status AppendVariable(
2424 const StringPiece& variable_name,
2425 const client::UriTemplateConfig& config,
2441 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2480 client::AuthorizationCredential* _credential_,
2481 const absl::string_view& course_id,
2482 const absl::string_view&
id);
2499 virtual util::Status AppendVariable(
2500 const StringPiece& variable_name,
2501 const client::UriTemplateConfig& config,
2517 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2555 client::AuthorizationCredential* _credential_,
2556 const absl::string_view& course_id);
2568 _have_order_by_ =
false;
2569 client::ClearCppValueHelper(&order_by_);
2587 _have_order_by_ =
true;
2603 _have_order_by_ =
true;
2613 _have_page_token_ =
false;
2614 client::ClearCppValueHelper(&page_token_);
2632 _have_page_token_ =
true;
2633 return &page_token_;
2649 _have_page_token_ =
true;
2650 page_token_ = value;
2659 _have_page_size_ =
false;
2660 client::ClearCppValueHelper(&page_size_);
2681 _have_page_size_ =
true;
2690 _have_course_work_states_ =
false;
2691 client::ClearCppValueHelper(&course_work_states_);
2709 _have_course_work_states_ =
true;
2710 return &course_work_states_;
2722 virtual util::Status AppendVariable(
2723 const StringPiece& variable_name,
2724 const client::UriTemplateConfig& config,
2732 virtual util::Status AppendOptionalQueryParameters(
string* target);
2747 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2755 client::JsonCppCapsule< client::JsonCppArray<string > > course_work_states_;
2756 bool _have_order_by_ : 1;
2757 bool _have_page_token_ : 1;
2758 bool _have_page_size_ : 1;
2759 bool _have_course_work_states_ : 1;
2763 typedef client::ServiceRequestPager<
2766 CoursesResource_CourseWorkResource_ListMethodPager;
2796 client::AuthorizationCredential* _credential_,
2797 const absl::string_view& course_id,
2798 const absl::string_view&
id,
2816 virtual util::Status AppendVariable(
2817 const StringPiece& variable_name,
2818 const client::UriTemplateConfig& config,
2834 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2839 string id_;
string _content_;
2871 client::AuthorizationCredential* _credential_,
2872 const absl::string_view& course_id,
2873 const absl::string_view&
id,
2886 _have_update_mask_ =
false;
2887 client::ClearCppValueHelper(&update_mask_);
2905 _have_update_mask_ =
true;
2906 return &update_mask_;
2937 _have_update_mask_ =
true;
2938 update_mask_ = value;
2950 virtual util::Status AppendVariable(
2951 const StringPiece& variable_name,
2952 const client::UriTemplateConfig& config,
2960 virtual util::Status AppendOptionalQueryParameters(
string* target);
2975 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2981 string update_mask_;
2982 bool _have_update_mask_ : 1;
string _content_;
3023 client::AuthorizationCredential* _credential_,
3024 const absl::string_view& course_id,
3025 const absl::string_view& course_work_id,
3026 const absl::string_view&
id);
3043 virtual util::Status AppendVariable(
3044 const StringPiece& variable_name,
3045 const client::UriTemplateConfig& config,
3061 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3066 string course_work_id_;
3106 client::AuthorizationCredential* _credential_,
3107 const absl::string_view& course_id,
3108 const absl::string_view& course_work_id);
3120 _have_user_id_ =
false;
3121 client::ClearCppValueHelper(&user_id_);
3138 _have_user_id_ =
true;
3156 _have_user_id_ =
true;
3166 _have_late_ =
false;
3167 client::ClearCppValueHelper(&late_);
3208 _have_page_token_ =
false;
3209 client::ClearCppValueHelper(&page_token_);
3227 _have_page_token_ =
true;
3228 return &page_token_;
3244 _have_page_token_ =
true;
3245 page_token_ = value;
3254 _have_page_size_ =
false;
3255 client::ClearCppValueHelper(&page_size_);
3276 _have_page_size_ =
true;
3284 _have_states_ =
false;
3285 client::ClearCppValueHelper(&states_);
3294 const client::JsonCppArray<string >&
get_states()
const {
return states_; }
3302 _have_states_ =
true;
3315 virtual util::Status AppendVariable(
3316 const StringPiece& variable_name,
3317 const client::UriTemplateConfig& config,
3325 virtual util::Status AppendOptionalQueryParameters(
string* target);
3340 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3345 string course_work_id_;
3350 client::JsonCppCapsule< client::JsonCppArray<string > > states_;
3351 bool _have_user_id_ : 1;
3352 bool _have_late_ : 1;
3353 bool _have_page_token_ : 1;
3354 bool _have_page_size_ : 1;
3355 bool _have_states_ : 1;
3359 typedef client::ServiceRequestPager<
3362 CoursesResource_CourseWorkResource_StudentSubmissionsResource_ListMethodPager;
3394 client::AuthorizationCredential* _credential_,
3395 const absl::string_view& course_id,
3396 const absl::string_view& course_work_id,
3397 const absl::string_view&
id,
3415 virtual util::Status AppendVariable(
3416 const StringPiece& variable_name,
3417 const client::UriTemplateConfig& config,
3433 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3438 string course_work_id_;
3439 string id_;
string _content_;
3473 client::AuthorizationCredential* _credential_,
3474 const absl::string_view& course_id,
3475 const absl::string_view& course_work_id,
3476 const absl::string_view&
id,
3489 _have_update_mask_ =
false;
3490 client::ClearCppValueHelper(&update_mask_);
3508 _have_update_mask_ =
true;
3509 return &update_mask_;
3527 _have_update_mask_ =
true;
3528 update_mask_ = value;
3540 virtual util::Status AppendVariable(
3541 const StringPiece& variable_name,
3542 const client::UriTemplateConfig& config,
3550 virtual util::Status AppendOptionalQueryParameters(
string* target);
3565 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3570 string course_work_id_;
3572 string update_mask_;
3573 bool _have_update_mask_ : 1;
string _content_;
3606 client::AuthorizationCredential* _credential_,
3607 const absl::string_view& course_id,
3608 const absl::string_view& course_work_id,
3609 const absl::string_view&
id,
3627 virtual util::Status AppendVariable(
3628 const StringPiece& variable_name,
3629 const client::UriTemplateConfig& config,
3645 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3650 string course_work_id_;
3651 string id_;
string _content_;
3684 client::AuthorizationCredential* _credential_,
3685 const absl::string_view& course_id,
3686 const absl::string_view& course_work_id,
3687 const absl::string_view&
id,
3705 virtual util::Status AppendVariable(
3706 const StringPiece& variable_name,
3707 const client::UriTemplateConfig& config,
3723 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3728 string course_work_id_;
3729 string id_;
string _content_;
3762 client::AuthorizationCredential* _credential_,
3763 const absl::string_view& course_id,
3764 const absl::string_view& course_work_id,
3765 const absl::string_view&
id,
3783 virtual util::Status AppendVariable(
3784 const StringPiece& variable_name,
3785 const client::UriTemplateConfig& config,
3801 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3806 string course_work_id_;
3807 string id_;
string _content_;
3841 client::AuthorizationCredential* _credential_,
3842 const absl::string_view& course_id,
3856 _have_enrollment_code_ =
false;
3857 client::ClearCppValueHelper(&enrollment_code_);
3875 _have_enrollment_code_ =
true;
3876 return &enrollment_code_;
3889 _have_enrollment_code_ =
true;
3890 enrollment_code_ = value;
3902 virtual util::Status AppendVariable(
3903 const StringPiece& variable_name,
3904 const client::UriTemplateConfig& config,
3912 virtual util::Status AppendOptionalQueryParameters(
string* target);
3927 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3932 string enrollment_code_;
3933 bool _have_enrollment_code_ : 1;
string _content_;
3970 client::AuthorizationCredential* _credential_,
3971 const absl::string_view& course_id,
3972 const absl::string_view& user_id);
3989 virtual util::Status AppendVariable(
3990 const StringPiece& variable_name,
3991 const client::UriTemplateConfig& config,
4007 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4052 client::AuthorizationCredential* _credential_,
4053 const absl::string_view& course_id,
4054 const absl::string_view& user_id);
4071 virtual util::Status AppendVariable(
4072 const StringPiece& variable_name,
4073 const client::UriTemplateConfig& config,
4089 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4127 client::AuthorizationCredential* _credential_,
4128 const absl::string_view& course_id);
4140 _have_page_token_ =
false;
4141 client::ClearCppValueHelper(&page_token_);
4159 _have_page_token_ =
true;
4160 return &page_token_;
4176 _have_page_token_ =
true;
4177 page_token_ = value;
4186 _have_page_size_ =
false;
4187 client::ClearCppValueHelper(&page_size_);
4207 _have_page_size_ =
true;
4220 virtual util::Status AppendVariable(
4221 const StringPiece& variable_name,
4222 const client::UriTemplateConfig& config,
4230 virtual util::Status AppendOptionalQueryParameters(
string* target);
4245 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4252 bool _have_page_token_ : 1;
4253 bool _have_page_size_ : 1;
4257 typedef client::ServiceRequestPager<
4260 CoursesResource_StudentsResource_ListMethodPager;
4292 client::AuthorizationCredential* _credential_,
4293 const absl::string_view& course_id,
4311 virtual util::Status AppendVariable(
4312 const StringPiece& variable_name,
4313 const client::UriTemplateConfig& config,
4329 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4333 string course_id_;
string _content_;
4370 client::AuthorizationCredential* _credential_,
4371 const absl::string_view& course_id,
4372 const absl::string_view& user_id);
4389 virtual util::Status AppendVariable(
4390 const StringPiece& variable_name,
4391 const client::UriTemplateConfig& config,
4407 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4452 client::AuthorizationCredential* _credential_,
4453 const absl::string_view& course_id,
4454 const absl::string_view& user_id);
4471 virtual util::Status AppendVariable(
4472 const StringPiece& variable_name,
4473 const client::UriTemplateConfig& config,
4489 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4527 client::AuthorizationCredential* _credential_,
4528 const absl::string_view& course_id);
4540 _have_page_token_ =
false;
4541 client::ClearCppValueHelper(&page_token_);
4559 _have_page_token_ =
true;
4560 return &page_token_;
4576 _have_page_token_ =
true;
4577 page_token_ = value;
4586 _have_page_size_ =
false;
4587 client::ClearCppValueHelper(&page_size_);
4607 _have_page_size_ =
true;
4620 virtual util::Status AppendVariable(
4621 const StringPiece& variable_name,
4622 const client::UriTemplateConfig& config,
4630 virtual util::Status AppendOptionalQueryParameters(
string* target);
4645 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4652 bool _have_page_token_ : 1;
4653 bool _have_page_size_ : 1;
4657 typedef client::ServiceRequestPager<
4660 CoursesResource_TeachersResource_ListMethodPager;
4690 client::AuthorizationCredential* _credential_,
4691 const absl::string_view& course_id,
4692 const Topic& _content_);
4709 virtual util::Status AppendVariable(
4710 const StringPiece& variable_name,
4711 const client::UriTemplateConfig& config,
4727 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4731 string course_id_;
string _content_;
4762 client::AuthorizationCredential* _credential_,
4763 const absl::string_view& course_id,
4764 const absl::string_view&
id);
4781 virtual util::Status AppendVariable(
4782 const StringPiece& variable_name,
4783 const client::UriTemplateConfig& config,
4799 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4834 client::AuthorizationCredential* _credential_,
4835 const absl::string_view& course_id,
4836 const absl::string_view&
id);
4853 virtual util::Status AppendVariable(
4854 const StringPiece& variable_name,
4855 const client::UriTemplateConfig& config,
4871 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4907 client::AuthorizationCredential* _credential_,
4908 const absl::string_view& course_id);
4920 _have_page_token_ =
false;
4921 client::ClearCppValueHelper(&page_token_);
4939 _have_page_token_ =
true;
4940 return &page_token_;
4956 _have_page_token_ =
true;
4957 page_token_ = value;
4966 _have_page_size_ =
false;
4967 client::ClearCppValueHelper(&page_size_);
4988 _have_page_size_ =
true;
5001 virtual util::Status AppendVariable(
5002 const StringPiece& variable_name,
5003 const client::UriTemplateConfig& config,
5011 virtual util::Status AppendOptionalQueryParameters(
string* target);
5026 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5033 bool _have_page_token_ : 1;
5034 bool _have_page_size_ : 1;
5038 typedef client::ServiceRequestPager<
5041 CoursesResource_TopicsResource_ListMethodPager;
5071 client::AuthorizationCredential* _credential_,
5072 const absl::string_view& course_id,
5073 const absl::string_view&
id,
5074 const Topic& _content_);
5086 _have_update_mask_ =
false;
5087 client::ClearCppValueHelper(&update_mask_);
5105 _have_update_mask_ =
true;
5106 return &update_mask_;
5128 _have_update_mask_ =
true;
5129 update_mask_ = value;
5141 virtual util::Status AppendVariable(
5142 const StringPiece& variable_name,
5143 const client::UriTemplateConfig& config,
5151 virtual util::Status AppendOptionalQueryParameters(
string* target);
5166 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5172 string update_mask_;
5173 bool _have_update_mask_ : 1;
string _content_;
5203 client::AuthorizationCredential* _credential_,
5204 const absl::string_view&
id);
5221 virtual util::Status AppendVariable(
5222 const StringPiece& variable_name,
5223 const client::UriTemplateConfig& config,
5239 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5271 client::AuthorizationCredential* _credential_,
5291 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5323 client::AuthorizationCredential* _credential_,
5324 const absl::string_view&
id);
5341 virtual util::Status AppendVariable(
5342 const StringPiece& variable_name,
5343 const client::UriTemplateConfig& config,
5359 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5392 client::AuthorizationCredential* _credential_,
5393 const absl::string_view&
id);
5410 virtual util::Status AppendVariable(
5411 const StringPiece& variable_name,
5412 const client::UriTemplateConfig& config,
5428 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5460 client::AuthorizationCredential* _credential_);
5472 _have_course_id_ =
false;
5473 client::ClearCppValueHelper(&course_id_);
5491 _have_course_id_ =
true;
5504 _have_course_id_ =
true;
5514 _have_user_id_ =
false;
5515 client::ClearCppValueHelper(&user_id_);
5532 _have_user_id_ =
true;
5549 _have_user_id_ =
true;
5559 _have_page_token_ =
false;
5560 client::ClearCppValueHelper(&page_token_);
5578 _have_page_token_ =
true;
5579 return &page_token_;
5595 _have_page_token_ =
true;
5596 page_token_ = value;
5605 _have_page_size_ =
false;
5606 client::ClearCppValueHelper(&page_size_);
5626 _have_page_size_ =
true;
5639 virtual util::Status AppendVariable(
5640 const StringPiece& variable_name,
5641 const client::UriTemplateConfig& config,
5649 virtual util::Status AppendOptionalQueryParameters(
string* target);
5664 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5672 bool _have_course_id_ : 1;
5673 bool _have_user_id_ : 1;
5674 bool _have_page_token_ : 1;
5675 bool _have_page_size_ : 1;
5679 typedef client::ServiceRequestPager<
5682 InvitationsResource_ListMethodPager;
5710 client::AuthorizationCredential* _credential_,
5730 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5763 client::AuthorizationCredential* _credential_,
5764 const absl::string_view& registration_id);
5781 virtual util::Status AppendVariable(
5782 const StringPiece& variable_name,
5783 const client::UriTemplateConfig& config,
5799 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5803 string registration_id_;
5842 client::AuthorizationCredential* _credential_,
5843 const absl::string_view& user_id);
5860 virtual util::Status AppendVariable(
5861 const StringPiece& variable_name,
5862 const client::UriTemplateConfig& config,
5878 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5914 client::AuthorizationCredential* _credential_,
5915 const absl::string_view& student_id,
5933 virtual util::Status AppendVariable(
5934 const StringPiece& variable_name,
5935 const client::UriTemplateConfig& config,
5951 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5955 string student_id_;
string _content_;
5987 client::AuthorizationCredential* _credential_,
5988 const absl::string_view& student_id,
5989 const absl::string_view& invitation_id);
6006 virtual util::Status AppendVariable(
6007 const StringPiece& variable_name,
6008 const client::UriTemplateConfig& config,
6024 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
6029 string invitation_id_;
6067 client::AuthorizationCredential* _credential_,
6068 const absl::string_view& student_id);
6080 _have_page_token_ =
false;
6081 client::ClearCppValueHelper(&page_token_);
6099 _have_page_token_ =
true;
6100 return &page_token_;
6116 _have_page_token_ =
true;
6117 page_token_ = value;
6127 _have_invited_email_address_ =
false;
6128 client::ClearCppValueHelper(&invited_email_address_);
6146 _have_invited_email_address_ =
true;
6147 return &invited_email_address_;
6159 _have_invited_email_address_ =
true;
6160 invited_email_address_ = value;
6169 _have_states_ =
false;
6170 client::ClearCppValueHelper(&states_);
6179 const client::JsonCppArray<string >&
get_states()
const {
return states_; }
6187 _have_states_ =
true;
6197 _have_page_size_ =
false;
6198 client::ClearCppValueHelper(&page_size_);
6219 _have_page_size_ =
true;
6232 virtual util::Status AppendVariable(
6233 const StringPiece& variable_name,
6234 const client::UriTemplateConfig& config,
6242 virtual util::Status AppendOptionalQueryParameters(
string* target);
6257 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
6263 string invited_email_address_;
6264 client::JsonCppCapsule< client::JsonCppArray<string > > states_;
6266 bool _have_page_token_ : 1;
6267 bool _have_invited_email_address_ : 1;
6268 bool _have_states_ : 1;
6269 bool _have_page_size_ : 1;
6273 typedef client::ServiceRequestPager<
6276 UserProfilesResource_GuardianInvitationsResource_ListMethodPager;
6306 client::AuthorizationCredential* _credential_,
6307 const absl::string_view& student_id,
6308 const absl::string_view& invitation_id,
6321 _have_update_mask_ =
false;
6322 client::ClearCppValueHelper(&update_mask_);
6340 _have_update_mask_ =
true;
6341 return &update_mask_;
6360 _have_update_mask_ =
true;
6361 update_mask_ = value;
6373 virtual util::Status AppendVariable(
6374 const StringPiece& variable_name,
6375 const client::UriTemplateConfig& config,
6383 virtual util::Status AppendOptionalQueryParameters(
string* target);
6398 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
6403 string invitation_id_;
6404 string update_mask_;
6405 bool _have_update_mask_ : 1;
string _content_;
6440 client::AuthorizationCredential* _credential_,
6441 const absl::string_view& student_id,
6442 const absl::string_view& guardian_id);
6459 virtual util::Status AppendVariable(
6460 const StringPiece& variable_name,
6461 const client::UriTemplateConfig& config,
6477 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
6482 string guardian_id_;
6518 client::AuthorizationCredential* _credential_,
6519 const absl::string_view& student_id,
6520 const absl::string_view& guardian_id);
6537 virtual util::Status AppendVariable(
6538 const StringPiece& variable_name,
6539 const client::UriTemplateConfig& config,
6555 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
6560 string guardian_id_;
6598 client::AuthorizationCredential* _credential_,
6599 const absl::string_view& student_id);
6611 _have_page_token_ =
false;
6612 client::ClearCppValueHelper(&page_token_);
6630 _have_page_token_ =
true;
6631 return &page_token_;
6647 _have_page_token_ =
true;
6648 page_token_ = value;
6658 _have_invited_email_address_ =
false;
6659 client::ClearCppValueHelper(&invited_email_address_);
6677 _have_invited_email_address_ =
true;
6678 return &invited_email_address_;
6691 _have_invited_email_address_ =
true;
6692 invited_email_address_ = value;
6701 _have_page_size_ =
false;
6702 client::ClearCppValueHelper(&page_size_);
6723 _have_page_size_ =
true;
6736 virtual util::Status AppendVariable(
6737 const StringPiece& variable_name,
6738 const client::UriTemplateConfig& config,
6746 virtual util::Status AppendOptionalQueryParameters(
string* target);
6761 return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
6767 string invited_email_address_;
6769 bool _have_page_token_ : 1;
6770 bool _have_invited_email_address_ : 1;
6771 bool _have_page_size_ : 1;
6775 typedef client::ServiceRequestPager<
6778 UserProfilesResource_GuardiansResource_ListMethodPager;
6795 static const char googleapis_API_NAME[];
6800 static const char googleapis_API_VERSION[];
6805 static const char googleapis_API_GENERATOR[];
6864 client::AuthorizationCredential* _credential_,
6865 const absl::string_view& course_id,
6883 client::AuthorizationCredential* _credential_,
6884 const absl::string_view& course_id,
6885 const absl::string_view& alias)
const;
6898 CoursesResource_AliasesResource_ListMethod* NewListMethod(
6899 client::AuthorizationCredential* _credential_,
6900 const absl::string_view& course_id)
const;
6913 CoursesResource_AliasesResource_ListMethodPager* NewListMethodPager(
6914 client::AuthorizationCredential* _credential_,
6915 const absl::string_view& course_id)
const;
6968 client::AuthorizationCredential* _credential_,
6969 const absl::string_view& course_id,
6987 client::AuthorizationCredential* _credential_,
6988 const absl::string_view& course_id,
6989 const absl::string_view&
id)
const;
7004 client::AuthorizationCredential* _credential_,
7005 const absl::string_view& course_id,
7006 const absl::string_view&
id)
const;
7020 CoursesResource_AnnouncementsResource_ListMethod* NewListMethod(
7021 client::AuthorizationCredential* _credential_,
7022 const absl::string_view& course_id)
const;
7035 CoursesResource_AnnouncementsResource_ListMethodPager* NewListMethodPager(
7036 client::AuthorizationCredential* _credential_,
7037 const absl::string_view& course_id)
const;
7054 client::AuthorizationCredential* _credential_,
7055 const absl::string_view& course_id,
7056 const absl::string_view&
id,
7074 client::AuthorizationCredential* _credential_,
7075 const absl::string_view& course_id,
7076 const absl::string_view&
id,
7090 return announcements_;
7152 client::AuthorizationCredential* _credential_,
7153 const absl::string_view& course_id,
7154 const absl::string_view& course_work_id,
7155 const absl::string_view&
id)
const;
7173 CoursesResource_CourseWorkResource_StudentSubmissionsResource_ListMethod* NewListMethod(
7174 client::AuthorizationCredential* _credential_,
7175 const absl::string_view& course_id,
7176 const absl::string_view& course_work_id)
const;
7194 CoursesResource_CourseWorkResource_StudentSubmissionsResource_ListMethodPager* NewListMethodPager(
7195 client::AuthorizationCredential* _credential_,
7196 const absl::string_view& course_id,
7197 const absl::string_view& course_work_id)
const;
7215 client::AuthorizationCredential* _credential_,
7216 const absl::string_view& course_id,
7217 const absl::string_view& course_work_id,
7218 const absl::string_view&
id,
7237 client::AuthorizationCredential* _credential_,
7238 const absl::string_view& course_id,
7239 const absl::string_view& course_work_id,
7240 const absl::string_view&
id,
7259 client::AuthorizationCredential* _credential_,
7260 const absl::string_view& course_id,
7261 const absl::string_view& course_work_id,
7262 const absl::string_view&
id,
7281 client::AuthorizationCredential* _credential_,
7282 const absl::string_view& course_id,
7283 const absl::string_view& course_work_id,
7284 const absl::string_view&
id,
7303 client::AuthorizationCredential* _credential_,
7304 const absl::string_view& course_id,
7305 const absl::string_view& course_work_id,
7306 const absl::string_view&
id,
7320 return student_submissions_;
7338 client::AuthorizationCredential* _credential_,
7339 const absl::string_view& course_id,
7356 client::AuthorizationCredential* _credential_,
7357 const absl::string_view& course_id,
7358 const absl::string_view&
id)
const;
7373 client::AuthorizationCredential* _credential_,
7374 const absl::string_view& course_id,
7375 const absl::string_view&
id)
const;
7388 CoursesResource_CourseWorkResource_ListMethod* NewListMethod(
7389 client::AuthorizationCredential* _credential_,
7390 const absl::string_view& course_id)
const;
7403 CoursesResource_CourseWorkResource_ListMethodPager* NewListMethodPager(
7404 client::AuthorizationCredential* _credential_,
7405 const absl::string_view& course_id)
const;
7422 client::AuthorizationCredential* _credential_,
7423 const absl::string_view& course_id,
7424 const absl::string_view&
id,
7441 client::AuthorizationCredential* _credential_,
7442 const absl::string_view& course_id,
7443 const absl::string_view&
id,
7458 return course_work_;
7497 client::AuthorizationCredential* _credential_,
7498 const absl::string_view& course_id,
7499 const Student& _content_)
const;
7520 client::AuthorizationCredential* _credential_,
7521 const absl::string_view& course_id,
7522 const absl::string_view& user_id)
const;
7543 client::AuthorizationCredential* _credential_,
7544 const absl::string_view& course_id,
7545 const absl::string_view& user_id)
const;
7558 CoursesResource_StudentsResource_ListMethod* NewListMethod(
7559 client::AuthorizationCredential* _credential_,
7560 const absl::string_view& course_id)
const;
7573 CoursesResource_StudentsResource_ListMethodPager* NewListMethodPager(
7574 client::AuthorizationCredential* _credential_,
7575 const absl::string_view& course_id)
const;
7627 client::AuthorizationCredential* _credential_,
7628 const absl::string_view& course_id,
7629 const Teacher& _content_)
const;
7650 client::AuthorizationCredential* _credential_,
7651 const absl::string_view& course_id,
7652 const absl::string_view& user_id)
const;
7673 client::AuthorizationCredential* _credential_,
7674 const absl::string_view& course_id,
7675 const absl::string_view& user_id)
const;
7688 CoursesResource_TeachersResource_ListMethod* NewListMethod(
7689 client::AuthorizationCredential* _credential_,
7690 const absl::string_view& course_id)
const;
7703 CoursesResource_TeachersResource_ListMethodPager* NewListMethodPager(
7704 client::AuthorizationCredential* _credential_,
7705 const absl::string_view& course_id)
const;
7757 client::AuthorizationCredential* _credential_,
7758 const absl::string_view& course_id,
7759 const Topic& _content_)
const;
7774 client::AuthorizationCredential* _credential_,
7775 const absl::string_view& course_id,
7776 const absl::string_view&
id)
const;
7789 client::AuthorizationCredential* _credential_,
7790 const absl::string_view& course_id,
7791 const absl::string_view&
id)
const;
7804 CoursesResource_TopicsResource_ListMethod* NewListMethod(
7805 client::AuthorizationCredential* _credential_,
7806 const absl::string_view& course_id)
const;
7819 CoursesResource_TopicsResource_ListMethodPager* NewListMethodPager(
7820 client::AuthorizationCredential* _credential_,
7821 const absl::string_view& course_id)
const;
7837 client::AuthorizationCredential* _credential_,
7838 const absl::string_view& course_id,
7839 const absl::string_view&
id,
7840 const Topic& _content_)
const;
7868 client::AuthorizationCredential* _credential_,
7869 const Course& _content_)
const;
7883 client::AuthorizationCredential* _credential_,
7884 const absl::string_view&
id)
const;
7898 client::AuthorizationCredential* _credential_,
7899 const absl::string_view&
id)
const;
7909 CoursesResource_ListMethod* NewListMethod(
7910 client::AuthorizationCredential* _credential_)
const;
7918 CoursesResource_ListMethodPager* NewListMethodPager(
7919 client::AuthorizationCredential* _credential_)
const;
7934 client::AuthorizationCredential* _credential_,
7935 const absl::string_view&
id,
7936 const Course& _content_)
const;
7951 client::AuthorizationCredential* _credential_,
7952 const absl::string_view&
id,
7953 const Course& _content_)
const;
7999 client::AuthorizationCredential* _credential_,
8000 const absl::string_view&
id)
const;
8012 client::AuthorizationCredential* _credential_,
8025 client::AuthorizationCredential* _credential_,
8026 const absl::string_view&
id)
const;
8038 client::AuthorizationCredential* _credential_,
8039 const absl::string_view&
id)
const;
8049 InvitationsResource_ListMethod* NewListMethod(
8050 client::AuthorizationCredential* _credential_)
const;
8058 InvitationsResource_ListMethodPager* NewListMethodPager(
8059 client::AuthorizationCredential* _credential_)
const;
8099 client::AuthorizationCredential* _credential_,
8113 client::AuthorizationCredential* _credential_,
8114 const absl::string_view& registration_id)
const;
8177 client::AuthorizationCredential* _credential_,
8178 const absl::string_view& student_id,
8195 client::AuthorizationCredential* _credential_,
8196 const absl::string_view& student_id,
8197 const absl::string_view& invitation_id)
const;
8219 UserProfilesResource_GuardianInvitationsResource_ListMethod* NewListMethod(
8220 client::AuthorizationCredential* _credential_,
8221 const absl::string_view& student_id)
const;
8242 UserProfilesResource_GuardianInvitationsResource_ListMethodPager* NewListMethodPager(
8243 client::AuthorizationCredential* _credential_,
8244 const absl::string_view& student_id)
const;
8261 client::AuthorizationCredential* _credential_,
8262 const absl::string_view& student_id,
8263 const absl::string_view& invitation_id,
8277 return guardian_invitations_;
8320 client::AuthorizationCredential* _credential_,
8321 const absl::string_view& student_id,
8322 const absl::string_view& guardian_id)
const;
8341 client::AuthorizationCredential* _credential_,
8342 const absl::string_view& student_id,
8343 const absl::string_view& guardian_id)
const;
8364 UserProfilesResource_GuardiansResource_ListMethod* NewListMethod(
8365 client::AuthorizationCredential* _credential_,
8366 const absl::string_view& student_id)
const;
8386 UserProfilesResource_GuardiansResource_ListMethodPager* NewListMethodPager(
8387 client::AuthorizationCredential* _credential_,
8388 const absl::string_view& student_id)
const;
8422 client::AuthorizationCredential* _credential_,
8423 const absl::string_view& user_id)
const;
8464 return invitations_;
8474 return registrations_;
8484 return user_profiles_;
8498 static const char CLASSROOM_ANNOUNCEMENTS[];
8503 static const char CLASSROOM_ANNOUNCEMENTS_READONLY[];
8508 static const char CLASSROOM_COURSES[];
8513 static const char CLASSROOM_COURSES_READONLY[];
8518 static const char CLASSROOM_COURSEWORK_ME[];
8523 static const char CLASSROOM_COURSEWORK_ME_READONLY[];
8530 static const char CLASSROOM_COURSEWORK_STUDENTS[];
8536 static const char CLASSROOM_COURSEWORK_STUDENTS_READONLY[];
8541 static const char CLASSROOM_GUARDIANLINKS_ME_READONLY[];
8546 static const char CLASSROOM_GUARDIANLINKS_STUDENTS[];
8551 static const char CLASSROOM_GUARDIANLINKS_STUDENTS_READONLY[];
8556 static const char CLASSROOM_PROFILE_EMAILS[];
8561 static const char CLASSROOM_PROFILE_PHOTOS[];
8566 static const char CLASSROOM_PUSH_NOTIFICATIONS[];
8571 static const char CLASSROOM_ROSTERS[];
8576 static const char CLASSROOM_ROSTERS_READONLY[];
8581 static const char CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY[];
8587 static const char CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY[];
8592 static const char CLASSROOM_TOPICS[];
8597 static const char CLASSROOM_TOPICS_READONLY[];
8645 #endif // GOOGLE_CLASSROOM_API_CLASSROOM_SERVICE_H_ void clear_quota_user()
Definition: classroom_service.h:452
util::Status ExecuteAndParseResponse(CourseAlias *data)
Definition: classroom_service.h:1382
util::Status ExecuteAndParseResponse(Topic *data)
Definition: classroom_service.h:4725
const string & get_student_id() const
Definition: classroom_service.h:869
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:2439
util::Status ExecuteAndParseResponse(Announcement *data)
Definition: classroom_service.h:1693
const string & get_course_id() const
Definition: classroom_service.h:5482
const string & get_upload_protocol() const
Definition: classroom_service.h:546
void set_page_size(int32 value)
Definition: classroom_service.h:6722
Definition: classroom_service.h:7597
Definition: classroom_service.h:7972
Definition: classroom_service.h:6500
const string & get_page_token() const
Definition: classroom_service.h:2623
const string & get_late() const
Definition: classroom_service.h:3176
string * mutable_alt()
Definition: classroom_service.h:245
int32 get_page_size() const
Definition: classroom_service.h:4596
void clear_alt()
Definition: classroom_service.h:227
void set_page_size(int32 value)
Definition: classroom_service.h:2003
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:4797
Definition: student_submission.h:60
client::JsonCppArray< string > * mutable_courseStates()
Definition: classroom_service.h:1045
string * mutable_pageToken()
Definition: classroom_service.h:3226
util::Status ExecuteAndParseResponse(Announcement *data)
Definition: classroom_service.h:2290
string * mutable_orderBy()
Definition: classroom_service.h:1909
string * mutable_updateMask()
Definition: classroom_service.h:2904
void clear_update_mask()
Definition: classroom_service.h:2208
string * mutable_oauthToken()
Definition: classroom_service.h:405
const client::JsonCppArray< string > & get_course_states() const
Definition: classroom_service.h:1037
void clear_page_size()
Definition: classroom_service.h:5604
client::JsonCppArray< string > * mutable_courseWorkStates()
Definition: classroom_service.h:2708
const string & get_page_token() const
Definition: classroom_service.h:1517
util::Status ExecuteAndParseResponse(ListGuardianInvitationsResponse *data)
Definition: classroom_service.h:6255
Definition: classroom_service.h:4431
void clear_oauth_token()
Definition: classroom_service.h:386
util::Status ExecuteAndParseResponse(ListInvitationsResponse *data)
Definition: classroom_service.h:5662
void set_page_token(const string &value)
Definition: classroom_service.h:6646
Definition: classroom_service.h:1480
Definition: classroom_service.h:5698
~StudentsResource()
Definition: classroom_service.h:7481
string * mutable_pageToken()
Definition: classroom_service.h:4558
void clear_late()
Definition: classroom_service.h:3165
void clear_page_size()
Definition: classroom_service.h:4965
void set_late(const string &value)
Definition: classroom_service.h:3197
Definition: classroom_service.h:4747
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:1456
Definition: list_course_aliases_response.h:52
Definition: classroom_service.h:6937
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:3643
~CourseWorkResource()
Definition: classroom_service.h:7113
string * mutable_invitedEmailAddress()
Definition: classroom_service.h:6676
const string & get_page_token() const
Definition: classroom_service.h:5569
void set_page_size(int32 value)
Definition: classroom_service.h:4987
void set_page_size(int32 value)
Definition: classroom_service.h:2680
Definition: classroom_service.h:6834
Definition: classroom_service.h:765
void set_page_size(int32 value)
Definition: classroom_service.h:5625
client::JsonCppArray< string > * mutable_states()
Definition: classroom_service.h:3301
Definition: registration.h:54
void set_callback(const string &value)
Definition: classroom_service.h:295
~CoursesResource()
Definition: classroom_service.h:6827
util::Status ExecuteAndParseResponse(Course *data)
Definition: classroom_service.h:1233
void clear_access_token()
Definition: classroom_service.h:187
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:5797
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:3721
util::Status ExecuteAndParseResponse(ListTeachersResponse *data)
Definition: classroom_service.h:4643
void set_page_token(const string &value)
Definition: classroom_service.h:940
Definition: classroom_service.h:3949
void set_xgafv(const string &value)
Definition: classroom_service.h:177
void set_update_mask(const string &value)
Definition: classroom_service.h:2936
const string & get_quota_user() const
Definition: classroom_service.h:463
Definition: classroom_service.h:1257
Definition: modify_announcement_assignees_request.h:52
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:6475
string * mutable_invitedEmailAddress()
Definition: classroom_service.h:6145
util::Status ExecuteAndParseResponse(ListGuardiansResponse *data)
Definition: classroom_service.h:6759
Definition: course_work.h:57
string * mutable_courseId()
Definition: classroom_service.h:5490
void set_page_size(int32 value)
Definition: classroom_service.h:4606
string * mutable_pageToken()
Definition: classroom_service.h:5577
string * mutable_enrollmentCode()
Definition: classroom_service.h:3874
void clear_fields()
Definition: classroom_service.h:305
int32 get_page_size() const
Definition: classroom_service.h:961
void set_quota_user(const string &value)
Definition: classroom_service.h:484
Definition: classroom_service.h:1790
util::Status ExecuteAndParseResponse(GuardianInvitation *data)
Definition: classroom_service.h:6396
Definition: list_students_response.h:52
util::Status ExecuteAndParseResponse(ListCoursesResponse *data)
Definition: classroom_service.h:1082
util::Status ExecuteAndParseResponse(Announcement *data)
Definition: classroom_service.h:2155
Definition: classroom_service.h:1404
Definition: classroom_service.h:3456
void set_page_token(const string &value)
Definition: classroom_service.h:4955
void clear_page_token()
Definition: classroom_service.h:4139
void clear_course_id()
Definition: classroom_service.h:5471
util::Status ExecuteAndParseResponse(ListCourseWorkResponse *data)
Definition: classroom_service.h:2745
util::Status ExecuteAndParseResponse(Guardian *data)
Definition: classroom_service.h:6553
void set_fields(const string &value)
Definition: classroom_service.h:335
void set_page_size(int32 value)
Definition: classroom_service.h:6218
void clear_page_token()
Definition: classroom_service.h:6079
Definition: classroom_service.h:4675
util::Status ExecuteAndParseResponse(Course *data)
Definition: classroom_service.h:1307
int32 get_page_size() const
Definition: classroom_service.h:6711
void set_invited_email_address(const string &value)
Definition: classroom_service.h:6690
Definition: classroom_service.h:4513
Definition: classroom_service.h:1332
void set_alt(const string &value)
Definition: classroom_service.h:256
void set_page_token(const string &value)
Definition: classroom_service.h:1542
Definition: classroom_service.h:5901
void clear_user_id()
Definition: classroom_service.h:3119
Definition: classroom_service.h:5972
util::Status ExecuteAndParseResponse(Student *data)
Definition: classroom_service.h:4087
Definition: classroom_service.h:6578
void clear_states()
Definition: classroom_service.h:3283
void clear_page_token()
Definition: classroom_service.h:6610
const client::JsonCppArray< string > & get_announcement_states() const
Definition: classroom_service.h:2023
Definition: classroom_service.h:642
void clear_page_token()
Definition: classroom_service.h:3207
int32 get_page_size() const
Definition: classroom_service.h:5615
void set_pretty_print(bool value)
Definition: classroom_service.h:444
void set_key(const string &value)
Definition: classroom_service.h:376
void set_update_mask(const string &value)
Definition: classroom_service.h:5127
void set_invited_email_address(const string &value)
Definition: classroom_service.h:6158
util::Status ExecuteAndParseResponse(CourseWork *data)
Definition: classroom_service.h:2366
void set_student_id(const string &value)
Definition: classroom_service.h:894
string * mutable_updateMask()
Definition: classroom_service.h:2227
const UserProfilesResource & get_user_profiles() const
Definition: classroom_service.h:8483
Definition: classroom_service.h:4893
util::Status ExecuteAndParseResponse(ListStudentsResponse *data)
Definition: classroom_service.h:4243
util::Status ExecuteAndParseResponse(UserProfile *data)
Definition: classroom_service.h:5876
Definition: classroom_service.h:7099
int32 get_page_size() const
Definition: classroom_service.h:4196
void set_enrollment_code(const string &value)
Definition: classroom_service.h:3888
const GuardianInvitationsResource & get_guardian_invitations() const
Definition: classroom_service.h:8276
const string & get_xgafv() const
Definition: classroom_service.h:159
void clear_invited_email_address()
Definition: classroom_service.h:6657
~AliasesResource()
Definition: classroom_service.h:6848
void clear_page_token()
Definition: classroom_service.h:4539
Definition: list_guardian_invitations_response.h:52
const StudentSubmissionsResource & get_student_submissions() const
Definition: classroom_service.h:7319
Definition: classroom_service.h:5380
void clear_enrollment_code()
Definition: classroom_service.h:3855
Definition: classroom_service.h:5311
util::Status ExecuteAndParseResponse(ListAnnouncementsResponse *data)
Definition: classroom_service.h:2068
~TopicsResource()
Definition: classroom_service.h:7741
Definition: classroom_service.h:1118
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:742
const string & get_teacher_id() const
Definition: classroom_service.h:991
Definition: classroom_service.h:3089
const string & get_oauth_token() const
Definition: classroom_service.h:397
void clear_page_token()
Definition: classroom_service.h:2612
Definition: classroom_service.h:5191
const CourseWorkResource & get_course_work() const
Definition: classroom_service.h:7457
const TeachersResource & get_teachers() const
Definition: classroom_service.h:7717
Definition: classroom_service.h:3007
void clear_student_id()
Definition: classroom_service.h:858
const AliasesResource & get_aliases() const
Definition: classroom_service.h:6927
const RegistrationsResource & get_registrations() const
Definition: classroom_service.h:8473
string * mutable_pageToken()
Definition: classroom_service.h:6629
Definition: classroom_service.h:5449
Definition: classroom_service.h:3826
string * mutable_pageToken()
Definition: classroom_service.h:4938
Definition: classroom_service.h:5824
~AnnouncementsResource()
Definition: classroom_service.h:6951
Definition: classroom_service.h:2855
const string & get_update_mask() const
Definition: classroom_service.h:2219
Definition: modify_attachments_request.h:51
void clear_course_states()
Definition: classroom_service.h:1026
Definition: classroom_service.h:7467
void set_page_token(const string &value)
Definition: classroom_service.h:2648
util::Status ExecuteAndParseResponse(CourseWork *data)
Definition: classroom_service.h:2515
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:4005
void clear_page_size()
Definition: classroom_service.h:1552
Definition: classroom_service.h:6422
void clear_page_size()
Definition: classroom_service.h:2658
string * mutable_orderBy()
Definition: classroom_service.h:2586
const InvitationsResource & get_invitations() const
Definition: classroom_service.h:8463
void set_page_token(const string &value)
Definition: classroom_service.h:1971
Definition: classroom_service.h:4031
const string & get_update_mask() const
Definition: classroom_service.h:3499
const CoursesResource & get_courses() const
Definition: classroom_service.h:8453
const string & get_page_token() const
Definition: classroom_service.h:915
Definition: classroom_service.h:4277
string * mutable_uploadProtocol()
Definition: classroom_service.h:554
void clear_page_token()
Definition: classroom_service.h:904
Definition: classroom_service.h:7120
const string & get_user_id() const
Definition: classroom_service.h:3130
Definition: classroom_service.h:2103
string * mutable_studentId()
Definition: classroom_service.h:877
void set_upload_type(const string &value)
Definition: classroom_service.h:525
string * mutable_updateMask()
Definition: classroom_service.h:6339
Definition: classroom_service.h:2541
void clear_page_size()
Definition: classroom_service.h:6700
const TopicsResource & get_topics() const
Definition: classroom_service.h:7852
void clear_course_work_states()
Definition: classroom_service.h:2689
void clear_update_mask()
Definition: classroom_service.h:1146
util::Status ExecuteAndParseResponse(Registration *data)
Definition: classroom_service.h:5728
void clear_page_size()
Definition: classroom_service.h:3253
Definition: classroom_service.h:8493
string * mutable_userId()
Definition: classroom_service.h:3137
Definition: classroom_service.h:5750
void set_page_token(const string &value)
Definition: classroom_service.h:4175
int32 get_page_size() const
Definition: classroom_service.h:3264
Definition: classroom_service.h:6813
const string & get_callback() const
Definition: classroom_service.h:277
const GuardiansResource & get_guardians() const
Definition: classroom_service.h:8400
const string & get_page_token() const
Definition: classroom_service.h:4150
Definition: classroom_service.h:109
void set_upload_protocol(const string &value)
Definition: classroom_service.h:565
string *mutable_ $Xgafv()
Definition: classroom_service.h:166
Definition: list_invitations_response.h:52
util::Status ExecuteAndParseResponse(Student *data)
Definition: classroom_service.h:3925
const string & get_update_mask() const
Definition: classroom_service.h:5096
void set_page_token(const string &value)
Definition: classroom_service.h:4575
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:3799
const string & get_update_mask() const
Definition: classroom_service.h:6331
util::Status ExecuteAndParseResponse(ListCourseAliasesResponse *data)
Definition: classroom_service.h:1611
util::Status ExecuteAndParseResponse(Course *data)
Definition: classroom_service.h:813
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:1766
string * mutable_pageToken()
Definition: classroom_service.h:1525
Definition: classroom_service.h:8286
void clear_callback()
Definition: classroom_service.h:266
const string & get_order_by() const
Definition: classroom_service.h:1901
void clear_invited_email_address()
Definition: classroom_service.h:6126
const string & get_order_by() const
Definition: classroom_service.h:2578
util::Status ExecuteAndParseResponse(CourseWork *data)
Definition: classroom_service.h:2832
void clear_page_size()
Definition: classroom_service.h:1981
void clear_page_token()
Definition: classroom_service.h:4919
void clear_states()
Definition: classroom_service.h:6168
Definition: classroom_service.h:3667
void clear_page_size()
Definition: classroom_service.h:950
Definition: list_announcements_response.h:52
Definition: classroom_service.h:3589
util::Status ExecuteAndParseResponse(Announcement *data)
Definition: classroom_service.h:1840
void set_course_id(const string &value)
Definition: classroom_service.h:5503
void clear_upload_type()
Definition: classroom_service.h:494
client::JsonCppArray< string > * mutable_announcementStates()
Definition: classroom_service.h:2031
void set_order_by(const string &value)
Definition: classroom_service.h:2602
Definition: classroom_service.h:4349
string * mutable_updateMask()
Definition: classroom_service.h:1165
void set_user_id(const string &value)
Definition: classroom_service.h:5548
util::Status ExecuteAndParseResponse(Invitation *data)
Definition: classroom_service.h:5426
const StudentsResource & get_students() const
Definition: classroom_service.h:7587
const string & get_invited_email_address() const
Definition: classroom_service.h:6137
void set_page_size(int32 value)
Definition: classroom_service.h:972
void set_update_mask(const string &value)
Definition: classroom_service.h:3526
Definition: classroom_service.h:836
Definition: classroom_service.h:694
Definition: classroom_service.h:1715
bool get_pretty_print() const
Definition: classroom_service.h:437
Definition: list_course_work_response.h:52
util::Status ExecuteAndParseResponse(CourseWork *data)
Definition: classroom_service.h:2973
string * mutable_userId()
Definition: classroom_service.h:5531
void clear_key()
Definition: classroom_service.h:345
const string & get_page_token() const
Definition: classroom_service.h:1946
Definition: modify_course_work_assignees_request.h:52
const string & get_user_id() const
Definition: classroom_service.h:5524
util::Status ExecuteAndParseResponse(ListStudentSubmissionsResponse *data)
Definition: classroom_service.h:3338
util::Status ExecuteAndParseResponse(StudentSubmission *data)
Definition: classroom_service.h:3059
const string & get_page_token() const
Definition: classroom_service.h:6621
void set_page_size(int32 value)
Definition: classroom_service.h:1574
string * mutable_fields()
Definition: classroom_service.h:323
~InvitationsResource()
Definition: classroom_service.h:7986
~TeachersResource()
Definition: classroom_service.h:7611
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:5357
string * mutable_accessToken()
Definition: classroom_service.h:206
Definition: invitation.h:50
void set_update_mask(const string &value)
Definition: classroom_service.h:1196
Definition: classroom_service.h:5055
void clear_order_by()
Definition: classroom_service.h:2567
string * mutable_pageToken()
Definition: classroom_service.h:2631
void clear_order_by()
Definition: classroom_service.h:1890
void clear_update_mask()
Definition: classroom_service.h:5085
util::Status ExecuteAndParseResponse(Invitation *data)
Definition: classroom_service.h:5289
Definition: classroom_service.h:3745
Definition: list_courses_response.h:52
Definition: announcement.h:53
const string & get_access_token() const
Definition: classroom_service.h:198
void clear_page_token()
Definition: classroom_service.h:1506
const client::JsonCppArray< string > & get_course_work_states() const
Definition: classroom_service.h:2700
string * mutable_uploadType()
Definition: classroom_service.h:513
Definition: list_topic_response.h:52
void set_order_by(const string &value)
Definition: classroom_service.h:1925
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:4405
Definition: classroom_service.h:2780
string * mutable_pageToken()
Definition: classroom_service.h:6098
const string & get_upload_type() const
Definition: classroom_service.h:505
Definition: classroom_service.h:3377
Definition: list_student_submissions_response.h:52
Definition: announcement.cc:43
~GuardianInvitationsResource()
Definition: classroom_service.h:8162
Definition: list_teachers_response.h:52
const string & get_alt() const
Definition: classroom_service.h:238
int32 get_page_size() const
Definition: classroom_service.h:1992
string * mutable_callback()
Definition: classroom_service.h:284
void set_page_size(int32 value)
Definition: classroom_service.h:4206
util::Status ExecuteAndParseResponse(Topic *data)
Definition: classroom_service.h:5164
string * mutable_quotaUser()
Definition: classroom_service.h:471
int32 get_page_size() const
Definition: classroom_service.h:6207
Definition: classroom_service.h:6046
void clear_xgafv()
Definition: classroom_service.h:148
string * mutable_teacherId()
Definition: classroom_service.h:999
const string & get_page_token() const
Definition: classroom_service.h:4550
void clear_page_size()
Definition: classroom_service.h:6196
util::Status ExecuteAndParseResponse(ListTopicResponse *data)
Definition: classroom_service.h:5024
string * mutable_late()
Definition: classroom_service.h:3183
void set_teacher_id(const string &value)
Definition: classroom_service.h:1016
Definition: classroom_service.h:2178
Definition: classroom_service.h:1643
Definition: classroom_service.h:1864
void clear_page_token()
Definition: classroom_service.h:5558
void clear_teacher_id()
Definition: classroom_service.h:980
void set_page_token(const string &value)
Definition: classroom_service.h:3243
Definition: classroom_service.h:8072
Definition: user_profile.h:53
Definition: classroom_service.h:8148
util::Status ExecuteAndParseResponse(GuardianInvitation *data)
Definition: classroom_service.h:6022
const string & get_invited_email_address() const
Definition: classroom_service.h:6668
const string & get_page_token() const
Definition: classroom_service.h:4930
Definition: classroom_service.h:8127
Definition: classroom_service.h:2388
int32 get_page_size() const
Definition: classroom_service.h:2669
const string & get_update_mask() const
Definition: classroom_service.h:2896
string * mutable_pageToken()
Definition: classroom_service.h:923
string * mutable_key()
Definition: classroom_service.h:363
~StudentSubmissionsResource()
Definition: classroom_service.h:7134
string * mutable_pageToken()
Definition: classroom_service.h:1954
void clear_page_size()
Definition: classroom_service.h:4585
const string & get_fields() const
Definition: classroom_service.h:316
const string & get_page_token() const
Definition: classroom_service.h:6090
const client::JsonCppArray< string > & get_states() const
Definition: classroom_service.h:3294
void set_user_id(const string &value)
Definition: classroom_service.h:3155
const string & get_page_token() const
Definition: classroom_service.h:3218
const client::JsonCppArray< string > & get_states() const
Definition: classroom_service.h:6179
void clear_update_mask()
Definition: classroom_service.h:2885
void set_oauth_token(const string &value)
Definition: classroom_service.h:416
Definition: classroom_service.h:6790
const string & get_key() const
Definition: classroom_service.h:356
Definition: guardian_invitation.h:51
int32 get_page_size() const
Definition: classroom_service.h:4976
void clear_update_mask()
Definition: classroom_service.h:3488
void set_page_size(int32 value)
Definition: classroom_service.h:3275
string * mutable_updateMask()
Definition: classroom_service.h:3507
Definition: classroom_service.h:7727
util::Status ExecuteAndParseResponse(Topic *data)
Definition: classroom_service.h:4869
Definition: turn_in_student_submission_request.h:49
util::Status ExecuteAndParseResponse(StudentSubmission *data)
Definition: classroom_service.h:3563
~UserProfilesResource()
Definition: classroom_service.h:8141
Definition: return_student_submission_request.h:49
void clear_update_mask()
Definition: classroom_service.h:6320
Definition: classroom_service.h:2316
void clear_upload_protocol()
Definition: classroom_service.h:535
Definition: classroom_service.h:6290
void set_page_token(const string &value)
Definition: classroom_service.h:6115
string * mutable_pageToken()
Definition: classroom_service.h:4158
Definition: classroom_service.h:4821
util::Status ExecuteAndParseResponse(Course *data)
Definition: classroom_service.h:672
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:5237
void set_update_mask(const string &value)
Definition: classroom_service.h:6359
void set_page_token(const string &value)
Definition: classroom_service.h:5594
~RegistrationsResource()
Definition: classroom_service.h:8086
const AnnouncementsResource & get_announcements() const
Definition: classroom_service.h:7089
void clear_user_id()
Definition: classroom_service.h:5513
const string & get_enrollment_code() const
Definition: classroom_service.h:3866
Definition: guardian.h:53
void clear_page_size()
Definition: classroom_service.h:4185
client::JsonCppArray< string > * mutable_states()
Definition: classroom_service.h:6186
util::Status ExecuteAndParseResponse(Teacher *data)
Definition: classroom_service.h:4487
const string & get_update_mask() const
Definition: classroom_service.h:1157
util::Status ExecuteAndParseResponse(StudentSubmission *data)
Definition: classroom_service.h:3431
Definition: course_alias.h:64
util::Status ExecuteAndParseResponse(Teacher *data)
Definition: classroom_service.h:4327
Definition: classroom_service.h:2465
string * mutable_updateMask()
Definition: classroom_service.h:5104
~GuardiansResource()
Definition: classroom_service.h:8300
Definition: classroom_service.h:5259
Definition: list_guardians_response.h:52
void clear_page_token()
Definition: classroom_service.h:1935
void clear_announcement_states()
Definition: classroom_service.h:2012
void clear_pretty_print()
Definition: classroom_service.h:426
util::Status ExecuteAndParseResponse(GuardianInvitation *data)
Definition: classroom_service.h:5949
void set_access_token(const string &value)
Definition: classroom_service.h:217
void set_update_mask(const string &value)
Definition: classroom_service.h:2253
Definition: reclaim_student_submission_request.h:49
int32 get_page_size() const
Definition: classroom_service.h:1563
Definition: classroom_service.h:4113