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

#include <you_tube_service.h>

Public Member Functions

 LiveStreamsResource (YouTubeService *service)
 
 ~LiveStreamsResource ()
 
LiveStreamsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const
 
LiveStreamsResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const LiveStream &_content_) const
 
LiveStreamsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part) const
 
LiveStreamsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &part) const
 
LiveStreamsResource_UpdateMethodNewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const LiveStream &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ LiveStreamsResource()

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

◆ ~LiveStreamsResource()

google_youtube_api::YouTubeService::LiveStreamsResource::~LiveStreamsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

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

Creates a new LiveStreamsResource_DeleteMethod instance.

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

◆ NewInsertMethod()

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.

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 properties that you can include in the parameter value are id, snippet, cdn, and status.

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

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

Creates a new LiveStreamsResource_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 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethodPager()

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.

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 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.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewUpdateMethod()

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.

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 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.

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: