classroom
v1
|
#include <classroom_service.h>
Public Member Functions | |
StudentsResource (ClassroomService *service) | |
~StudentsResource () | |
CoursesResource_StudentsResource_CreateMethod * | NewCreateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id, const Student &_content_) const |
CoursesResource_StudentsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id, const absl::string_view &user_id) const |
CoursesResource_StudentsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id, const absl::string_view &user_id) const |
CoursesResource_StudentsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id) const |
CoursesResource_StudentsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &course_id) const |
Acts as message factory for accessing data.
|
explicit |
Standard constructor.
[in] | service | The service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on. |
|
inline |
Standard destructor.
CoursesResource_StudentsResource_CreateMethod * google_classroom_api::ClassroomService::CoursesResource::StudentsResource::NewCreateMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | course_id, | ||
const Student & | _content_ | ||
) | const |
Creates a new CoursesResource_StudentsResource_CreateMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | course_id | Identifier of the course to create the student in. This identifier can be either the Classroom-assigned identifier or an alias. |
[in] | <em>content</em> | The data object to create. |
Execute
the method instance, then destroy it when they are finished. CoursesResource_StudentsResource_DeleteMethod * google_classroom_api::ClassroomService::CoursesResource::StudentsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | course_id, | ||
const absl::string_view & | user_id | ||
) | const |
Creates a new CoursesResource_StudentsResource_DeleteMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | course_id | Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias. |
[in] | user_id | Identifier of the student to delete. The identifier can be one of the following: |
"me"
, indicating the requesting user. Execute
the method instance, then destroy it when they are finished. CoursesResource_StudentsResource_GetMethod * google_classroom_api::ClassroomService::CoursesResource::StudentsResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | course_id, | ||
const absl::string_view & | user_id | ||
) | const |
Creates a new CoursesResource_StudentsResource_GetMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | course_id | Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias. |
[in] | user_id | Identifier of the student to return. The identifier can be one of the following: |
"me"
, indicating the requesting user. Execute
the method instance, then destroy it when they are finished. CoursesResource_StudentsResource_ListMethod * google_classroom_api::ClassroomService::CoursesResource::StudentsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | course_id | ||
) | const |
Creates a new CoursesResource_StudentsResource_ListMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | course_id | Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias. |
Execute
the method instance, then destroy it when they are finished. CoursesResource_StudentsResource_ListMethodPager * google_classroom_api::ClassroomService::CoursesResource::StudentsResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | course_id | ||
) | const |
Creates a pager for iterating over incremental result pages.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
[in] | course_id | Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias. |