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

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







YouTube.Comments.SetModerationStatus (YouTube Data API v3-rev20190415-1.28.0)












com.google.api.services.youtube

Class YouTube.Comments.SetModerationStatus

    • Constructor Detail

      • SetModerationStatus

        protected SetModerationStatus(String id,
                                      String moderationStatus)
        Sets the moderation status of one or more comments. The API request must be authorized by the owner of the channel or video associated with the comments. Create a request for the method "comments.setModerationStatus". This request holds the parameters needed by the the youtube server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

        SetModerationStatus#initialize(com.google.api.client.googleapis.services. AbstractGoogleClientRequest) must be called to initialize this instance immediately after invoking the constructor.

        Parameters:
        id - The id parameter specifies a comma-separated list of IDs that identify the comments for which you are updating the moderation status.
        moderationStatus - Identifies the new moderation status of the specified comments.
        Since:
        1.13

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy