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

#include <you_tube_service.h>

Public Member Functions

 ChannelSectionsResource (YouTubeService *service)
 
 ~ChannelSectionsResource ()
 
ChannelSectionsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const
 
ChannelSectionsResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const ChannelSection &_content_) const
 
ChannelSectionsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part) const
 
ChannelSectionsResource_UpdateMethodNewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const ChannelSection &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ ChannelSectionsResource()

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

◆ ~ChannelSectionsResource()

google_youtube_api::YouTubeService::ChannelSectionsResource::~ChannelSectionsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

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

Creates a new ChannelSectionsResource_DeleteMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]idThe id parameter specifies the YouTube channelSection ID for the resource that is being deleted. In a channelSection resource, the id property specifies the YouTube channelSection ID.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

ChannelSectionsResource_InsertMethod * google_youtube_api::YouTubeService::ChannelSectionsResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  part,
const ChannelSection _content_ 
) const

Creates a new ChannelSectionsResource_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.

The part names that you can include in the parameter value are snippet and contentDetails.

Parameters
[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()

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

Creates a new ChannelSectionsResource_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 channelSection resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and contentDetails.

If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channelSection resource, the snippet property contains other properties, such as a display title for the channelSection. 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.

◆ NewUpdateMethod()

ChannelSectionsResource_UpdateMethod * google_youtube_api::YouTubeService::ChannelSectionsResource::NewUpdateMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  part,
const ChannelSection _content_ 
) const

Creates a new ChannelSectionsResource_UpdateMethod 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.

The part names that you can include in the parameter value are snippet and contentDetails.

Parameters
[in]<em>content</em>The data object to update.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

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