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

#include <you_tube_service.h>

Public Member Functions

 LiveBroadcastsResource (YouTubeService *service)
 
 ~LiveBroadcastsResource ()
 
LiveBroadcastsResource_BindMethodNewBindMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id, const absl::string_view &part) const
 
LiveBroadcastsResource_ControlMethodNewControlMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id, const absl::string_view &part) const
 
LiveBroadcastsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const
 
LiveBroadcastsResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const LiveBroadcast &_content_) const
 
LiveBroadcastsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part) const
 
LiveBroadcastsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &part) const
 
LiveBroadcastsResource_TransitionMethodNewTransitionMethod (client::AuthorizationCredential *_credential_, const absl::string_view &broadcast_status, const absl::string_view &id, const absl::string_view &part) const
 
LiveBroadcastsResource_UpdateMethodNewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const LiveBroadcast &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ LiveBroadcastsResource()

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

◆ ~LiveBroadcastsResource()

google_youtube_api::YouTubeService::LiveBroadcastsResource::~LiveBroadcastsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewBindMethod()

LiveBroadcastsResource_BindMethod * google_youtube_api::YouTubeService::LiveBroadcastsResource::NewBindMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  id,
const absl::string_view &  part 
) const

Creates a new LiveBroadcastsResource_BindMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]idThe id parameter specifies the unique ID of the broadcast that is being bound to a video stream.
[in]partThe part parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewControlMethod()

LiveBroadcastsResource_ControlMethod * google_youtube_api::YouTubeService::LiveBroadcastsResource::NewControlMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  id,
const absl::string_view &  part 
) const

Creates a new LiveBroadcastsResource_ControlMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]idThe id parameter specifies the YouTube live broadcast ID that uniquely identifies the broadcast in which the slate is being updated.
[in]partThe part parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewDeleteMethod()

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

Creates a new LiveBroadcastsResource_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 broadcast ID for the resource that is being deleted.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

LiveBroadcastsResource_InsertMethod * google_youtube_api::YouTubeService::LiveBroadcastsResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  part,
const LiveBroadcast _content_ 
) const

Creates a new LiveBroadcastsResource_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, contentDetails, 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()

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

Creates a new LiveBroadcastsResource_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 liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethodPager()

LiveBroadcastsResource_ListMethodPager * google_youtube_api::YouTubeService::LiveBroadcastsResource::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 liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewTransitionMethod()

LiveBroadcastsResource_TransitionMethod * google_youtube_api::YouTubeService::LiveBroadcastsResource::NewTransitionMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  broadcast_status,
const absl::string_view &  id,
const absl::string_view &  part 
) const

Creates a new LiveBroadcastsResource_TransitionMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]broadcast_statusThe broadcastStatus parameter identifies the state to which the broadcast is changing. Note that to transition a broadcast to either the testing or live state, the status.streamStatus must be active for the stream that the broadcast is bound to.
[in]idThe id parameter specifies the unique ID of the broadcast that is transitioning to another status.
[in]partThe part parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewUpdateMethod()

LiveBroadcastsResource_UpdateMethod * google_youtube_api::YouTubeService::LiveBroadcastsResource::NewUpdateMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  part,
const LiveBroadcast _content_ 
) const

Creates a new LiveBroadcastsResource_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, contentDetails, 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. For example, a broadcast's privacy status is defined in the status part. As such, if your request is updating a private or unlisted broadcast, and the request's part parameter value includes the status part, the broadcast's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the broadcast will revert to the default privacy setting.

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: