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

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






YouTube.CommentThreads (YouTube Data API v3 v3-rev20200618-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(List<String> part,
                                                    CommentThread content)
                                             throws IOException
        Inserts a new resource into this collection. 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(List<String> part)
                                         throws IOException
        Retrieves a list of resources, possibly filtered. 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(List<String> part,
                                                    CommentThread content)
                                             throws IOException
        Updates an existing resource. 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