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

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

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






YouTube.ChannelBanners (YouTube Data API v3 v3-rev20240417-2.0.0)












com.google.api.services.youtube

Class YouTube.ChannelBanners

  • Enclosing class:
    YouTube


    public class YouTube.ChannelBanners
    extends Object
    The "channelBanners" collection of methods.
    • Constructor Detail

      • ChannelBanners

        public ChannelBanners()
    • Method Detail

      • insert

        public YouTube.ChannelBanners.Insert insert(ChannelBannerResource content)
                                             throws IOException
        Inserts a new resource into this collection. Create a request for the method "channelBanners.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:
        content - the ChannelBannerResource
        Returns:
        the request
        Throws:
        IOException
      • insert

        public YouTube.ChannelBanners.Insert insert(ChannelBannerResource content,
                                                    com.google.api.client.http.AbstractInputStreamContent mediaContent)
                                             throws IOException
        Inserts a new resource into this collection. Create a request for the method "channelBanners.insert". 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.

        This method should be used for uploading media content.

        Parameters:
        content - the ChannelBannerResource media metadata or null if none
        mediaContent - The media HTTP content.
        Returns:
        the request
        Throws:
        IOException - if the initialization of the request fails

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy