youtube  v3
Public Member Functions | List of all members
google_youtube_api::YouTubeService::LiveChatMessagesResource Class Reference

#include <you_tube_service.h>

Public Member Functions

 LiveChatMessagesResource (YouTubeService *service)
 
 ~LiveChatMessagesResource ()
 
LiveChatMessagesResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const
 
LiveChatMessagesResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const LiveChatMessage &_content_) const
 
LiveChatMessagesResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &live_chat_id, const absl::string_view &part) const
 
LiveChatMessagesResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &live_chat_id, const absl::string_view &part) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ LiveChatMessagesResource()

google_youtube_api::YouTubeService::LiveChatMessagesResource::LiveChatMessagesResource ( YouTubeService 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.

◆ ~LiveChatMessagesResource()

google_youtube_api::YouTubeService::LiveChatMessagesResource::~LiveChatMessagesResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

LiveChatMessagesResource_DeleteMethod * google_youtube_api::YouTubeService::LiveChatMessagesResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  id 
) const

Creates a new LiveChatMessagesResource_DeleteMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]idThe id parameter specifies the YouTube chat message ID of the resource that is being deleted.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

LiveChatMessagesResource_InsertMethod * google_youtube_api::YouTubeService::LiveChatMessagesResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  part,
const LiveChatMessage _content_ 
) const

Creates a new LiveChatMessagesResource_InsertMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]partThe part parameter serves two purposes. It identifies the properties that the write operation will set as well as the properties that the API response will include. Set the parameter value to snippet.
[in]<em>content</em>The data object to insert.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

LiveChatMessagesResource_ListMethod * google_youtube_api::YouTubeService::LiveChatMessagesResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  live_chat_id,
const absl::string_view &  part 
) const

Creates a new LiveChatMessagesResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]live_chat_idThe liveChatId parameter specifies the ID of the chat whose messages will be returned.
[in]partThe part parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethodPager()

LiveChatMessagesResource_ListMethodPager * google_youtube_api::YouTubeService::LiveChatMessagesResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  live_chat_id,
const absl::string_view &  part 
) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]live_chat_idThe liveChatId parameter specifies the ID of the chat whose messages will be returned.
[in]partThe part parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet.
See also
googleapis::googleapis::ServiceRequestPager

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