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

#include <you_tube_service.h>

Public Member Functions

 SubscriptionsResource (YouTubeService *service)
 
 ~SubscriptionsResource ()
 
SubscriptionsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const
 
SubscriptionsResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const Subscription &_content_) const
 
SubscriptionsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part) const
 
SubscriptionsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &part) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ SubscriptionsResource()

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

◆ ~SubscriptionsResource()

google_youtube_api::YouTubeService::SubscriptionsResource::~SubscriptionsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

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

Creates a new SubscriptionsResource_DeleteMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]idThe 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]partThe 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

SubscriptionsResource_ListMethod * google_youtube_api::YouTubeService::SubscriptionsResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  part 
) const

Creates a new SubscriptionsResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]partThe 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.

Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethodPager()

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.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]partThe 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.

See also
googleapis::googleapis::ServiceRequestPager

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