youtube
v3
|
#include <you_tube_service.h>
Public Member Functions | |
CommentsResource (YouTubeService *service) | |
~CommentsResource () | |
CommentsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const |
CommentsResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const Comment &_content_) const |
CommentsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part) const |
CommentsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &part) const |
CommentsResource_MarkAsSpamMethod * | NewMarkAsSpamMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const |
CommentsResource_SetModerationStatusMethod * | NewSetModerationStatusMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id, const absl::string_view &moderation_status) const |
CommentsResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const Comment &_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.
CommentsResource_DeleteMethod * google_youtube_api::YouTubeService::CommentsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | id | ||
) | const |
Creates a new CommentsResource_DeleteMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | id | The id parameter specifies the comment ID for the resource that is being deleted. |
Execute
the method instance, then destroy it when they are finished. CommentsResource_InsertMethod * google_youtube_api::YouTubeService::CommentsResource::NewInsertMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | part, | ||
const Comment & | _content_ | ||
) | const |
Creates a new CommentsResource_InsertMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | part | The part parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units. |
[in] | <em>content</em> | The data object to insert. |
Execute
the method instance, then destroy it when they are finished. CommentsResource_ListMethod * google_youtube_api::YouTubeService::CommentsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | part | ||
) | const |
Creates a new CommentsResource_ListMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | part | The part parameter specifies a comma-separated list of one or more comment resource properties that the API response will include. |
Execute
the method instance, then destroy it when they are finished. CommentsResource_ListMethodPager * google_youtube_api::YouTubeService::CommentsResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_, |
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] | part | The part parameter specifies a comma-separated list of one or more comment resource properties that the API response will include. |
CommentsResource_MarkAsSpamMethod * google_youtube_api::YouTubeService::CommentsResource::NewMarkAsSpamMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | id | ||
) | const |
Creates a new CommentsResource_MarkAsSpamMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | id | The id parameter specifies a comma-separated list of IDs of comments that the caller believes should be classified as spam. |
Execute
the method instance, then destroy it when they are finished. CommentsResource_SetModerationStatusMethod * google_youtube_api::YouTubeService::CommentsResource::NewSetModerationStatusMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | id, | ||
const absl::string_view & | moderation_status | ||
) | const |
Creates a new CommentsResource_SetModerationStatusMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | id | The id parameter specifies a comma-separated list of IDs that identify the comments for which you are updating the moderation status. |
[in] | moderation_status | Identifies the new moderation status of the specified comments. |
Execute
the method instance, then destroy it when they are finished. CommentsResource_UpdateMethod * google_youtube_api::YouTubeService::CommentsResource::NewUpdateMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | part, | ||
const Comment & | _content_ | ||
) | const |
Creates a new CommentsResource_UpdateMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | part | The part parameter identifies the properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update. |
[in] | <em>content</em> | The data object to update. |
Execute
the method instance, then destroy it when they are finished.