Beispiel #1
0
 /// <summary>Updates a video stream. If the properties that you want to change cannot be updated, then you need
 /// to create a new stream with the proper settings.</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="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.</param>
 public virtual LiveStreamsResource.UpdateRequest Update(LiveStream body, string part)
 {
     return(new LiveStreamsResource.UpdateRequest(this.service, body, part));
 }
Beispiel #2
0
 /// <summary>Creates a video stream. The stream enables you to send your video to YouTube, which can then
 /// broadcast the video to your audience.</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="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.</param>
 public virtual LiveStreamsResource.InsertRequest Insert(LiveStream body, string part)
 {
     return(new LiveStreamsResource.InsertRequest(this.service, body, part));
 }