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

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

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






YouTube.ThirdPartyLinks (YouTube Data API v3 v3-rev20240909-2.0.0)












com.google.api.services.youtube

Class YouTube.ThirdPartyLinks

  • Enclosing class:
    YouTube


    public class YouTube.ThirdPartyLinks
    extends Object
    The "thirdPartyLinks" collection of methods.
    • Constructor Detail

      • ThirdPartyLinks

        public ThirdPartyLinks()
    • Method Detail

      • delete

        public YouTube.ThirdPartyLinks.Delete delete(String linkingToken,
                                                     String type)
                                              throws IOException
        Deletes a resource. Create a request for the method "thirdPartyLinks.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:
        linkingToken - Delete the partner links with the given linking token.
        type - Type of the link to be deleted.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public YouTube.ThirdPartyLinks.Insert insert(List<String> part,
                                                     ThirdPartyLink content)
                                              throws IOException
        Inserts a new resource into this collection. Create a request for the method "thirdPartyLinks.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 specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet.
        content - the ThirdPartyLink
        Returns:
        the request
        Throws:
        IOException
      • list

        public YouTube.ThirdPartyLinks.List list(List<String> part)
                                          throws IOException
        Retrieves a list of resources, possibly filtered. Create a request for the method "thirdPartyLinks.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 the thirdPartyLink resource parts that the API response will include. Supported values are linkingToken, status, and snippet.
        Returns:
        the request
        Throws:
        IOException
      • update

        public YouTube.ThirdPartyLinks.Update update(List<String> part,
                                                     ThirdPartyLink content)
                                              throws IOException
        Updates an existing resource. Create a request for the method "thirdPartyLinks.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 the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet.
        content - the ThirdPartyLink
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy