classroom
v1
|
#include <classroom_service.h>
Public Member Functions | |
TopicsResource (ClassroomService *service) | |
~TopicsResource () | |
CoursesResource_TopicsResource_CreateMethod * | NewCreateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id, const Topic &_content_) const |
CoursesResource_TopicsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id, const absl::string_view &id) const |
CoursesResource_TopicsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id, const absl::string_view &id) const |
CoursesResource_TopicsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id) const |
CoursesResource_TopicsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &course_id) const |
CoursesResource_TopicsResource_PatchMethod * | NewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id, const absl::string_view &id, const Topic &_content_) 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_TopicsResource_CreateMethod * google_classroom_api::ClassroomService::CoursesResource::TopicsResource::NewCreateMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | course_id, | ||
const Topic & | _content_ | ||
) | const |
Creates a new CoursesResource_TopicsResource_CreateMethod 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] | <em>content</em> | The data object to create. |
Execute
the method instance, then destroy it when they are finished. CoursesResource_TopicsResource_DeleteMethod * google_classroom_api::ClassroomService::CoursesResource::TopicsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | course_id, | ||
const absl::string_view & | id | ||
) | const |
Creates a new CoursesResource_TopicsResource_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] | id | Identifier of the topic to delete. |
Execute
the method instance, then destroy it when they are finished. CoursesResource_TopicsResource_GetMethod * google_classroom_api::ClassroomService::CoursesResource::TopicsResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | course_id, | ||
const absl::string_view & | id | ||
) | const |
Creates a new CoursesResource_TopicsResource_GetMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | course_id | Identifier of the course. |
[in] | id | Identifier of the topic. |
Execute
the method instance, then destroy it when they are finished. CoursesResource_TopicsResource_ListMethod * google_classroom_api::ClassroomService::CoursesResource::TopicsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | course_id | ||
) | const |
Creates a new CoursesResource_TopicsResource_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_TopicsResource_ListMethodPager * google_classroom_api::ClassroomService::CoursesResource::TopicsResource::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. |
CoursesResource_TopicsResource_PatchMethod * google_classroom_api::ClassroomService::CoursesResource::TopicsResource::NewPatchMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | course_id, | ||
const absl::string_view & | id, | ||
const Topic & | _content_ | ||
) | const |
Creates a new CoursesResource_TopicsResource_PatchMethod 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] | id | Identifier of the topic. |
[in] | <em>content</em> | The data object to patch. |
Execute
the method instance, then destroy it when they are finished.