All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.youtube.YouTube.LiveStreams.html Maven / Gradle / Ivy

There is a newer version: v3-rev20241105-2.0.0
Show newest version






YouTube.LiveStreams (YouTube Data API v3 v3-rev20240909-2.0.0)












com.google.api.services.youtube

Class YouTube.LiveStreams

  • Enclosing class:
    YouTube


    public class YouTube.LiveStreams
    extends Object
    The "liveStreams" collection of methods.
    • Constructor Detail

      • LiveStreams

        public LiveStreams()
    • 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