youtube
v3
|
#include <you_tube_service.h>
Public Member Functions | |
SubscriptionsResource (YouTubeService *service) | |
~SubscriptionsResource () | |
SubscriptionsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const |
SubscriptionsResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const Subscription &_content_) const |
SubscriptionsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part) const |
SubscriptionsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, 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.
SubscriptionsResource_DeleteMethod * google_youtube_api::YouTubeService::SubscriptionsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | id | ||
) | const |
Creates a new SubscriptionsResource_DeleteMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | id | The id parameter specifies the YouTube subscription ID for the resource that is being deleted. In a subscription resource, the id property specifies the YouTube subscription ID. |
Execute
the method instance, then destroy it when they are finished. SubscriptionsResource_InsertMethod * google_youtube_api::YouTubeService::SubscriptionsResource::NewInsertMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | part, | ||
const Subscription & | _content_ | ||
) | const |
Creates a new SubscriptionsResource_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 will include. |
[in] | <em>content</em> | The data object to insert. |
Execute
the method instance, then destroy it when they are finished. SubscriptionsResource_ListMethod * google_youtube_api::YouTubeService::SubscriptionsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | part | ||
) | const |
Creates a new SubscriptionsResource_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 subscription resource properties that the API response will include. |
If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a subscription resource, the snippet property contains other properties, such as a display title for the subscription. If you set part=snippet, the API response will also contain all of those nested properties.
Execute
the method instance, then destroy it when they are finished. SubscriptionsResource_ListMethodPager * google_youtube_api::YouTubeService::SubscriptionsResource::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 subscription resource properties that the API response will include. |
If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a subscription resource, the snippet property contains other properties, such as a display title for the subscription. If you set part=snippet, the API response will also contain all of those nested properties.