classroom  v1
Public Member Functions | List of all members
google_classroom_api::ClassroomService::CoursesResource::TopicsResource Class Reference

#include <classroom_service.h>

Public Member Functions

 TopicsResource (ClassroomService *service)
 
 ~TopicsResource ()
 
CoursesResource_TopicsResource_CreateMethodNewCreateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id, const Topic &_content_) const
 
CoursesResource_TopicsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id, const absl::string_view &id) const
 
CoursesResource_TopicsResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id, const absl::string_view &id) const
 
CoursesResource_TopicsResource_ListMethodNewListMethod (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_PatchMethodNewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &course_id, const absl::string_view &id, const Topic &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ TopicsResource()

google_classroom_api::ClassroomService::CoursesResource::TopicsResource::TopicsResource ( ClassroomService service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~TopicsResource()

google_classroom_api::ClassroomService::CoursesResource::TopicsResource::~TopicsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewCreateMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]course_idIdentifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
[in]<em>content</em>The data object to create.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewDeleteMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]course_idIdentifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
[in]idIdentifier of the topic to delete.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]course_idIdentifier of the course.
[in]idIdentifier of the topic.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]course_idIdentifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethodPager()

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.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]course_idIdentifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewPatchMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]course_idIdentifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
[in]idIdentifier of the topic.
[in]<em>content</em>The data object to patch.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

The documentation for this class was generated from the following files: