youtube
v3
|
#include <you_tube_service.h>
Public Member Functions | |
LiveChatBansResource (YouTubeService *service) | |
~LiveChatBansResource () | |
LiveChatBansResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const |
LiveChatBansResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const LiveChatBan &_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.
LiveChatBansResource_DeleteMethod * google_youtube_api::YouTubeService::LiveChatBansResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | id | ||
) | const |
Creates a new LiveChatBansResource_DeleteMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | id | The id parameter identifies the chat ban to remove. The value uniquely identifies both the ban and the chat. |
Execute
the method instance, then destroy it when they are finished. LiveChatBansResource_InsertMethod * google_youtube_api::YouTubeService::LiveChatBansResource::NewInsertMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | part, | ||
const LiveChatBan & | _content_ | ||
) | const |
Creates a new LiveChatBansResource_InsertMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | part | The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. 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.