classroom  v1
Classes | Public Member Functions | List of all members
google_classroom_api::ClassroomService::UserProfilesResource Class Reference

#include <classroom_service.h>

Classes

class  GuardianInvitationsResource
 
class  GuardiansResource
 

Public Member Functions

 UserProfilesResource (ClassroomService *service)
 
 ~UserProfilesResource ()
 
const GuardianInvitationsResourceget_guardian_invitations () const
 
const GuardiansResourceget_guardians () const
 
UserProfilesResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &user_id) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ UserProfilesResource()

google_classroom_api::ClassroomService::UserProfilesResource::UserProfilesResource ( 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.

◆ ~UserProfilesResource()

google_classroom_api::ClassroomService::UserProfilesResource::~UserProfilesResource ( )
inline

Standard destructor.

Member Function Documentation

◆ get_guardian_invitations()

const GuardianInvitationsResource& google_classroom_api::ClassroomService::UserProfilesResource::get_guardian_invitations ( ) const
inline

Gets the guardianInvitations resource method factory.

Returns
GuardianInvitationsResource for creating methods.

◆ get_guardians()

const GuardiansResource& google_classroom_api::ClassroomService::UserProfilesResource::get_guardians ( ) const
inline

Gets the guardians resource method factory.

Returns
GuardiansResource for creating methods.

◆ NewGetMethod()

UserProfilesResource_GetMethod * google_classroom_api::ClassroomService::UserProfilesResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  user_id 
) const

Creates a new UserProfilesResource_GetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]user_idIdentifier of the profile to return. The identifier can be one of the following:
  • the numeric identifier for the user
  • the email address of the user
  • the string literal "me", indicating the requesting user.
    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: