target.apidocs.com.google.api.services.youtube.YouTube.LiveStreams.html Maven / Gradle / Ivy
YouTube.LiveStreams (YouTube Data API v3-rev20200213-1.30.9)
com.google.api.services.youtube
Class YouTube.LiveStreams
- java.lang.Object
-
- com.google.api.services.youtube.YouTube.LiveStreams
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
YouTube.LiveStreams.Delete
class
YouTube.LiveStreams.Insert
class
YouTube.LiveStreams.List
class
YouTube.LiveStreams.Update
-
Constructor Summary
Constructors
Constructor and Description
LiveStreams()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
YouTube.LiveStreams.Delete
delete(String id)
Deletes a video stream.
YouTube.LiveStreams.Insert
insert(String part,
LiveStream content)
Creates a video stream.
YouTube.LiveStreams.List
list(String part)
Returns a list of video streams that match the API request parameters.
YouTube.LiveStreams.Update
update(String part,
LiveStream content)
Updates a video stream.
-
-
Method Detail
-
delete
public YouTube.LiveStreams.Delete delete(String id)
throws IOException
Deletes a video stream.
Create a request for the method "liveStreams.delete".
This request holds the parameters needed by the youtube server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
id
- The id parameter specifies the YouTube live stream ID for the resource that is being deleted.
- Returns:
- the request
- Throws:
IOException
-
insert
public YouTube.LiveStreams.Insert insert(String part,
LiveStream content)
throws IOException
Creates a video stream. The stream enables you to send your video to YouTube, which can then
broadcast the video to your audience.
Create a request for the method "liveStreams.insert".
This request holds the parameters needed by the youtube server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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
- Returns:
- the request
- Throws:
IOException
-
list
public YouTube.LiveStreams.List list(String part)
throws IOException
Returns a list of video streams that match the API request parameters.
Create a request for the method "liveStreams.list".
This request holds the parameters needed by the youtube server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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:
- the request
- Throws:
IOException
-
update
public YouTube.LiveStreams.Update update(String part,
LiveStream content)
throws IOException
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.
Create a request for the method "liveStreams.update".
This request holds the parameters needed by the youtube server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy