youtube
v3
|
#include <you_tube_service.h>
Public Member Functions | |
LiveBroadcastsResource (YouTubeService *service) | |
~LiveBroadcastsResource () | |
LiveBroadcastsResource_BindMethod * | NewBindMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id, const absl::string_view &part) const |
LiveBroadcastsResource_ControlMethod * | NewControlMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id, const absl::string_view &part) const |
LiveBroadcastsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const |
LiveBroadcastsResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const LiveBroadcast &_content_) const |
LiveBroadcastsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part) const |
LiveBroadcastsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &part) const |
LiveBroadcastsResource_TransitionMethod * | NewTransitionMethod (client::AuthorizationCredential *_credential_, const absl::string_view &broadcast_status, const absl::string_view &id, const absl::string_view &part) const |
LiveBroadcastsResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &part, const LiveBroadcast &_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.
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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | id | The id parameter specifies the unique ID of the broadcast that is being bound to a video stream. |
[in] | part | The 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. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | id | The id parameter specifies the YouTube live broadcast ID that uniquely identifies the broadcast in which the slate is being updated. |
[in] | part | The 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. |
Execute
the method instance, then destroy it when they are finished. LiveBroadcastsResource_DeleteMethod * google_youtube_api::YouTubeService::LiveBroadcastsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | id | ||
) | const |
Creates a new LiveBroadcastsResource_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 broadcast ID for the resource that is being deleted. |
Execute
the method instance, then destroy it when they are finished. 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.
[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, contentDetails, and status.
[in] | <em>content</em> | The data object to insert. |
Execute
the method instance, then destroy it when they are finished. LiveBroadcastsResource_ListMethod * google_youtube_api::YouTubeService::LiveBroadcastsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | part | ||
) | const |
Creates a new LiveBroadcastsResource_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 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. |
Execute
the method instance, then destroy it when they are finished. 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.
[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 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. |
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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | broadcast_status | The 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] | id | The id parameter specifies the unique ID of the broadcast that is transitioning to another status. |
[in] | part | The 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. |
Execute
the method instance, then destroy it when they are finished. 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.
[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, 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.
[in] | <em>content</em> | The data object to update. |
Execute
the method instance, then destroy it when they are finished.