public class YouTube.LiveStreams
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
YouTube.LiveStreams.Delete |
class |
YouTube.LiveStreams.Insert |
class |
YouTube.LiveStreams.List |
class |
YouTube.LiveStreams.Update |
Constructor and Description |
---|
YouTube.LiveStreams() |
Modifier and Type | Method and Description |
---|---|
YouTube.LiveStreams.Delete |
delete(java.lang.String id)
Deletes a video stream.
|
YouTube.LiveStreams.Insert |
insert(java.lang.String part,
LiveStream content)
Creates a video stream.
|
YouTube.LiveStreams.List |
list(java.lang.String part)
Returns a list of video streams that match the API request parameters.
|
YouTube.LiveStreams.Update |
update(java.lang.String part,
LiveStream content)
Updates a video stream.
|
public YouTube.LiveStreams.Delete delete(java.lang.String id) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.id
- The id parameter specifies the YouTube live stream ID for the resource that is being deleted.java.io.IOException
public YouTube.LiveStreams.Insert insert(java.lang.String part, LiveStream content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.content
- the LiveStream
java.io.IOException
public YouTube.LiveStreams.List list(java.lang.String part) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.java.io.IOException
public YouTube.LiveStreams.Update update(java.lang.String part, LiveStream content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.content
- the LiveStream
java.io.IOException