target.apidocs.com.google.api.services.youtube.YouTube.ThirdPartyLinks.html Maven / Gradle / Ivy
YouTube.ThirdPartyLinks (YouTube Data API v3 v3-rev20240909-2.0.0)
com.google.api.services.youtube
Class YouTube.ThirdPartyLinks
- java.lang.Object
-
- com.google.api.services.youtube.YouTube.ThirdPartyLinks
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
YouTube.ThirdPartyLinks.Delete
class
YouTube.ThirdPartyLinks.Insert
class
YouTube.ThirdPartyLinks.List
class
YouTube.ThirdPartyLinks.Update
-
Constructor Summary
Constructors
Constructor and Description
ThirdPartyLinks()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
YouTube.ThirdPartyLinks.Delete
delete(String linkingToken,
String type)
Deletes a resource.
YouTube.ThirdPartyLinks.Insert
insert(List<String> part,
ThirdPartyLink content)
Inserts a new resource into this collection.
YouTube.ThirdPartyLinks.List
list(List<String> part)
Retrieves a list of resources, possibly filtered.
YouTube.ThirdPartyLinks.Update
update(List<String> part,
ThirdPartyLink content)
Updates an existing resource.
-
-
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