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

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

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






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












com.google.api.services.youtube

Class YouTube.Subscriptions

  • Enclosing class:
    YouTube


    public class YouTube.Subscriptions
    extends Object
    The "subscriptions" collection of methods.
    • Constructor Detail

      • Subscriptions

        public Subscriptions()
    • Method Detail

      • delete

        public YouTube.Subscriptions.Delete delete(String id)
                                            throws IOException
        Deletes a resource. Create a request for the method "subscriptions.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 -
        Returns:
        the request
        Throws:
        IOException
      • insert

        public YouTube.Subscriptions.Insert insert(List<String> part,
                                                   Subscription content)
                                            throws IOException
        Inserts a new resource into this collection. Create a request for the method "subscriptions.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 will include.
        content - the Subscription
        Returns:
        the request
        Throws:
        IOException
      • list

        public YouTube.Subscriptions.List list(List<String> part)
                                        throws IOException
        Retrieves a list of resources, possibly filtered. Create a request for the method "subscriptions.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 subscription resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a subscription resource, the snippet property contains other properties, such as a display title for the subscription. If you set *part=snippet*, the API response will also contain all of those nested properties.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy