target.apidocs.com.google.api.services.youtube.YouTube.LiveStreams.html Maven / Gradle / Ivy
YouTube.LiveStreams (YouTube Data API v3 v3-rev20240909-2.0.0)
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 an existing stream for the authenticated user.
YouTube.LiveStreams.Insert
insert(List<String> part,
LiveStream content)
Inserts a new stream for the authenticated user.
YouTube.LiveStreams.List
list(List<String> part)
Retrieve the list of streams associated with the given channel.
YouTube.LiveStreams.Update
update(List<String> part,
LiveStream content)
Updates an existing stream for the authenticated user.
-
-
Method Detail
-
delete
public YouTube.LiveStreams.Delete delete(String id)
throws IOException
Deletes an existing stream for the authenticated user.
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
-
- Returns:
- the request
- Throws:
IOException
-
insert
public YouTube.LiveStreams.Insert insert(List<String> part,
LiveStream content)
throws IOException
Inserts a new stream for the authenticated user.
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,
content_details, and status.
content
- the LiveStream
- Returns:
- the request
- Throws:
IOException
-
list
public YouTube.LiveStreams.List list(List<String> part)
throws IOException
Retrieve the list of streams associated with the given channel. --
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(List<String> part,
LiveStream content)
throws IOException
Updates an existing stream for the authenticated user.
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–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy