Class LiveStreamsResource
The "liveStreams" collection of methods.
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class LiveStreamsResourceConstructors
LiveStreamsResource(IClientService)
Constructs a new resource.
Declaration
public LiveStreamsResource(IClientService service)Parameters
| Type | Name | Description | 
|---|---|---|
| IClientService | service | 
Methods
Delete(string)
Deletes an existing stream for the authenticated user.
Declaration
public virtual LiveStreamsResource.DeleteRequest Delete(string id)Parameters
| Type | Name | Description | 
|---|---|---|
| string | id | 
 | 
Returns
| Type | Description | 
|---|---|
| LiveStreamsResource.DeleteRequest | 
Insert(LiveStream, Repeatable<string>)
Inserts a new stream for the authenticated user.
Declaration
public virtual LiveStreamsResource.InsertRequest Insert(LiveStream body, Repeatable<string> part)Parameters
| Type | Name | Description | 
|---|---|---|
| LiveStream | 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, cdn, content_details, and status. | 
Returns
| Type | Description | 
|---|---|
| LiveStreamsResource.InsertRequest | 
List(Repeatable<string>)
Retrieve the list of streams associated with the given channel. --
Declaration
public virtual LiveStreamsResource.ListRequest List(Repeatable<string> part)Parameters
| Type | Name | Description | 
|---|---|---|
| Repeatable<string> | 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. | 
Returns
| Type | Description | 
|---|---|
| LiveStreamsResource.ListRequest | 
Update(LiveStream, Repeatable<string>)
Updates an existing stream for the authenticated user.
Declaration
public virtual LiveStreamsResource.UpdateRequest Update(LiveStream body, Repeatable<string> part)Parameters
| Type | Name | Description | 
|---|---|---|
| LiveStream | 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, 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. | 
Returns
| Type | Description | 
|---|---|
| LiveStreamsResource.UpdateRequest |