Class LiveBroadcastsResource
The "liveBroadcasts" collection of methods.
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class LiveBroadcastsResource
Constructors
LiveBroadcastsResource(IClientService)
Constructs a new resource.
Declaration
public LiveBroadcastsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Bind(string, Repeatable<string>)
Bind a broadcast to a stream.
Declaration
public virtual LiveBroadcastsResource.BindRequest Bind(string id, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
string | id | Broadcast to bind to the stream |
Repeatable<string> | 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. |
Returns
Type | Description |
---|---|
LiveBroadcastsResource.BindRequest |
Delete(string)
Delete a given broadcast.
Declaration
public virtual LiveBroadcastsResource.DeleteRequest Delete(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | Broadcast to delete. |
Returns
Type | Description |
---|---|
LiveBroadcastsResource.DeleteRequest |
Insert(LiveBroadcast, Repeatable<string>)
Inserts a new stream for the authenticated user.
Declaration
public virtual LiveBroadcastsResource.InsertRequest Insert(LiveBroadcast body, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
LiveBroadcast | body | The body of the request. |
Repeatable<string> | 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. |
Returns
Type | Description |
---|---|
LiveBroadcastsResource.InsertRequest |
InsertCuepoint(Cuepoint)
Insert cuepoints in a broadcast
Declaration
public virtual LiveBroadcastsResource.InsertCuepointRequest InsertCuepoint(Cuepoint body)
Parameters
Type | Name | Description |
---|---|---|
Cuepoint | body | The body of the request. |
Returns
Type | Description |
---|---|
LiveBroadcastsResource.InsertCuepointRequest |
List(Repeatable<string>)
Retrieve the list of broadcasts associated with the given channel.
Declaration
public virtual LiveBroadcastsResource.ListRequest List(Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
Repeatable<string> | 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, status and statistics. |
Returns
Type | Description |
---|---|
LiveBroadcastsResource.ListRequest |
Transition(BroadcastStatusEnum, string, Repeatable<string>)
Transition a broadcast to a given status.
Declaration
public virtual LiveBroadcastsResource.TransitionRequest Transition(LiveBroadcastsResource.TransitionRequest.BroadcastStatusEnum broadcastStatus, string id, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
LiveBroadcastsResource.TransitionRequest.BroadcastStatusEnum | broadcastStatus | The status to which the broadcast is going to transition. |
string | id | Broadcast to transition. |
Repeatable<string> | 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. |
Returns
Type | Description |
---|---|
LiveBroadcastsResource.TransitionRequest |
Update(LiveBroadcast, Repeatable<string>)
Updates an existing broadcast for the authenticated user.
Declaration
public virtual LiveBroadcastsResource.UpdateRequest Update(LiveBroadcast body, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
LiveBroadcast | body | The body of the request. |
Repeatable<string> | 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. |
Returns
Type | Description |
---|---|
LiveBroadcastsResource.UpdateRequest |