youtube
v3
|
#include <you_tube_service.h>
Public Member Functions | |
LiveStreamsResource (YouTubeService *service) | |
~LiveStreamsResource () | |
LiveStreamsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const |
LiveStreamsResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const LiveStream &_content_) const |
LiveStreamsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part) const |
LiveStreamsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &part) const |
LiveStreamsResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const LiveStream &_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.
LiveStreamsResource_DeleteMethod * google_youtube_api::YouTubeService::LiveStreamsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | id | ||
) | const |
Creates a new LiveStreamsResource_DeleteMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | id | The id parameter specifies the YouTube live stream ID for the resource that is being deleted. |
Execute
the method instance, then destroy it when they are finished. LiveStreamsResource_InsertMethod * google_youtube_api::YouTubeService::LiveStreamsResource::NewInsertMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | part, | ||
const LiveStream & | _content_ | ||
) | const |
Creates a new LiveStreamsResource_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 properties that you can include in the parameter value are id, snippet, cdn, and status.
[in] | <em>content</em> | The data object to insert. |
Execute
the method instance, then destroy it when they are finished. LiveStreamsResource_ListMethod * google_youtube_api::YouTubeService::LiveStreamsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | part | ||
) | const |
Creates a new LiveStreamsResource_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 liveStream resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, cdn, and status. |
Execute
the method instance, then destroy it when they are finished. LiveStreamsResource_ListMethodPager * google_youtube_api::YouTubeService::LiveStreamsResource::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 liveStream resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, cdn, and status. |
LiveStreamsResource_UpdateMethod * google_youtube_api::YouTubeService::LiveStreamsResource::NewUpdateMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | part, | ||
const LiveStream & | _content_ | ||
) | const |
Creates a new LiveStreamsResource_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 properties that you can include in the parameter value are id, snippet, cdn, and status.
Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. If the request body does not specify a value for a mutable property, the existing value for that property will be removed.
[in] | <em>content</em> | The data object to update. |
Execute
the method instance, then destroy it when they are finished.