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

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







YouTube.CommentThreads (YouTube Data API v3-rev20200402-1.30.9)












com.google.api.services.youtube

Class YouTube.CommentThreads

  • Enclosing class:
    YouTube


    public class YouTube.CommentThreads
    extends Object
    The "commentThreads" collection of methods.
    • Constructor Detail

      • CommentThreads

        public CommentThreads()
    • Method Detail

      • insert

        public YouTube.CommentThreads.Insert insert(String part,
                                                    CommentThread content)
                                             throws IOException
        Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead. Create a request for the method "commentThreads.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 identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units.
        content - the CommentThread
        Returns:
        the request
        Throws:
        IOException
      • list

        public YouTube.CommentThreads.List list(String part)
                                         throws IOException
        Returns a list of comment threads that match the API request parameters. Create a request for the method "commentThreads.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 commentThread resource properties that the API response will include.
        Returns:
        the request
        Throws:
        IOException
      • update

        public YouTube.CommentThreads.Update update(String part,
                                                    CommentThread content)
                                             throws IOException
        Modifies the top-level comment in a comment thread. Create a request for the method "commentThreads.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 specifies a comma-separated list of commentThread resource properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update.
        content - the CommentThread
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy