youtube
v3
|
#include <you_tube_service.h>
Public Member Functions | |
ChannelSectionsResource (YouTubeService *service) | |
~ChannelSectionsResource () | |
ChannelSectionsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const |
ChannelSectionsResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const ChannelSection &_content_) const |
ChannelSectionsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part) const |
ChannelSectionsResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const ChannelSection &_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.
ChannelSectionsResource_DeleteMethod * google_youtube_api::YouTubeService::ChannelSectionsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | id | ||
) | const |
Creates a new ChannelSectionsResource_DeleteMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | id | The 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. |
Execute
the method instance, then destroy it when they are finished. 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.
[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. |
The part names that you can include in the parameter value are snippet and contentDetails.
[in] | <em>content</em> | The data object to insert. |
Execute
the method instance, then destroy it when they are finished. ChannelSectionsResource_ListMethod * google_youtube_api::YouTubeService::ChannelSectionsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | part | ||
) | const |
Creates a new ChannelSectionsResource_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 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.
Execute
the method instance, then destroy it when they are finished. 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.
[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. |
The part names that you can include in the parameter value are snippet and contentDetails.
[in] | <em>content</em> | The data object to update. |
Execute
the method instance, then destroy it when they are finished.