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

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







YouTube.LiveChatModerators (YouTube Data API v3-rev20200213-1.30.9)












com.google.api.services.youtube

Class YouTube.LiveChatModerators

  • Enclosing class:
    YouTube


    public class YouTube.LiveChatModerators
    extends Object
    The "liveChatModerators" collection of methods.
    • Constructor Detail

      • LiveChatModerators

        public LiveChatModerators()
    • Method Detail

      • delete

        public YouTube.LiveChatModerators.Delete delete(String id)
                                                 throws IOException
        Removes a chat moderator. Create a request for the method "liveChatModerators.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 identifies the chat moderator to remove. The value uniquely identifies both the moderator and the chat.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public YouTube.LiveChatModerators.Insert insert(String part,
                                                        LiveChatModerator content)
                                                 throws IOException
        Adds a new moderator for the chat. Create a request for the method "liveChatModerators.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 returns. Set the parameter value to snippet.
        content - the LiveChatModerator
        Returns:
        the request
        Throws:
        IOException
      • list

        public YouTube.LiveChatModerators.List list(String liveChatId,
                                                    String part)
                                             throws IOException
        Lists moderators for a live chat. Create a request for the method "liveChatModerators.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:
        liveChatId - The liveChatId parameter specifies the YouTube live chat for which the API should return moderators.
        part - The part parameter specifies the liveChatModerator resource parts that the API response will include. Supported values are id and snippet.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy