youtube
v3
|
#include <you_tube_service.h>
Public Member Functions | |
LiveChatMessagesResource (YouTubeService *service) | |
~LiveChatMessagesResource () | |
LiveChatMessagesResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const |
LiveChatMessagesResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const LiveChatMessage &_content_) const |
LiveChatMessagesResource_ListMethod * | NewListMethod (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 |
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.
LiveChatMessagesResource_DeleteMethod * google_youtube_api::YouTubeService::LiveChatMessagesResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | id | ||
) | const |
Creates a new LiveChatMessagesResource_DeleteMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | id | The id parameter specifies the YouTube chat message ID of the resource that is being deleted. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | part | The 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. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | live_chat_id | The liveChatId parameter specifies the ID of the chat whose messages will be returned. |
[in] | part | The part parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
[in] | live_chat_id | The liveChatId parameter specifies the ID of the chat whose messages will be returned. |
[in] | part | The part parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet. |